You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Carlos Santana (JIRA)" <ji...@apache.org> on 2013/07/11 21:53:49 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=13706156#comment-13706156 ] 

Carlos Santana commented on CB-4037:
------------------------------------

I was able to replicate with with Cordova CLI 2.9.2


cordova -v
2.9.2
cordova create HelloWorld com.example.hello HelloHello
cd HelloWorld/
cordova platform add ios
cordova build ios

https://www.evernote.com/shard/s34/sh/5fb603a3-d7f5-49ff-a20a-c80a1fc02281/6f965b02005124996fad06c67bfd31a9

https://www.evernote.com/shard/s34/sh/119653b1-5408-4f59-b16e-76d63eb71aba/e608e207003d140e60a02932591aec52

Where is the xcode project template located when using cordova cli?

I searched in:
/usr/local/lib/node_modules/cordova/

I can't find it
                
> 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