iTunes Connect:无效的二进制文件

iTunes Connect: Invalid binary

我在 iTunes Connect 中收到此错误。

我有一个应用程序,我对其进行了一些更改。所以现在我正在使用管理器上传更新版本,但上传后,我得到“invalid binary”,但没有更多信息。 查看此论坛,我发现很多人都面临同样的问题,但没有适合我的解决方案。

我在上传前验证了应用程序,验证过程正常.. 欢迎任何建议,这让我发疯。

提前致谢。

Titanium SDK 5.5.0 GA

macOS Sierra.

我从 Apple 收到了这封电子邮件:

This app attempts to access privacy-sensitive data without a usage description. The app's Info.plist must contain an NSPhotoLibraryUsageDescription key with a string value explaining to the user how the app uses this data.

This app attempts to access privacy-sensitive data without a usage description. The app's Info.plist must contain an NSMicrophoneUsageDescription key with a string value explaining to the user how the app uses this data.

This app attempts to access privacy-sensitive data without a usage description. The app's Info.plist must contain an NSCameraUsageDescription key with a string value explaining to the user how the app uses this data.

This app attempts to access privacy-sensitive data without a usage description. The app's Info.plist must contain an NSAppleMusicUsageDescription key with a string value explaining to the user how the app uses this data.

Once these issues have been corrected, you can then redeliver the corrected binary.

我的应用程序正在使用相机,而不是 Apple Music,不是 Agenda 等...可能是其中一个模块...

但无论如何,我通过将此添加到 tiapp.xml

来修复它
<ios>
    <plist>
        <dict>
            <key>NSContactsUsageDescription</key>
            <string>Can we use to your contacts?</string>
            <key>NSCameraUsageDescription</key>
            <string>Can we use your camera?</string>
            <key>NSCalendarsUsageDescription</key>
            <string>Can we use your calendar?</string>
            <key>NSPhotoLibraryUsageDescription</key>
            <string>Can we save to your library?</string>
            <key>NSMicrophoneUsageDescription</key>
            <string>Can we use your microphone?</string>
        </dict>
    </plist>
</ios>

您可以访问此页面:

https://www.appcelerator.com/blog/2016/09/ga-release-for-titanium-sdk-5-5-0-appcelerator-cli-5-5-0-appcelerator-studio-4-7-1/

希望对您有所帮助。

我终于解决了这个问题

在我的应用程序中,我使用: 版本:1.0.6 构建:1.0.6

出于某种原因,现在我不能这样做,所以我将构建版本更改为:106,这很神奇。

希望对其他人有所帮助..

每当您遇到无效的二进制错误时,都会向 itunesConnect 帐户发送一封电子邮件,并说明其无效的原因。

我确实收到了一条无效的二进制消息,其中包含以下消息:

This app attempts to access privacy-sensitive data without a usage description. The app's Info.plist must contain an NSAppleMusicUsageDescription key with a string value explaining to the user how the app uses this data.

所以它确实与权限请求有关。解决此问题的方法是查看电子邮件,并解释您请求访问该隐私敏感数据的原因。请记住,我们没有使用 Apple Music,但出于某种原因出现在那里 ;)

我意识到我使用 Xcode Beta 上传了二进制文件。使用常规 Xcode 上传后 - 它有效。