简体   繁体   English

iTunes Connect:无效的二进制文件

[英]iTunes Connect: Invalid binary

I am getting this error in iTunes Connect . 我在iTunes Connect收到此错误。

I have an app and I make some changes in that. 我有一个应用,我对此做了一些更改。 So now I am uploading the updated version with the Organizer, but after upload, I am getting " invalid binary ", but no more information. 因此,现在我正在使用管理器上传更新的版本,但是在上传之后,我得到的是“ invalid binary ”,但没有更多信息。 Looking into this forum I found many people face same issue but no solution works for me. 在这个论坛上,我发现很多人面临同样的问题,但是没有解决方案对我有用。

I validate the app before uploading and the validate process is OK.. any advice will be welcome, this is driving me crazy. 我在上传之前验证了该应用,验证过程还可以。.任何建议都将受到欢迎,这使我发疯。

thanks in advance. 提前致谢。

Titanium SDK 5.5.0 GA Titanium SDK 5.5.0 GA

macOS Sierra . macOS Sierra

I get this email from Apple: 我从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. 该应用程序的Info.plist必须包含一个NSPhotoLibraryUsageDescription键,该键具有字符串值,该字符串值向用户说明该应用程序如何使用此数据。

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. 该应用程序的Info.plist必须包含一个NSMicrophoneUsageDescription键,该键具有一个字符串值,向用户解释该应用程序如何使用此数据。

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. 应用程序的Info.plist必须包含NSCameraUsageDescription键,该键具有字符串值,该字符串值向用户说明应用程序如何使用此数据。

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. 该应用程序的Info.plist必须包含一个NSAppleMusicUsageDescription键,该键具有字符串值,向用户解释该应用程序如何使用此数据。

Once these issues have been corrected, you can then redeliver the corrected binary. 解决这些问题后,您可以重新交付更正后的二进制文件。

My App is using the camera, not Apple Music, not Agenda, etc... Maybe one of the Modules... 我的应用程序使用的是相机,而不是Apple Music,议程,等等。。。也许是模块之一。

But anyway, I fixed it by adding this to tiapp.xml 但是无论如何,我通过将其添加到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>

You can visit this page: 您可以访问此页面:

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/ 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 /

I hope that helps. 希望对您有所帮助。

I finally solve this problem. 我终于解决了这个问题。

In my app i use: Version: 1.0.6 Build: 1.0.6 在我的应用程序中,我使用:版本:1.0.6构建:1.0.6

For some reason, now i cant do that, so i change the build version to: 106 and that makes the magic. 由于某种原因,现在我不能这样做,所以我将构建版本更改为:106,这使它神奇。

i hope this can help to others.. 我希望这可以帮助其他人。

I realized that I uploaded the binary using Xcode Beta. 我意识到我使用Xcode Beta上传了二进制文件。 After uploading with the regular Xcode - it worked. 使用常规Xcode上传后-它起作用了。

Whenever you get an invalid binary error an email gets sent to the itunesConnect account, with the explanation on why it is invalid. 每当您收到无效的二进制错误时,都会将一封电子邮件发送至itunesConnect帐户,并说明其无效原因。

I did receive an invalid binary message and contained the following message: 我确实收到了无效的二进制消息,并包含以下消息:

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. 该应用程序的Info.plist必须包含一个NSAppleMusicUsageDescription键,该键具有字符串值,向用户解释该应用程序如何使用此数据。

So it does have to do with a permission request. 因此,它确实与权限请求有关。 The way to fix this issue is to check the email, and explain why you are requesting access to that privacy-sensitive data. 解决此问题的方法是检查电子邮件,并解释为什么您请求访问该隐私敏感数据。 Keep in mind that we are not using Apple Music, but for some reason that showed up there ;) 请记住,我们没有使用Apple Music,但是出于某种原因出现在这里;)

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM