CLI iOS build stuck on PhaseScriptExecution

I cannot build for iOS anymore.

When i run ionic cordova build ios the process gets stuck at PhaseScriptExection:

PhaseScriptExecution Copy\ www\ directory /Users/xxx/Library/Developer/Xcode/DerivedData/XXXXX-gqgwxjypuhsvrdgmbbttbxrdhiki/Build/Intermediates.noindex/ArchiveIntermediates/XXXXX/IntermediateBuildFilesPath/XXXXX.build/Debug-iphoneos/XXXXX.build/Script-304B58A110DAC018002A0835.sh
cd /Users/xxx/projects/mobile-customer-app/platforms/ios
/bin/sh -c /Users/xxx/Library/Developer/Xcode/DerivedData/XXXXX-gqgwxjypuhsvrdgmbbttbxrdhiki/Build/Intermediates.noindex/ArchiveIntermediates/XXXXX/IntermediateBuildFilesPath/XXXXX.build/Debug-iphoneos/XXXXX.build/Script-304B58A110DAC018002A0835.sh

It worked 2 weeks ago, but since then no success…

Ionic:

   Ionic CLI          : 5.4.4 (/usr/local/lib/node_modules/ionic)
   Ionic Framework    : ionic-angular 3.9.9
   @ionic/app-scripts : 3.2.4

Cordova:

   Cordova CLI       : 9.0.0 (cordova-lib@9.0.1)
   Cordova Platforms : android 8.0.0, ios 4.5.5
   Cordova Plugins   : cordova-plugin-ionic-webview 1.2.1, (and 19 other plugins)

Utility:

   cordova-res : 0.6.0 (update available: 0.8.0)
   native-run  : 0.2.8 (update available: 0.2.9)

System:

   Android SDK Tools : 26.1.1 (/Users/xxx/Library/Android/sdk)
   ios-deploy        : 1.9.4
   NodeJS            : v12.6.0 (/usr/local/Cellar/node/12.6.0/bin/node)
   npm               : 6.10.2
   OS                : macOS Catalina
   Xcode             : Xcode 11.1 Build version 11A1027

How to resolve this?

1 Like

did you find any solution? I have this issue too. My app has been working 3 weeks ago but now it crashes

1 Like

Same problem here. Building in xcode works. But on the CLI I get the same error.