Not able to build my project on xcode 4.2

前端 未结 4 1683
南方客
南方客 2021-01-21 09:14

I have upgraded my xcode to 4.2 (using snow leopard).Previously i was using Xcode 3.2.6 and my project build successfully with it. Now I\'m unable to build it, instead Xcode emi

4条回答
  •  渐次进展
    2021-01-21 09:51

    The first error means the linker (ld) in Xcode 4.2 encountered an option (-A) that is no longer supported.

    If you no longer need to build the same Xcode project in Xcode 3.2.6 then

    1. check your Project's Build Settings to ensure you don't have '-A' specified Linking section of Build Settings.
    2. click on the "Validate Settings" button enter image description here to identify any other project settings that may cause problem.

    Your second error may be caused by Xcode 4.2 defaulting to armv7 build architecture that is unlisted your Xcode project (because it was built using Xcode 3.2.6). If you need to build binaries for armv6, then add that to your build architecture list.

提交回复
热议问题