iOS提交遇到的错误:Invalid Bundle - A nested bundle contains simulator platform listed in CFBundleSupportedPlatforms Info.plist key.

苹果发来的邮件如下:

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

在项目中搜索CFBundleSupportedPlatforms发现两个文件

CFBundleSupportedPlatforms@2x.png

解决方法:
CFBundleSupportedPlatforms的值修改为iPhoneOS

波折:
按照网上搜到的解决方法是把值全部修改为iPhoneOS,结果将搜索出来的这两个文件修改后上传,还是同样被拒绝.
最后打开环信的.framework后,发现还有一个info.plist内包含有以上字段,这个plist文件在项目中是搜不到的,需要在Finder中打开,所以大家遇到这个问题,需要把引入的所有第三方检查一遍.

最后编辑于
©著作权归作者所有,转载或内容合作请联系作者
平台声明:文章内容(如有图片或视频亦包括在内)由作者上传并发布,文章内容仅代表作者本人观点,简书系信息发布平台,仅提供信息存储服务。

推荐阅读更多精彩内容