我正在使用altool提交我的iPhone应用程序。然而,出现以下错误提示:
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.}"
我已经确认这些键(
CFBundleIdentifier
,CFBundleVersion
,CFBundleShortVersionString
)都在 Info.plist 中。此外,我打开了从 .ipa 文件中提取的 Payload(使用 xcodebuild 和 xcrun - 命令行生成),并且可以确认这些键也在 Info.plist 文件中。当我使用 XCode 进行编译、归档和提交时,验证通过。
需要帮助吗?
我的 Xcode 版本:6.1.1(6A2008a) OSX 10.9.5
*.ipa
文件的构建脚本吗?我已经解决了类似的问题。 - Serge Maslyakov