We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
If the project folder has a space in the path then building the Samples app fails due to an error in the build script phase
It builds
Errors with
"Command PhaseScriptExecution failed with a nonzero exit code"
Build Sample app from a folder that has a space in the path
Code example that reproduces the issue
Catalina 10.15.3, XCode 11.3.1
Library version 1.7.2 Installation method git clone of repo
iOS version(s) 13.3 Xcode version 11.3.1
Can be fixed by changing Run Script command to:
/usr/libexec/PlistBuddy -c "Set :CFBundleVersion $(git rev-parse --abbrev-ref HEAD)($(git rev-parse --short HEAD))" "$SRCROOT/$INFOPLIST_FILE"
[Added " around final file argument]
The text was updated successfully, but these errors were encountered:
Thank you @richardgroves! I will fix it.
Sorry, something went wrong.
Successfully merging a pull request may close this issue.
Short description
If the project folder has a space in the path then building the Samples app fails due to an error in the build script phase
Expected behavior
It builds
Actual behavior
Errors with
"Command PhaseScriptExecution failed with a nonzero exit code"
Steps to reproduce
Build Sample app from a folder that has a space in the path
Code example that reproduces the issue
Environment
Catalina 10.15.3, XCode 11.3.1
Library version
1.7.2
Installation method
git clone of repo
iOS version(s)
13.3
Xcode version
11.3.1
Can be fixed by changing Run Script command to:
/usr/libexec/PlistBuddy -c "Set :CFBundleVersion $(git rev-parse --abbrev-ref HEAD)($(git rev-parse --short HEAD))" "$SRCROOT/$INFOPLIST_FILE"
[Added " around final file argument]
The text was updated successfully, but these errors were encountered: