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
b3b208b3
Commit
b3b208b3
authored
Oct 23, 2016
by
Ben Asher
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed target_swift_version
parent
32e84e15
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
aggregate_xcconfig.rb
lib/cocoapods/generator/xcconfig/aggregate_xcconfig.rb
+3
-2
No files found.
lib/cocoapods/generator/xcconfig/aggregate_xcconfig.rb
View file @
b3b208b3
...
@@ -88,9 +88,10 @@ module Pod
...
@@ -88,9 +88,10 @@ module Pod
protected
protected
# @return String the SWIFT_VERSION of the target being integrated
#
def
target_swift_version
def
target_swift_version
settings
=
target
.
native_target
.
resolved_build_setting
(
'SWIFT_VERSION'
)
unless
target
.
native_target
.
nil?
target
.
target_definition
.
swift_version
unless
target
.
target_definition
.
swift_version
.
blank?
settings
.
values
.
compact
.
uniq
.
first
unless
settings
.
nil?
end
end
EMBED_STANDARD_LIBRARIES_MINIMUM_VERSION
=
Gem
::
Version
.
new
(
'2.3'
)
EMBED_STANDARD_LIBRARIES_MINIMUM_VERSION
=
Gem
::
Version
.
new
(
'2.3'
)
...
...
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