Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
C
cocoapods
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
gengmeiios
cocoapods
Commits
7552843a
Commit
7552843a
authored
May 09, 2018
by
Keith Smiley
Committed by
Samuel Giddins
May 09, 2018
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Allow EXPANDED_CODE_SIGN_IDENTITY to be unset
This is unset for some test target configurations.
parent
7d6405dc
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
1 deletion
+4
-1
CHANGELOG.md
CHANGELOG.md
+3
-0
embed_frameworks_script.rb
lib/cocoapods/generator/embed_frameworks_script.rb
+1
-1
No files found.
CHANGELOG.md
View file @
7552843a
...
@@ -44,6 +44,9 @@ To install release candidates run `[sudo] gem install cocoapods --pre`
...
@@ -44,6 +44,9 @@ To install release candidates run `[sudo] gem install cocoapods --pre`
[
Samuel Giddins
](
https://github.com/segiddins
)
[
Samuel Giddins
](
https://github.com/segiddins
)
[
#7570
](
https://github.com/CocoaPods/CocoaPods/pull/7570
)
[
#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)
## 1.5.2 (2018-05-09)
...
...
lib/cocoapods/generator/embed_frameworks_script.rb
View file @
7552843a
...
@@ -138,7 +138,7 @@ module Pod
...
@@ -138,7 +138,7 @@ module Pod
# Signs a framework with the provided identity
# Signs a framework with the provided identity
code_sign_if_enabled() {
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
# Use the current code_sign_identitiy
echo "Code Signing $1 with Identity ${EXPANDED_CODE_SIGN_IDENTITY_NAME}"
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'"
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment