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
2~3
4
5
6
7
8
9