You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Shazron Abdullah (JIRA)" <ji...@apache.org> on 2013/06/28 21:06:20 UTC

[jira] [Commented] (CB-4037) Unable to Archive iOS projects for upload to App Store in 2.9

    [ https://issues.apache.org/jira/browse/CB-4037?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13695683#comment-13695683 ] 

Shazron Abdullah commented on CB-4037:
--------------------------------------

Confirmed. May be related to the Build Settings changes recently.
                
> Unable to Archive iOS projects for upload to App Store in 2.9
> -------------------------------------------------------------
>
>                 Key: CB-4037
>                 URL: https://issues.apache.org/jira/browse/CB-4037
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: iOS
>    Affects Versions: 2.9.0
>         Environment: OS X 10.8.2, XCode 4.6.3
>            Reporter: BJ Terry
>            Assignee: Shazron Abdullah
>             Fix For: 3.0.0
>
>
> 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)
> This issue was also found by a user on Stack Overflow: http://stackoverflow.com/questions/17351446/building-an-archive-for-xcode-4-6-release-with-phonegap-v-2-9-fails 

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira