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
807d982f
Commit
807d982f
authored
Aug 16, 2015
by
Marius Rackwitz
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[TargetIntegrator] Add overdue migration path to 0.37.1
parent
a7e32afd
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
0 deletions
+13
-0
target_integrator.rb
...ds/installer/user_project_integrator/target_integrator.rb
+13
-0
No files found.
lib/cocoapods/installer/user_project_integrator/target_integrator.rb
View file @
807d982f
...
@@ -42,6 +42,7 @@ module Pod
...
@@ -42,6 +42,7 @@ module Pod
project_is_dirty
=
[
project_is_dirty
=
[
XCConfigIntegrator
.
integrate
(
target
,
native_targets
),
XCConfigIntegrator
.
integrate
(
target
,
native_targets
),
update_to_cocoapods_0_34
,
update_to_cocoapods_0_34
,
update_to_cocoapods_0_37_1
,
remove_embed_frameworks_script_phases
,
remove_embed_frameworks_script_phases
,
unless
native_targets_to_integrate
.
empty?
unless
native_targets_to_integrate
.
empty?
add_pods_library
add_pods_library
...
@@ -104,6 +105,18 @@ module Pod
...
@@ -104,6 +105,18 @@ module Pod
changes
changes
end
end
# Removes the embed frameworks phase for target types.
#
# @return [Bool] whether any changes to the project were made.
#
# @todo This can be removed for CocoaPods 1.0
#
def
update_to_cocoapods_0_37_1
(
native_targets
-
native_targets_to_embed_in
).
any?
do
|
native_target
|
remove_embed_frameworks_script_phase
(
native_target
)
end
end
# Adds spec product reference to the frameworks build phase of the
# Adds spec product reference to the frameworks build phase of the
# {TargetDefinition} integration libraries. Adds a file reference to
# {TargetDefinition} integration libraries. Adds a file reference to
# the frameworks group of the project and adds it to the frameworks
# the frameworks group of the project and adds it to the frameworks
...
...
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