ARC App Crashes when accessing @property form ARC static lib

前端 未结 1 826
盖世英雄少女心
盖世英雄少女心 2021-02-08 22:12

I have a ARC (automatic-reference-counting) app that builds a static library (also ARC). The app will launch fine but when the an action is performed that reads or writes to a @

1条回答
  •  野趣味
    野趣味 (楼主)
    2021-02-08 22:40

    The app's Base SDK was set to iOS 6 and iOS Deployment Target was set to iOS 5.0 however for the static library both the Base SDK & iOS Deployment Target were set to iOS 6.

    Making sure the Base SDK & iOS Deployment Target matched in the app and library solved this problem.

    0 讨论(0)
提交回复
热议问题