Unverified Commit 96c49212 authored by D. Koutsogiorgas's avatar D. Koutsogiorgas Committed by GitHub

Merge pull request #7720 from CocoaPods/ks/allow-no-identity

Allow EXPANDED_CODE_SIGN_IDENTITY to be unset
parents 7d6405dc 8630c58e
......@@ -44,6 +44,9 @@ To install release candidates run `[sudo] gem install cocoapods --pre`
[Samuel Giddins](https://github.com/segiddins)
[#7570](https://github.com/CocoaPods/CocoaPods/pull/7570)
* Allow `EXPANDED_CODE_SIGN_IDENTITY` to be unset.
[Keith Smiley](https://github.com/keith)
[#7708](https://github.com/CocoaPods/CocoaPods/issues/7708)
## 1.5.2 (2018-05-09)
......
......@@ -138,7 +138,7 @@ module Pod
# Signs a framework with the provided identity
code_sign_if_enabled() {
if [ -n "${EXPANDED_CODE_SIGN_IDENTITY}" -a "${CODE_SIGNING_REQUIRED:-}" != "NO" -a "${CODE_SIGNING_ALLOWED}" != "NO" ]; then
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'"
......
Subproject commit dd63f1db0cda5489fbcc0b0c0ebe1f4b7ddbb0e7
Subproject commit 79d702f5c41e042672f0605437ce472b0d36a7a0
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