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
573e0267
Commit
573e0267
authored
Dec 24, 2014
by
Marius Rackwitz
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[Style] Write UI messages in gerund
parent
7e5e4b33
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
target_integrator.rb
...ds/installer/user_project_integrator/target_integrator.rb
+2
-2
No files found.
lib/cocoapods/installer/user_project_integrator/target_integrator.rb
View file @
573e0267
...
...
@@ -109,7 +109,7 @@ module Pod
old_product_name
=
target
.
requires_frameworks?
?
target
.
static_library_name
:
target
.
framework_name
old_product_ref
=
frameworks
.
files
.
find
{
|
f
|
f
.
path
==
old_product_name
}
if
old_product_ref
.
present?
UI
.
message
(
"Remov
e
old Pod product reference
#{
old_product_name
}
from project."
)
UI
.
message
(
"Remov
ing
old Pod product reference
#{
old_product_name
}
from project."
)
build_phase
.
remove_file_reference
(
old_product_ref
)
frameworks
.
remove_reference
(
old_product_ref
)
end
...
...
@@ -139,7 +139,7 @@ module Pod
native_targets_to_integrate
.
each
do
|
native_target
|
embed_build_phase
=
native_target
.
shell_script_build_phases
.
find
{
|
bp
|
bp
.
name
==
phase_name
}
unless
embed_build_phase
.
present?
UI
.
message
(
"Add Build Phase '
#{
phase_name
}
' to project."
)
UI
.
message
(
"Add
ing
Build Phase '
#{
phase_name
}
' to project."
)
embed_build_phase
=
native_target
.
new_shell_script_build_phase
(
phase_name
)
end
script_path
=
target
.
embed_frameworks_script_relative_path
...
...
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