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
e4f48df8
Commit
e4f48df8
authored
Dec 16, 2014
by
Marius Rackwitz
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[Style] Improved code readability
parent
5edcc46b
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
5 deletions
+6
-5
aggregate_xcconfig.rb
lib/cocoapods/generator/xcconfig/aggregate_xcconfig.rb
+6
-5
No files found.
lib/cocoapods/generator/xcconfig/aggregate_xcconfig.rb
View file @
e4f48df8
...
@@ -86,11 +86,12 @@ module Pod
...
@@ -86,11 +86,12 @@ module Pod
# Add pod target to list of frameworks / libraries that are
# Add pod target to list of frameworks / libraries that are
# linked with the user’s project.
# linked with the user’s project.
next
unless
pod_target
.
should_build?
if
pod_target
.
should_build?
if
pod_target
.
requires_frameworks?
if
pod_target
.
requires_frameworks?
@xcconfig
.
merge!
(
'OTHER_LDFLAGS'
=>
%(-framework "#{pod_target.product_basename}")
)
@xcconfig
.
merge!
(
'OTHER_LDFLAGS'
=>
%(-framework "#{pod_target.product_basename}")
)
else
else
@xcconfig
.
merge!
(
'OTHER_LDFLAGS'
=>
%(-l "#{pod_target.product_basename}")
)
@xcconfig
.
merge!
(
'OTHER_LDFLAGS'
=>
%(-l "#{pod_target.product_basename}")
)
end
end
end
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