Dear developer,
We have discovered one or more issues with your recent delivery for "*****". To process your delivery, the following issues must be corrected:
Invalid Bundle - A nested bundle contains simulator platform listed in CFBundleSupportedPlatforms Info.plist key.
Once these issues have been corrected, you can then redeliver the corrected binary.
Regards,
The App Store team
我在将应用上传到商店后收到了这封电子邮件。我知道网上有关于这个问题的类似问题,他们说用 iPhoneOS 替换 iPhoneSimulator。
<key>CFBundleSupportedPlatforms</key>
<array>
<string>iPhoneSimulator</string>
</array>
但是我在我的项目中找不到 CFBundleSupportedPlatforms,所以我无法解决问题。
有什么想法吗?
有时此问题是由于为 iphonesimulator/macos 构建的某些框架或库造成的。最好的检查方法是检查所有库或最近添加的库,以确认它们是为使用“lipo”工具而构建的架构。
lipo -info frameworkexecutableorlib
Architectures in the fat file: frameworkexecutableorlib are: armv7 armv7s i386 x86_64 arm64
通常,构建过程可以在归档/导出应用程序时去除不受支持的架构。
关于ios - 找不到 CFBundleSupportedPlatforms。应用商店上传失败,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/45028879/
欢迎光临 OGeek|极客世界-中国程序员成长平台 (https://ogeek.cn/) | Powered by Discuz! X3.4 |