libCordova.a file missing in PhoneGap 2.9

后端 未结 5 1514
小蘑菇
小蘑菇 2020-12-14 09:09

Can you plz help me? I am using XCode version 4.6.3 and phonegap version 2.9. The project is running fine in Simulator but when I want to make a IPA file, it always build fa

5条回答
  •  情话喂你
    2020-12-14 09:38

    In addition to several other suggestions & post, I found that I was experiencing this problem on my AdHoc builds only.

    The problem for me was the the CordovaLib subproject did not have an AdHoc configuration. Once I added an "AdHoc" configuration to the CordovaLib subproject, this started working.

    enter image description here

    Please note that I figured this out during debugging because if I set the Edit Scheme > Archive build configuration to "release" it would work OK, but if set to AdHoc it would give me a link error, telling me that this file could not be found:

    /Users/jason/Library/Developer/Xcode/DerivedData/MommyNearest-ceourmykvgxdekbkmzenuvhcfnzk/Build/Intermediates/ArchiveIntermediates/MommyNearest/BuildProductsPath/Adhoc-iphoneos/libCordova.a

提交回复
热议问题