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
解決辦法:找到對(duì)應(yīng)第三方下`info.plist`文件,
將`CFBundleSupportedPlatforms `下,
`item對(duì)應(yīng)的`iPhoneSimulator `改為`iPhoneOS`
注意:如果在項(xiàng)目中找不到對(duì)應(yīng)的info.plist,可以去 Xcode -->Window-->Orgnizer-->Archives,找到打好的包,右鍵:Show in Finder,選擇xxx.xcarchive文件,右鍵:顯示包內(nèi)容,打開Products,打開Applications,找到打好的APP,再次右鍵:顯示包內(nèi)容,點(diǎn)擊搜索,輸入info.plist,選擇自己的項(xiàng)目里查找,就可以找到所有info.plist文件了,全部檢查一下,修改完畢。
以下是多余的圖片步驟(僅供自己這個(gè)渣渣參考):
1

2~3

4

5

6

7

8

9
