Commit 2d4d97be authored by Ben Asher's avatar Ben Asher Committed by GitHub

Merge pull request #6160 from momentum/fix/issue-6153

[Embed] Fix codesigning issues when targets have spaces
parents 6912516c e1c5f44e
......@@ -12,6 +12,10 @@ To install release candidates run `[sudo] gem install cocoapods --pre`
##### 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.
[Dimitris Koutsogiorgas](https://github.com/dnkoutso)
[#5427](https://github.com/CocoaPods/CocoaPods/issues/5427)
......
......@@ -96,7 +96,7 @@ module Pod
if [ -n "${EXPANDED_CODE_SIGN_IDENTITY}" -a "${CODE_SIGNING_REQUIRED}" != "NO" -a "${CODE_SIGNING_ALLOWED}" != "NO" ]; then
# Use the current code_sign_identitiy
echo "Code Signing $1 with Identity ${EXPANDED_CODE_SIGN_IDENTITY_NAME}"
local code_sign_cmd="/usr/bin/codesign --force --sign ${EXPANDED_CODE_SIGN_IDENTITY} ${OTHER_CODE_SIGN_FLAGS} --preserve-metadata=identifier,entitlements \\"$1\\""
local code_sign_cmd="/usr/bin/codesign --force --sign ${EXPANDED_CODE_SIGN_IDENTITY} ${OTHER_CODE_SIGN_FLAGS} --preserve-metadata=identifier,entitlements '$1'"
if [ "${COCOAPODS_PARALLEL_CODE_SIGN}" == "true" ]; then
code_sign_cmd="$code_sign_cmd &"
......
Subproject commit d7a6d6157f8c6e8cea96904ccc5b744d7ea58536
Subproject commit 4892acfe061146fe23a48a9dc0a470bba207649b
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