Showing Recent Issues
Undefined symbol: _OBJC_CLASS_$_FLAnimatedImageView
需要重新install
運(yùn)行flutter run時(shí)報(bào)錯 提示如下:
Could not find the built application bundle at build/ios/iphonesimulator/XXXXX.app.
Error launching application on ????????
錯誤的原因是在xcode中修改了bundle Name字段的名字 默認(rèn)是Runner,將倆邊Name修改為XXXXX即可
Xcode報(bào)錯file too small (length=0)
解決辦法:
1.選擇xcode菜單的Product下的Clean,或者組合鍵是Cmd+Shift+K,清除一遍
2.重新編譯
Xcode編譯報(bào)錯
Command PhaseScriptExecution failed with a nonzero exit code
運(yùn)行一個項(xiàng)目時(shí)遇到了這個bug提示,一直編譯不過去,這其實(shí)是一個Xcode10引起的bug。 解決方案: 在Xcode菜單欄選擇File -> Workspace Setting -> Build System 選擇Legacy Build System 重新運(yùn)行即可。
二、解決方案
1. 首先在 Product -> Scheme 中選擇當(dāng)前項(xiàng)目的主代碼模塊
2. 選擇 Product -> Clean Build Folder 清理工作區(qū)
3. 之后再重新編譯項(xiàng)目代碼就可以了
Xcode升級后android studio找不到模擬器
sudo xcode-select --switch /Applications/Xcode.app/Contents/Developer/