Unverified Commit 991624d0 authored by Sam Gammon's avatar Sam Gammon Committed by Sam Gammon

Fix codesigning issues with spaces

This small change fixes an issue with `{target}-frameworks.sh`, wherein spaces in the target cause a `No such file or directory` error. The fix is simple: wrap `code_sign_if_enabled` in quotes. Works in my local env and hope it works in yours too 👍

Fixes and closes CocoaPods/CocoaPods#6153.
parent 1db1c555
...@@ -11,6 +11,9 @@ To install release candidates run `[sudo] gem install cocoapods --pre` ...@@ -11,6 +11,9 @@ To install release candidates run `[sudo] gem install cocoapods --pre`
* None. * None.
##### Bug Fixes ##### Bug Fixes
* Fix codesigning issues when targets have spaces.
[Sam Gammon](https://github.com/sgammon)
[#6153](https://github.com/CocoaPods/CocoaPods/issues/6153)
* Raise an exception if unable to find a reference for a path and handle symlink references. * Raise an exception if unable to find a reference for a path and handle symlink references.
[Dimitris Koutsogiorgas](https://github.com/dnkoutso) [Dimitris Koutsogiorgas](https://github.com/dnkoutso)
......
...@@ -77,7 +77,7 @@ module Pod ...@@ -77,7 +77,7 @@ module Pod
fi fi
# Resign the code if required by the build settings to avoid unstable apps # Resign the code if required by the build settings to avoid unstable apps
code_sign_if_enabled "${destination}/$(basename "$1")" code_sign_if_enabled "\"${destination}/$(basename "$1")\""
# Embed linked Swift runtime libraries. No longer necessary as of Xcode 7. # Embed linked Swift runtime libraries. No longer necessary as of Xcode 7.
if [ "${XCODE_VERSION_MAJOR}" -lt 7 ]; then if [ "${XCODE_VERSION_MAJOR}" -lt 7 ]; then
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment