Xcode 13.3 Build DocC Command CompileDocumentation failed with a nonzero exit code - xcode

Xcode Build DocC Document with Product-Build Documentation failed
Command CompileDocumentation failed with a nonzero exit code

Related

Command PhaseScriptExecution failed with a nonzero exit code - React Native

Whenever I try to run npm-run-ios for any react native project I run into the following error with Xcode.
The following build commands failed: PhaseScriptExecution [CP-User]\ Generate\ Specs /Users/keenanmapp/Library/Developer/Xcode/DerivedData/UnsplashSearch-ancvrrzszrqkahamhpgtfqwhhuns/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/FBReactNativeSpec.build/Script-5F4C70EF7D90A5A5BDAEB404
I tried removing the pods and reinstalling but nothing works.

Command ValidateEmbeddedBinary failed with a nonzero exit code

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.)

after update mac os to catalina ,I have some problem android studio and Xcode is not simulator (Flutter)

Android
FAILURE: Build failed with an exception.
Where:
Script '/Users/admin/Documents/flutterpath/packages/flutter_tools/gradle/flutter.gradle' line: 896
What went wrong:
Execution failed for task ':app:compileFlutterBuildDebug'.
Process 'command '/Users/admin/Documents/flutterpath/bin/flutter'' finished with non-zero exit value 1
Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.
Get more help at https://help.gradle.org
BUILD FAILED in 54s
XCODE Error : Command PhaseScriptExecution failed with a nonzero exit code
I already try to fix lock and unlock keychain.

Check-and-run-apollo-codegen.sh for Apollo not working?

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

Fail to build React Native

When I tried to run this command: react-native run-ios
The terminal returns this.
How to solve this?
Command /usr/bin/codesign failed with exit code 1
** BUILD FAILED **
The following build commands failed:
CodeSign build/Build/Products/Debug-iphonesimulator/albums.app
(1 failure)

Resources