Reputation: 97
I'm using Cordova PhoneGap for iOS. Everything works fine in device. When i use archive for app store, in Project setting i used duplicate of release and change to Distribution. I'm getting linker error. When i remove the Distribution the archive is working. Is i need to set Distribution? or release is enough? I'm getting below error while using Distribution:
ld: file not found: /Users/gv/Library/Developer/Xcode/DerivedData/peeq-gylybvwifdxjmtajtbvdsdpjcvkl/Build/Intermediates/ArchiveIntermediates/gv/InstallationBuildProductsLocation/Applications/libCordova.a
clang: error: linker command failed with exit code 1 (use -v to see invocation)'
Upvotes: 0
Views: 29
Reputation: 13783
No need to duplicate the release settings and rename it to Distribution. Just use release and it is fine to upload to the App Store.
Upvotes: 1