[英]How to submit an archive only for 64-bit iOS devices?
I'm trying to archive a content blocker application. 我正在尝试存档内容拦截器应用程序。 Because the API is only available on 64 bits, I've added this in the
info.plist
of the app: 因为API仅在64位上可用,所以我在应用的
info.plist
中添加了这个:
<key>UIRequiredDeviceCapabilities</key>
<array>
<string>arm64</string>
</array>
This value is only in the application target, not the content blocker target. 此值仅在应用程序目标中,而不在内容阻止程序目标中。 When sending my application to the App Store using Xcode Organizer it returns this message:
使用Xcode Organizer将我的应用程序发送到App Store时,它会返回以下消息:
ERROR ITMS-90503: "Invalid Bundle. Apps that have 'arm64' in the list of UIRequiredDeviceCapabilities in Info.plist must only contain the arm64 slice."...
I've checked online and this error looks new and undocumented, do you know what should I do to remove it? 我已经在网上查了一下这个错误看起来很新且没有文档,你知道我应该怎么做才能删除它吗?
As dsiddhpura suggested, the solution is to check the valid architectures in the build settings. 正如dsiddhpura建议的那样,解决方案是检查构建设置中的有效体系结构。 Be sure to have selected "All" in the right top-right corner and verify that there is only
arm64
in the valid architectures. 确保在右上角选择“全部”并验证有效体系结构中是否只有
arm64
。
You can't upload apps to the App Store with that requirement. 您无法使用该要求将应用程序上传到App Store。 The only requirement you can have is lowest iOS target.
您可以拥有的唯一要求是iOS目标最低。 So if you specify iOS9 (latest) then the iPhone 4s is still able to download your app.
因此,如果您指定iOS9(最新),那么iPhone 4s仍然可以下载您的应用程序。 iPhone 4s runs the 32-bit architecture.
iPhone 4s运行32位架构。
您可以删除“arm64”以外的体系结构,也可以将部署目标限制为8.0
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.