Reputation: 171
Every time I try to run my iOS app on Xcode 10, it fails and gives me the error "Command PhaseScriptExecution failed with a nonzero exit code"
The full error description is:
bash: /Users/Noah 1/Library/Developer/Xcode/DerivedData/WeatherSando-dszhaqymmhxfptfiymvnuvshlbtb/Build/Products/Debug-iphoneos/WeatherSando.app/Frameworks/AerisCore.framework/strip-frameworks.sh: No such file or directory Command PhaseScriptExecution failed with a nonzero exit code
I removed all AerisWeather CocoaPods from my project, what is wrong?
Upvotes: 17
Views: 25383
Reputation: 59
Upgrade your flutter sdk to higher version and make sure that your android studio version is above 4.0
Upvotes: -2
Reputation: 138
I have resolved this error by removing the spaces in the folder name, inside which this project was set up. After removing space, it worked
Upvotes: 0
Reputation: 538
For me it was upgrading Plaid from 1.0.0 to 3.0.0. They have a Build Phase
to strip the iOS Simulator part from the framework. I had to remove that for it work. Details found here:
https://plaid.com/docs/link/ios/ios-v2-migration/
Upvotes: 0
Reputation: 1383
In my case, I had wrong project folder name. Project folder name shouldn't include the space
Upvotes: 8
Reputation: 11140
For me worked what @Phillip Mills suggested. Build phase references the framework which has been removed.
In my case I removed manually embedded framework which I replaced with CocoaPod dependency. I needed script which there was previouly no longer but I didn't remove it.
So, look to Build Phases for your target and remove Run script
Upvotes: 37