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
5cb58ad0
Commit
5cb58ad0
authored
Apr 18, 2013
by
Jeremy Slater
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Only add a single Manifest.lock phase when dealing with multiple specs
parent
fbfea264
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletion
+3
-1
target_integrator.rb
...ds/installer/user_project_integrator/target_integrator.rb
+3
-1
No files found.
lib/cocoapods/installer/user_project_integrator/target_integrator.rb
View file @
5cb58ad0
...
...
@@ -144,10 +144,12 @@ module Pod
# @return [void]
#
def
add_check_manifest_lock_script_phase
phase_name
=
'Check Pods Manifest.lock'
targets
.
each
do
|
target
|
next
if
target
.
shell_script_build_phases
.
any?
{
|
phase
|
phase
.
name
==
phase_name
}
phase
=
target
.
project
.
new
(
Xcodeproj
::
Project
::
Object
::
PBXShellScriptBuildPhase
)
target
.
build_phases
.
unshift
(
phase
)
phase
.
name
=
'Check Pods Manifest.lock'
phase
.
name
=
phase_name
phase
.
shell_script
=
<<-
EOS
.
strip_heredoc
diff "${PODS_ROOT}/../Podfile.lock" "${PODS_ROOT}/Manifest.lock" > /dev/null
if [[ $? != 0 ]] ; then
...
...
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