Flutter
Xcode升級(jí)12.5之后,F(xiàn)lutter Run 之后得到如下錯(cuò)誤
/Users/leopard/CODE/git/xxx-xxx-ios/flutter_module_xxx/.ios/Runner.xco
deproj: error: Building for iOS Simulator, but the embedded framework
'App.framework' was built for macOS. (in target 'Runner' from project
'Runner')
Users/leopard/CODE/git/xxx-xxx-ios/flutter_module_xxx/.ios/Runner.xco
deproj: error: Building for iOS Simulator, but the embedded framework
'Flutter.framework' was built for iOS + iOS Simulator. (in target 'Runner'
from project 'Runner')
說(shuō)到底還是配置問(wèn)題,打開(kāi)runner.xcworkspace,修改Buildsetting--》Validate Workspace 為YES.