Reputation: 645
I have a flutter app that was uploaded back on 2022 and last month I had to update to Xcode 16.1 and macOS 15.2 same flutter version 3.3.2 since Apple does not want me to upload the app with my previous Xcode and macOS version. Now I'm getting an error on flutter run and xcode run Failed to package /Users/bonfire/Desktop/Projects/{APPNAME}.Command PhaseScriptExecution failed with a nonzero exit code.
I have done and tested many things
cd ios
rm -rf Pods Podfile.lock
pod deintegrate
pod setup
pod install --repo-update
cd ..
flutter clean
flutter pub get
Xcode 16.1, macOS 15.2, Flutter 3.3.2
Upvotes: 2
Views: 120
Reputation: 628
I've fixed the same errors. See my solution at: https://stackoverflow.com/a/79417609/12345813
Hope this helps
Upvotes: 0