2019独角兽企业重金招聘Python工程师标准>>>
Unable to Archive Xcode projects with Cordova 2.9
The problem solve here: https://issues.apache.org/jira/browse/CB-4037
or ..
The error:
When trying to "Archive" any project to upload to the App Store, including just the Hello World project in XCode, one receives the linker error below. The app builds fine for running on the simulator or the device however. Reverting my project to 2.8.1 or using the Hello World project from 2.8.1 does not have this error.
Ld /Users/bjterry/Library/Developer/Xcode/DerivedData/sample-gpxssjuplfsqhrfazbpzoydbgzci/Build/Intermediates/ArchiveIntermediates/sample/IntermediateBuildFilesPath/sample.build/Release-iphoneos/sample.build/Objects-normal/armv7/sample normal armv7
cd /Users/bjterry/Projects/sample-2.9
setenv IPHONEOS_DEPLOYMENT_TARGET 5.0
setenv PATH "/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin:/Applications/Xcode.app/Contents/Developer/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin"
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -arch armv7 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS6.1.sdk -L/Users/bjterry/Library/Developer/Xcode/DerivedData/sample-gpxssjuplfsqhrfazbpzoydbgzci/Build/Intermediates/ArchiveIntermediates/sample/BuildProductsPath/Release-iphoneos -F/Users/bjterry/Library/Developer/Xcode/DerivedData/sample-gpxssjuplfsqhrfazbpzoydbgzci/Build/Intermediates/ArchiveIntermediates/sample/BuildProductsPath/Release-iphoneos -filelist /Users/bjterry/Library/Developer/Xcode/DerivedData/sample-gpxssjuplfsqhrfazbpzoydbgzci/Build/Intermediates/ArchiveIntermediates/sample/IntermediateBuildFilesPath/sample.build/Release-iphoneos/sample.build/Objects-normal/armv7/sample.LinkFileList -dead_strip -weak_framework CoreFoundation -weak_framework UIKit -weak_framework AVFoundation -weak_framework CoreMedia -weak-lSystem -force_load /Users/bjterry/Library/Developer/Xcode/DerivedData/sample-gpxssjuplfsqhrfazbpzoydbgzci/Build/Intermediates/ArchiveIntermediates/sample/InstallationBuildProductsLocation/Applications/libCordova.a -ObjC -fobjc-link-runtime -miphoneos-version-min=5.0 -framework CoreLocation -framework ImageIO -framework OpenAL -framework AssetsLibrary /Users/bjterry/Library/Developer/Xcode/DerivedData/sample-gpxssjuplfsqhrfazbpzoydbgzci/Build/Intermediates/ArchiveIntermediates/sample/BuildProductsPath/Release-iphoneos/libCordova.a -framework Foundation -weak_framework UIKit -framework CoreGraphics -framework AddressBook -framework AddressBookUI -framework AudioToolbox -weak_framework AVFoundation -framework CFNetwork -framework MediaPlayer -framework QuartzCore -framework SystemConfiguration -framework MobileCoreServices -weak_framework CoreMedia -framework CoreLocation -o /Users/bjterry/Library/Developer/Xcode/DerivedData/sample-gpxssjuplfsqhrfazbpzoydbgzci/Build/Intermediates/ArchiveIntermediates/sample/IntermediateBuildFilesPath/sample.build/Release-iphoneos/sample.build/Objects-normal/armv7/sample
ld: file not found: /Users/bjterry/Library/Developer/Xcode/DerivedData/sample-gpxssjuplfsqhrfazbpzoydbgzci/Build/Intermediates/ArchiveIntermediates/sample/InstallationBuildProductsLocation/Applications/libCordova.a
clang: error: linker command failed with exit code 1 (use -v to see invocation)
3. Change "$(TARGET_BUILD_DIR)/libCordova.a"
3. To "$(BUILT_PRODUCTS_DIR)/libCordova.a"
-- You received this message because you are subscribed to the Google
Groups "phonegap" group.
To post to this group, send email to phonegap-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
To unsubscribe from this group, send email to
phonegap+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
For more options, visit this group at
http://groups.google.com/group/phonegap?hl=en?hl=en
For more info on PhoneGap or to download the code go to www.phonegap.com
To compile in the cloud, check out build.phonegap.com
---
You received this message because you are subscribed to the Google Groups "phonegap" group.
To unsubscribe from this group and stop receiving emails from it, send an email to phonegap+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
For more options, visit https://groups.google.com/groups/opt_out.