phamha98 / hi

note
Other
2 stars 0 forks source link

Command PhaseScriptExecution failed with a nonzero exit code #28

Open phamha98 opened 6 months ago

phamha98 commented 6 months ago

nvm alias default 16

phamha98 commented 3 months ago

https://forums.developer.apple.com/forums/thread/123790

phamha98 commented 3 months ago

I usually have this problem when a dependency is not updated.

You can try following these steps, this usually works for me:

1- Delete your Podfile.lock (I like to use the command '-rm -rf Podfile.lock' on the terminal for this)

2- Delete your Pods folder (I like to use the command '-rm -rf Pods' in the terminal for this)

3- Delete your .xcworkspace

4- Pod install

5- Clear your project into XCode> Product> Clean Build Folder

phamha98 commented 3 months ago

gem list active_support

phamha98 commented 3 months ago

nothing worked for me, until go to VSCode(IDE APP), and ios/App/App.xcodeproj/project.pbxproj that file , and searched EXCLUDED_ARCHS = arm64; and delete that line,

i did same thing from xcode, like go to target>build settings, exclude arc thing and deleted arm64 from there, didnt worked before, but deleting from VSCode worked , weird

phamha98 commented 3 months ago

https://github.com/facebook/react-native/issues/36762

phamha98 commented 3 months ago

rm -rf ~/Library/Developer/Xcode/DerivedData/ && pod cache clean --all && rm -rf build && cd .. && rm -rf node_modules && npm i && cd ios && pod install; bundle exec fastlane beta config:staging

phamha98 commented 3 months ago

rm -rf /usr/local/bin/node ln -s $(which node) /usr/local/bin/node

phamha98 commented 3 months ago

nvm unalias default

phamha98 commented 3 months ago

source="$(readlink "${source}")" source="$(readlink -f "${source}")"

phamha98 commented 3 months ago

xcode.env.local export NODE_BINARY="/opt/homebrew/Cellar/node/20.8.1/bin/node" export NODE_BINARY="/usr/local/bin/node"

phamha98 commented 3 months ago

gCy8N

phamha98 commented 3 months ago

softwareupdate --install-rosetta

phamha98 commented 3 months ago

https://stackoverflow.com/questions/77141841/xcode-version-15-0-command-phasescriptexecution-failed-with-a-nonzero-exit-cod

phamha98 commented 3 months ago

UUuvD

phamha98 commented 3 months ago
SSIWy
phamha98 commented 3 months ago

arch -x86_64 pod deintegrate && arch -x86_64 pod cache clean --all

phamha98 commented 3 months ago

arch -x86_64 pod install