cocoapods-binary
cocoapods-binary copied to clipboard
Shell-escaped the project path that we use for xcodebuild and lipo.
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.
Please Note: the failing build has nothing to do with my change...
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
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
This PR fixes the problem with spaces in build scheme. Please merge it @leavez