Error: El Info.plist en el package debe contener la key CFBundleIdentifier

Estoy intentando enviar mi aplicación para iPhone usando el altool. Sin embargo, se solicita el siguiente error:

altool[18508:507] *** Error: ( "Error Domain=ITunesConnectFoundationErrorDomain Code=-27000 \"The Info.plist in the package must contain the CFBundleIdentifier key.\" UserInfo=0x7f {NSLocalizedDescription=The Info.plist in the package must contain the CFBundleIdentifier key., NSLocalizedFailureReason=Unable to validate your application.}", "Error Domain=ITunesConnectFoundationErrorDomain Code=-27001 \"The Info.plist in the package must contain the CFBundleVersion key.\" UserInfo=0x7f {NSLocalizedDescription=The Info.plist in the package must contain the CFBundleVersion key., NSLocalizedFailureReason=Unable to validate your application.}", "Error Domain=ITunesConnectFoundationErrorDomain Code=-27002 \"The Info.plist in the package must contain the CFBundleShortVersionString key.\" UserInfo=0x7f {NSLocalizedDescription=The Info.plist in the package must contain the CFBundleShortVersionString key., NSLocalizedFailureReason=Unable to validate your application.}", "Error Domain=ITunesConnectFoundationErrorDomain Code=-27000 \"The package does not contain an Info.plist.\" UserInfo=0x7f{NSLocalizedDescription=The package does not contain an Info.plist., NSLocalizedFailureReason=Unable to validate your application.}" 

Ya comprobé que tales keys ( CFBundleIdentifier , CFBundleVersion , CFBundleShortVersionString ) están en Info.plist. Además, abrí la carga útil desde el file .ipa (generado con xcodebuild y xcrun – línea de command) y podría confirmar que dichas keys también están en el file Info.plist.

La validation pasa cuando uso el XCode para comstackr, archivar y enviar.

¿Alguna ayuda?

Mi versión Xcode: 6.1.1 (6A2008a) OSX 10.9.5

Tengo un problema similar con un server de compilation CI .

 "Error Domain=ITunesConnectFoundationErrorDomain Code=-27000 \"Could not find a CFBundlePackageType within the Info.plist; or the package is missing an Info.plist.\" UserInfo=0x7fe72051f3a0 {NSLocalizedDescription=Could not find a CFBundlePackageType within the Info.plist; or the package is missing an Info.plist., NSLocalizedFailureReason=Unable to validate your application.}" 

Este problema aparece cuando reelaboré el script para exportar *.ipa con la nueva opción exportOptionsPlist . El antiguo script funcionó bien con altool . Lo nuevo no.

Antiguo guion:

 xcodebuild -exportArchive -exportFormat ipa -archivePath "MyApp.xcarchive" -exportPath "MyApp.ipa" -exportProvisioningProfile "appstore-provision" 

Nueva secuencia de commands:

 xcodebuild -exportArchive -exportOptionsPlist "tools/export-options.plist" -archivePath "MyApp.xcarchive" -exportPath "MyApp.ipa" 

El problema es que xcodebuild ahora crea MyApp.ipa/MyApp.ipa lugar de MyApp.ipa .

Acabo de arreglar -exportPath :

 xcodebuild -exportArchive -exportOptionsPlist "tools/export-options.plist" -archivePath "MyApp.xcarchive" -exportPath "." 
Intereting Posts