[ad_1]
I get this error whereas putting in my react-native mission –
…
…
export YACC=yacc
export arch=undefined_arch
export variant=regular
/bin/sh -c /Customers/username/Library/Developer/Xcode/DerivedData/SegmentTestApp-cstqrjxwipvxhwdtekmebzicziwj/Construct/Intermediates.noindex/Pods.construct/Debug-iphonesimulator/FBReactNativeSpec.construct/Script-337605CB7CDF90939BEBF863ED22C375.sh/Customers/username/.rvm/scripts/rvm: line 12: uname: command not discovered
/Customers/username/.rvm/scripts/rvm: line 29: ps: command not discovered
/Customers/username/Desktop/Purposes/SegmentTestApp/ios/Pods/../../node_modules/react-native/React/FBReactNativeSpec/../../scripts/generate-specs.sh:
line 27: readlink: command not discovered
/Customers/username/Desktop/Purposes/SegmentTestApp/ios/Pods/../../node_modules/react-native/React/FBReactNativeSpec/../../scripts/generate-specs.sh:
line 27: dirname: command not discovered
/Customers/username/Desktop/Purposes/SegmentTestApp/ios/Pods/../../node_modules/react-native/React/FBReactNativeSpec/../../scripts/generate-specs.sh:
line 27: cd: : No such file or listing Command PhaseScriptExecution
failed with a nonzero exit code
I consider that is associated to my shell config. This is my ~/.zshrc file –
export ANDROID_SDK=/Customers/username/Library/Android/sdk
export ANDROID_SDK_ROOT=/Customers/username/Library/Android/sdk
export ANDROID_HOME=$HOME/Library/Android/sdk export
PATH=$PATH:$ANDROID_HOME/emulator export
PATH=$PATH:$ANDROID_HOME/instruments export
PATH=$PATH:$ANDROID_HOME/platform-tools export
PATH=”/usr/native/choose/coreutils/libexec/gnubin:$PATH”supply /Customers/username/.rvm/scripts/rvm
Surroundings –
❯ ruby -v
ruby 3.0.0p0 (2020-12-25 revision 95aff21468)
[x86_64-darwin21]❯ node -v
v16.13.1
❯ echo $PATH
/Customers//.rvm/gems/ruby-3.0.0/bin:/Customers//.rvm/gems/ruby-
3.0.0@world/bin:/Customers//.rvm/rubies/ruby3.0.0/bin:/usr/native/choose/coreutils/libexec/gnubin:/usr/native/bin:/usr/bin:/bin:/usr/sbin:/sbin:/Library/Apple/usr/bin:/Purposes/Wireshark.app/Contents/MacOS:/Purposes/Postgres.app/Contents/Variations/newest/bin:/Customers//Library/Android/sdk/emulator:/Customers//Library/Android/sdk/instruments:/Customers//Library/Android/sdk/platform-tools:/Customers//.rvm/bin
[ad_2]
