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

Shell-escaped the project path that we use for xcodebuild and lipo. #89

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

antonino-u
Copy link

@antonino-u antonino-u commented Aug 24, 2019

Resolves issue #88.
Shellwords is built into Ruby, see the doc for what it does here: https://ruby-doc.org/stdlib-2.0.0//libdoc/shellwords/rdoc/Shellwords.html

In short, a path string like /hello world' becomes suitably escaped for shell use, and transformed into /hello\ world`.

.shellescape was added to string variables passed to both xcodebuild and lipo, and now things work as expected when there are characters (like spaces) that need to be escaped in the file paths.

@antonino-u antonino-u changed the title Shell-escaped the project path that we use for xcodebuild. Shell-escaped the project path that we use for xcodebuild and lipo. Aug 24, 2019
@antonino-u
Copy link
Author

Please Note: the failing build has nothing to do with my change...

@MariuszWisniewski
Copy link

I can confirm and reproduce same issue in our project, and can confirm this PR fixes it.
Would be great if this PR could be merged @leavez

@NathanielBlackburn
Copy link

I can also confirm that it's an issue with projects where the build scheme contains spaces. This PR fixes the problem, please consider merging @leavez

@ghost
Copy link

ghost commented Mar 26, 2020

This PR fixes the problem with spaces in build scheme. Please merge it @leavez

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 this pull request may close these issues.

3 participants