蘋果發(fā)來(lái)的郵件如下:
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
在項(xiàng)目中搜索CFBundleSupportedPlatforms
發(fā)現(xiàn)兩個(gè)文件
解決方法:
將CFBundleSupportedPlatforms
的值修改為iPhoneOS
波折:
按照網(wǎng)上搜到的解決方法是把值全部修改為iPhoneOS
,結(jié)果將搜索出來(lái)的這兩個(gè)文件修改后上傳,還是同樣被拒絕.
最后打開(kāi)環(huán)信的.framework后,發(fā)現(xiàn)還有一個(gè)info.plist
內(nèi)包含有以上字段,這個(gè)plist
文件在項(xiàng)目中是搜不到的,需要在Finder
中打開(kāi),所以大家遇到這個(gè)問(wèn)題,需要把引入的所有第三方檢查一遍.