ios上架我遇到的问题(CFBundleSupportedPlatforms)

1.Apple发来的邮件:
Dear developer,

We have discovered one or more issues with your recent delivery for "APP名称". 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 t
2.问题原因:
 打包文件中某个info.plist中CFBundleSupportedPlatforms数组字段中存在iPhoneSimulator。
3.解决办法:将iPhoneSimulator替换成iphoneOS,具体步骤如下:
屏幕快照 2017-05-16 下午4.35.45.png
屏幕快照 2017-05-16 下午4.36.12.png

Products->Applications


屏幕快照 2017-05-16 下午4.38.13.png
屏幕快照 2017-05-16 下午4.38.30.png

会发现一个或多个info.plist文件,逐个打开查看,将iphoneSimulator替换成iPhoneOS


屏幕快照 2017-05-16 下午4.38.52.png

屏幕快照 2017-05-16 下午4.39.16.png
5.问题解决
最后编辑于
©著作权归作者所有,转载或内容合作请联系作者
平台声明:文章内容(如有图片或视频亦包括在内)由作者上传并发布,文章内容仅代表作者本人观点,简书系信息发布平台,仅提供信息存储服务。

推荐阅读更多精彩内容