invalid bundle

昨天提交”iOS构建版本”,版本消失了,检查邮箱收到Apple邮件。

1
2
3
4
5
6
7
8
9
10
11
Dear developer,
We have discovered one or more issues with your recent delivery for "[App Name]". 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

提交审核的ipa里面有x86_64架构的framework
打开终端切换到项目目录,执行下面的命令会列出所有的Info.plist

1
> find ./ -name "Info.plist"

依次检查plist文件里面的CFBundleSupportedPlatforms字段,如果有simulator,则该framework需要重新编译或移除x86_64架构。