【发布时间】:2015-10-22 16:17:07
【问题描述】:
当尝试通过 altool 为 tvOS 应用程序发布到 iTunes Connect 时,我遇到了错误。
/Applications/Xcode.app/Contents/Applications/Application\ Loader.app/Contents/Frameworks/ITunesSoftwareService.framework/Support/altool --validate-app --file "/path/to/MyApp.ipa" -t ios --username xxx@example.com --password ********
2015-10-22 09:05:32.175 altool[8567:159593] *** Error: Unable to validate archive '/path/to/MyApp.ipa': (
"Error Domain=ITunesConnectionOperationErrorDomain Code=1176 \"Unable to process application at this time due to the following error: Invalid Provisioning Profile. This provisioning profile is not compatible with iOS apps..\" UserInfo={NSLocalizedRecoverySuggestion=Unable to process application at this time due to the following error: Invalid Provisioning Profile. This provisioning profile is not compatible with iOS apps.., NSLocalizedDescription=Unable to process application at this time due to the following error: Invalid Provisioning Profile. This provisioning profile is not compatible with iOS apps.., NSLocalizedFailureReason=iTunes Store operation failed.}"
)
所有配置文件都是正确的。我正在运行 Xcode 7.1 GM Build 版本 7B91b。
当我通过 Xcode 手动执行此操作时,它可以工作。完全相同的脚本适用于 iOS,但不适用于 tvOS。
什么给了?
【问题讨论】:
-
我不知道如何解决您的问题,但只是您的标题让我很困惑,tvO 与 iOS,您确定您根本不需要其他用于 tvOS 的配置文件吗?