for greater than 3 days breaking my head to kind this subject, undecided the place it’s coming from or what’s inflicting this subject.
Tried resetting the whole lot on my machine from utterly erasing it and organising new.
It began once I upgraded nodeJs from 14 to 18. After which not capable of archive or generate construct.
Problem:
ios Construct fails, throwing “Command PhaseScriptExecution failed with a
nonzero exit code”
Error Message:
PhaseScriptExecution [CP-User] Generate Specs
/Customers/wfh/Library/Developer/Xcode/DerivedData/DiconiumApp-drpcdznxnofouzbdrzjkildvaanb/Construct/Intermediates.noindex/Pods.construct/Debug-iphonesimulator/FBReactNativeSpec.construct/Script-3FDF604782916D39F0C125D0A568C1C6.sh
(in goal ‘FBReactNativeSpec’ from mission ‘Pods’)
cd /Customers/wfh/Desktop/diconium-app/ios/Pods
export ACTION=construct
export AD_HOC_CODE_SIGNING_ALLOWED=YES
export ALLOW_TARGET_PLATFORM_SPECIALIZATION=NO
export ALTERNATE_GROUP=employees
…
…
…
export variant=regular
/bin/sh -c /Customers/wfh/Library/Developer/Xcode/DerivedData/DiconiumApp-drpcdznxnofouzbdrzjkildvaanb/Construct/Intermediates.noindex/Pods.construct/Debug-iphonesimulator/FBReactNativeSpec.construct/Script-3FDF604782916D39F0C125D0A568C1C6.sh
Somebody, please assistance on this if you recognize one thing that may repair this subject.
Thanks prematurely.
Tried downgrading the node model aswell. Did not assist!!
variations: