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
7e5e4b33
Commit
7e5e4b33
authored
Dec 24, 2014
by
Marius Rackwitz
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[Refactor] Use || instead of explicit branching
parent
bdd89071
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
3 deletions
+2
-3
target_integrator.rb
...ds/installer/user_project_integrator/target_integrator.rb
+2
-3
No files found.
lib/cocoapods/installer/user_project_integrator/target_integrator.rb
View file @
7e5e4b33
...
...
@@ -118,9 +118,8 @@ module Pod
target_basename
=
target
.
product_basename
new_product_ref
=
frameworks
.
files
.
find
{
|
f
|
f
.
path
==
target
.
product_name
}
||
frameworks
.
new_product_ref_for_target
(
target_basename
,
target
.
product_type
)
unless
build_file
=
build_phase
.
build_file
(
new_product_ref
)
build_file
=
build_phase
.
add_file_reference
(
new_product_ref
)
end
build_file
=
build_phase
.
build_file
(
new_product_ref
)
||
build_phase
.
add_file_reference
(
new_product_ref
)
if
target
.
requires_frameworks?
# Weak link the aggregate target's product, because as it contains
# no symbols, it isn't copied into the app bundle. dyld will so
...
...
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