- ios 打包问题
- 确认flutter环境和dart环境配置完成
- flutter create flutter_demo 创建 demo
- flutter_demo -> ios -> Runner.xcodeproj -> 打开xcode -> 打包
问题:
Runner.app/Info.plist does not exist. The Flutter "Thin Binary" build phase must run after "Copy Bundle Resources"
解决方法:
- Launch iOS application from Runner.Workspace
- Go to build phase --> Thin Binary
- Comment the shell script line.
- Run the app (it works, but app size grows to 161 MB)
- Now again uncomment same line in step 3. App builds and runs and app size shrinks to (97 MB)