Xcode 5 and phonegap: linker errors on building for device but not for simulator

后端 未结 3 968
轮回少年
轮回少年 2021-01-02 07:12

Our phonegap app builds fine for the iphone simulator but generates linker errors when building the app on an iphone. the only thing that changed was installing testflight a

3条回答
  •  无人及你
    2021-01-02 07:51

    Sorry if this might seem like a trite answer, but the following steps are usually what I always do when I see linker errors :

    • Ensure your code is up to date, with all the latest fixes and versions.
    • Make sure you update your submodules. In git : git submodule update --init --recursive
    • Please do a Clean Build Folder : Go to Product, Hover on Clean and press together (Command + Option) and click on "Clean Build Folder".

    Rinse and Repeat.

    In case you have any modules that are not being references correctly, head over to your Build Phases, REMOVE the modules that are troubling you and re-add them.

提交回复
热议问题