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

解決辦法:找到對(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

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

最后編輯于
?著作權(quán)歸作者所有,轉(zhuǎn)載或內(nèi)容合作請(qǐng)聯(lián)系作者
【社區(qū)內(nèi)容提示】社區(qū)部分內(nèi)容疑似由AI輔助生成,瀏覽時(shí)請(qǐng)結(jié)合常識(shí)與多方信息審慎甄別。
平臺(tái)聲明:文章內(nèi)容(如有圖片或視頻亦包括在內(nèi))由作者上傳并發(fā)布,文章內(nèi)容僅代表作者本人觀點(diǎn),簡(jiǎn)書系信息發(fā)布平臺(tái),僅提供信息存儲(chǔ)服務(wù)。

相關(guān)閱讀更多精彩內(nèi)容

友情鏈接更多精彩內(nèi)容