報(bào)錯(cuò):Building for iOS, but the linked and embedded framework 'App.framework' was built for iOS Simulator.或者Building for iOS Simulator, but the linked and embedded framework 'App.framework' was built for iOS.
文章鏈接地址:https://flutter.dev/docs/development/ios-project-migration
根據(jù)文檔設(shè)置下來(lái)始苇,很可能xcode Run完以后生成的App.framework不會(huì)出現(xiàn)asssts文件筐喳,編譯失敗避归,造成這一問(wèn)題的原因很有可能是緩存問(wèn)題依然存在, clear build然后重啟電腦,再clear build喉童, Run顿天,OK了,完美解決