CFBundleSupportedPlatforms [iPhoneSimulator]

Invalid CFBundleSupportedPlatforms value. The CFBundleSupportedPlatforms key in the Info.plist file in “Payload/xxx.app/Frameworks/RongChatRoom.framework” bundle contains an invalid value, [iPhoneSimulator]. Consider removing the CFBundleSupportedPlatforms key from the Info.plist file. If this bundle is part of a third-party framework, consider contacting the developer of the framework for an update to address this issue. With error code STATE_ERROR.VALIDATION_ERROR.90542 for id xxxxxxxx

解决办法:找到对应第三方下`info.plist`文件,
将`CFBundleSupportedPlatforms `下,
`item对应的`iPhoneSimulator `改为`iPhoneOS`

注意:如果在项目中找不到对应的info.plist,可以去 Xcode -->Window-->Orgnizer-->Archives,找到打好的包,右键:Show in Finder选择xxx.xcarchive文件,右键:显示包内容,打开Products,打开Applications,找到打好的APP,再次右键:显示包内容,点击搜索,输入info.plist,选择自己的项目里查找,就可以找到所有info.plist文件了,全部检查一下,修改完毕。

以下是多余的图片步骤(仅供自己这个渣渣参考):
1

461660901752_.pic.jpg

2~3

471660901801_.pic.jpg

4

481660901838_.pic.jpg

5

491660901924_.pic.jpg

6

501660901958_.pic.jpg

7

511660902018_.pic.jpg

8

521660902060_.pic.jpg

9

531660902181_.pic.jpg

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

推荐阅读更多精彩内容