xcode 5.1: libCordova.a architecture problems

后端 未结 8 1339
说谎
说谎 2020-12-02 05:48

Yesterday (3/10/14) when iOS 7.1 was released I also upgraded to Xcode 5.1 and found that my PhoneGap/Cordova project would no longer compile to my iPhone 5s. I also upgrade

8条回答
  •  忘掉有多难
    2020-12-02 06:52

    Another approach that works:

    1. Click on your project at the top of the project navigator (not the Cordova.lib subproject).
    2. In the editor pane, select the project (not the target), select the Build Settings editor tab, and click the All and Levels buttons.
    3. Expand the Architectures group if necessary and find the Architectures row under it.
    4. The first (resolved) and third (iOS Default) columns in the Architecture row will say Standard; the second (project) column will be blank.
    5. Click on the blank second column to bring up a box that will have one line, “$(ARCHS_STANDARD)”.
    6. Double-click that line to make it editable, then change it to read “$(ARCHS_STANDARD_32_BIT)”.
    7. Click outside the box to confirm your change. Now the first and second boxes will just have a $ in them.
    8. Now you should be able to build.

提交回复
热议问题