When installing pods for firebase crashalytics, I end up getting the following error when building my project:
/bin/sh: /Users/charlieseligman/Library/Developer/Xcode/DerivedData/iosRpg-adnemhaybfqxtfaseatzgcodrqhn/Build/Intermediates.noindex/iosRpg.build/Debug-iphoneos/iosRpg.build/Script-9E0308592720706B102EX692.sh:
"/Users/charlieseligman/Documents/GIT/ios.SwordyQuest/Pods/FirebaseCrashlytics: bad interpreter: No such file or directory
Command PhaseScriptExecution failed with a nonzero exit code
Anyone seen this before? Or have any ideas about debugging it?
I was putting the "${PODS_ROOT}/FirebaseCrashlytics/run" script in the 'Shell' textfield rather than in the section directly below this... hope this answer helps someone else who is as tired as I am and making silly mistakes also.
Related
I’m currently developing an app in react native and I’ struggling with this error: “Xcode 12.5: Command PhaseScriptExecution failed with a nonzero exit code“.
Now I’ve already tried to:
Uninstall and reinstall all thing related to pods.
Delete and reinstall node_modules folder.
I’ve red there’s something to in keychain but again, it doesn’t work.
I think it could be a permission error or something like that, because it occurs at the end of the app build.
Thank you
Finally I found the solution, run this command in your project folder from temrinal:
react-native bundle --platform ios --dev false --entry-file index.js --bundle-output ./ios/main.jsbundle
In my case it was unable to resolve module 'react-native-audio' and mistakely copied ../components/react-native-audio from somewhere else..
I hope you had the same error and hope it helps
I ran into this error after upgrading xCode to version 12.4
Build fails with the following message:
"Command ValidateEmbeddedBinary failed with a nonzero exit code"
This error concerns the validation of the extension to the macOS application (in this case, NetworkExtention)
After more than 2 days of research, I found out that the error was caused by the following code in my Info.plist:
<key>CFBundleSupportedPlatforms</key>
<string>MacOSX</string>
After deleting this piece of code, the error disappeared.
I hope this helps someone avoid wasting time.)
I am going through the flipper tutorial and am getting an error when running metadata-gen.
ERROR: `"/Users/home/.rustup/toolchains/nightly-x86_64-apple-darwin/bin/cargo" "run" "--package" "metadata-gen" "--manifest-path=/var/folders/xj/m862kvrj73x04dvsfr6vs_fm0000gn/T/cargo-contract_c9GVwB/Cargo.toml" "--target-dir=/Users/home/src/testcontract/target" "--release"` failed with exit code: None
Having an exit code of None is really not helpful. Does anyone know the reason for this? Build and test works fine. I did a cargo update yesterday.
I'm on MacOS Catalina.
After updating to the 10-6 nightly tools the error went away.
I am trying to install Apollo in my iOS Project. I follow the instructions here: https://www.apollographql.com/docs/ios/installation.html. When I complete the "Adding a Code Generation Build Step," I get an error. It cannot find the file check-and-run-apollo-cli.sh. The error is "Command PhaseScriptExecution failed with a nonzero exit code." So I checked the file path it was giving me. It seems that "check-and-run-apollo-cli.sh" doesn't exist, but "check-and-run-apollo-codegen.sh" does. So I changed the last line of the script in my project to check-and-run-apollo-codegen.sh. However, it still does not work ("Command PhaseScriptExecution failed with a nonzero exit code" again). What do I need to do?
Thanks.
I have the same error here on Apollo 0.20.0 using Cocoapods
So I use the script provided by Apollo here
And customized to my workspace
"${PODS_ROOT}/Apollo/scripts/run-bundled-codegen.sh" codegen:generate --target=swift --includes=./**/*.graphql --localSchemaFile="schema.json" API.swift
Worked for me =D
I want to isntall winexe on Ubuntu 13.1 32bit version.
I did exactly after this guide: Winexe - aldeid
If I execute the command "make basics bin/winexe" there occurs the following error:
Compiling ../librpc/idl/atsvc.idl
/usr/include/stdc-predef.h:0: error: Syntax error near '3'
Failed to parse ../librpc/idl/atsvc.idl at ./../pidl/pidl line 608.
make: *** [idl] Error 1
I have absolutely no idea how to fix this.
I would be even satisfied with a solution suggestion to this problem.
Thank you.
make "CPP=gcc -E -ffreestanding" basics bin/winexe works around this error.
I found "another" way to isntall winexe.
ubuntu forum
The Donwload-Links to the static version (just unzip and run winexe) are working at the moment (on some other pages they didn't).
I still don't know why the error above occurs, if anybody knows it, please tell me anyway. I am still interessted.
VERY IMPORTANT EDIT: After restart winexe gives put an Internal Error signal 11
So I still need a solution for winexe. Either to isntall the verision from git or to fix this error.
EDIT nummber 2: OK, why am I sking questions if I answer them by myself?
The installation form the quide mentiond in my question qorks fine on Ubuntu 12 LTS and winexe-static-version is also ok if you don't make typing errors as I did.