Strange issue after upgrading to iOS 4.1 SDK

后端 未结 3 1295
攒了一身酷
攒了一身酷 2020-12-02 11:21

I\'ve upgraded the iOS SDK to the newly released 4.1 and now I have the following error while building my app:

/DeveloperBeta/Platforms/iPhoneSimulator.pla         


        
3条回答
  •  野趣味
    野趣味 (楼主)
    2020-12-02 12:24

    This is a known bug with the iOS 4.1 SDK and building using LLVM for the iPhone Simulator. You can read all about it in this thread on Apple's Developer Forums.

    The recommended solution is to add the following to Other C Flags in your project's build settings: -D__IPHONE_OS_VERSION_MIN_REQUIRED=040100 where you replace 040100 with your deployment target version (030000 for 3.0, for example).

提交回复
热议问题