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.
Related
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.
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 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 am getting this error while running make test on a Golang project:
signal: killed
FAIL <package name>
make: *** [test] Error 1
The same code was running perfectly fine until yesterday.
Note: I tried doing make test on other branches also but same result.
UPDATE on 04/27/2017:
The new Go1.8.1 (released 2017/04/07) fixed this issue. Please download and install the latest version.
OLD ANSWER:
Mainly the reason was that Command Line Tool 8.3 is not compatible.
According to the solutions from https://github.com/golang/go/issues/19734:
Remove /Library/Developer/CommandLineTools first, download and install Command Line Tool 8.2 from https://developer.apple.com/download/more/?name=Xcode
OR
use -ldflags -s option for compilation or run
Thanks a lot #JimB
I uninstalled the Xcode and it runs fine now. Weird !
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.