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
ef070a7f
Commit
ef070a7f
authored
Sep 18, 2014
by
Marius Rackwitz
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Explicitly disable initial code signing for OS X framework targets
parent
154dd956
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
21 additions
and
0 deletions
+21
-0
xcconfig_helper.rb
lib/cocoapods/generator/xcconfig/xcconfig_helper.rb
+21
-0
No files found.
lib/cocoapods/generator/xcconfig/xcconfig_helper.rb
View file @
ef070a7f
...
@@ -88,6 +88,24 @@ module Pod
...
@@ -88,6 +88,24 @@ module Pod
xcconfig
.
merge!
(
build_settings
)
xcconfig
.
merge!
(
build_settings
)
end
end
# Add the code signing settings for generated targets to ensure that
# frameworks are correctly signed to be integrated and re-signed when
# building the application and embedding the framework
#
# @param [Target] target
# The target.
#
# @param [Xcodeproj::Config] xcconfig
# The xcconfig to edit.
#
def
self
.
add_code_signing_settings
(
target
,
xcconfig
)
build_settings
=
{}
if
target
.
platform
.
to_sym
==
:osx
build_settings
[
'CODE_SIGN_IDENTITY'
]
=
''
end
xcconfig
.
merge!
(
build_settings
)
end
# Checks if the given target requires specific settings and configures
# Checks if the given target requires specific settings and configures
# the given Xcconfig.
# the given Xcconfig.
#
#
...
@@ -98,6 +116,9 @@ module Pod
...
@@ -98,6 +116,9 @@ module Pod
# The xcconfig to edit.
# The xcconfig to edit.
#
#
def
self
.
add_target_specific_settings
(
target
,
xcconfig
)
def
self
.
add_target_specific_settings
(
target
,
xcconfig
)
if
target
.
requires_framework?
add_code_signing_settings
(
target
,
xcconfig
)
end
add_language_specific_settings
(
target
,
xcconfig
)
add_language_specific_settings
(
target
,
xcconfig
)
end
end
...
...
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