Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Command PhaseScriptExecution failed with a nonzero exit code #4

Closed
domenicovoto opened this issue Oct 9, 2019 · 8 comments · May be fixed by #7
Closed

Command PhaseScriptExecution failed with a nonzero exit code #4

domenicovoto opened this issue Oct 9, 2019 · 8 comments · May be fixed by #7

Comments

@domenicovoto
Copy link

Xcode Version 11.1 (11A1027)
Mac OS Catalina 10.15

Objective-c project

Creating slim frameworks for VALID_ARCHS: arm64 arm64e armv7 armv7s

.....

The domain/default pair of (.........project path...../Frameworks-build/FraudForce.framework/Info.plist, CFBundleExecutable) does not exist
Command PhaseScriptExecution failed with a nonzero exit code

Tested also the demo app, same problem.

@PratibhaShetty
Copy link

This error comes only in Mac OS Catalina 10.15. I was using Xcode 11 in Mojave. I switched Mac OS to Catalina yesterday. Observed the same issue

The domain/default pair of (.........project path...../Frameworks-build/FraudForce.framework/Info.plist, CFBundleExecutable) does not exist
Command PhaseScriptExecution failed with a nonzero exit code

@PratibhaShetty
Copy link

This got resolved by upgrading Xcode version to 11.1.

@powerwolf543
Copy link

I still have same issue.
MacOS 10.15.1
Xcode 10.2.1

@TerryCK
Copy link

TerryCK commented Nov 20, 2019

I have same issue,
MacOS 10.15.1
Xcode 10.3

when I try to run command on the terminal with sample
$ defaults read "${OUTPUT_FRAMEWORK_PATH}/Info.plist" CFBundleExecutable

it would show
"The domain/default pair of /deviceprint-SDK-iOS-master/FraudForce/SDK/FraudForce.framework/Info.plist does not exist"

So I just hard code on both slim-build-frameworks.sh & add-framework-symbols-to-app-archive.sh to workaround
FRAMEWORK_EXECUTABLE_NAME="FraudForce"

Any ideas?

@mattr-io
Copy link

Thank you for the feedback, however this forum is not the most efficient way to get support and questions answered. Please contact your iovation Integration Engineer directly on these issues for the most prompt response.

@interstateone
Copy link

The defaults command seems intended for use with the macOS preferences system. Included in its man page is:

WARNING: The defaults command will be changed in an upcoming major release to only operate on preferences domains. General plist manipulation utilities will be folded into a different command-line program.

Perhaps Catalina is that upcoming major release 😅

A better alternative to using defaults is PlistBuddy. If you replace the defaults command in slim-build-frameworks.sh with /usr/libexec/PlistBuddy -c "Print :CFBundleExecutable" "${OUTPUT_FRAMEWORK_PATH}/Info.plist" then it will return the same value and shouldn't fail with the error quoted above.

@willhess
Copy link

I am still experiencing this issue with Xcode 11.3 and Mac OS 10.15.2.

@mattr-io
Copy link

We really appreciate your feedback and we do want to help, but iovation (a TransUnion company) is not going to provide support in this forum at this time. Please contact your iovation Integration Engineer directly on these issues for the most prompt response. They will help you.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

7 participants