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.)
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 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 have been using the Marmalade SDK with VS2010 for developing an IOS app for the last few months.
Yesterday I attempted to build my project, (without changing anything since the last time I built it) and started to receive the following errors:
Executing: 'c:\marmalade\6.1\s3e\bin\mdev.bat update'
Downloading: http://source.madewithmarmalade.com/packages/6.1/Packages
error: error downloading url: http://source.madewithmarmalade.com/packages/6.1/P
ackages (<urlopen error (10060, 'Operation timed out')>)
c:/Users/Paddy/Desktop/Speedoku/Speedoku.mkb(17) : error: Executing 'c:\marmalad
e\6.1\s3e\bin\mdev.bat update' failed. (return code 1)
FAILED (error code=3)
I updated Marmalade to the newest version but the problem is still there.
I have gone to the link in the error and can see that the file is there, so does not seem to be the issue.
I have been scouring throught the Marmalade forums for a solution, but the one or two people who asked the same thing got little or no response. Hopefully somebody on here will be able to help figure out how to resolve this.
Thanks,
Paddy
Turns out it was a proxy in chrome stopping it from downloading.
I'm running Fedora 9 x86_64 and am more or less a Linux newbie (not using it, but installing and such). The error occurs in the second stage of the bootstrap (i.e. "./bootstrap_stage2").
It does a whole lot fo stuff and then these errors start happening:
Fatal error: exception Out_of_memory
make[8]: *** [odoc_html.cmo] Error 2
make[8]: Leaving directory `/home/matthew/godi/build/godi/godi-ocaml/work/ocaml/ocamldoc'
make[7]: *** [ocamldoc] Error 2
make[7]: Leaving directory `/home/matthew/godi/build/godi/godi-ocaml/work/ocaml'
Error: Exec error: File /home/matthew/godi/build/godi/godi-ocaml/./../../mk/bsd.pkg.mk, line 1039: Command returned with non-zero exit code
Error: Exec error: File /home/matthew/godi/build/godi/godi-ocaml/./../../mk/bsd.pkg.mk, line 1378: Command returned with non-zero exit code
Error: Command fails with code 1: godi_console
Failure!
I've run it monitoring my memory and can say that I definately have not run out (using about 500 and I've got 3).
So anyone know what the issue is? I've searched the net, but the only other similar thing I found was the other thread on here (but it had a different error)
Any help would be much appreciated, because last time I installed it, it worked flawlessly.
This looks like a known problem with old OCaml (<3.11) on 64-bit platforms likely triggered by heap randomization, which is enabled on Fedora. It's been fixed so far as I know in recent releases (3.11 at least, possibly 3.10.2). Up-to-date GODI running out of section 3.11 should work if this is the case.