Flutter 真機或者模擬器報錯: but the linked and embedded framework 'App.framework' was built for

具體錯誤信息爲:

building for is simulator but the linked and embedded framework 'app.framework' was built for ios

或者

Building for iOS, but the linked and embedded framework 'App.framework' was built for iOS Simulator.

 

表面意思即使App.framework編譯的模式和選擇的設備不對應

解決方案:

刪除App.framework並重新編譯生成

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章