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的值修改为iPhoneOS

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

你可能感兴趣的:(iOS提交遇到的错误:Invalid Bundle - A nested bundle contains simulator platform listed in CFBundleSupportedPlatforms Info.plist key.)