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
d0b50423
Commit
d0b50423
authored
Oct 31, 2015
by
Samuel Giddins
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[PodTargetInstaller] Use the proper deployment target for the resource bundle targets
parent
06e2f565
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
pod_target_installer.rb
...oapods/installer/target_installer/pod_target_installer.rb
+1
-1
pod_target_installer_spec.rb
...t/installer/target_installer/pod_target_installer_spec.rb
+1
-1
No files found.
lib/cocoapods/installer/target_installer/pod_target_installer.rb
View file @
d0b50423
...
...
@@ -112,7 +112,7 @@ module Pod
file_references
=
paths
.
map
{
|
sf
|
project
.
reference_for_path
(
sf
)
}
label
=
target
.
resources_bundle_target_label
(
bundle_name
)
bundle_target
=
project
.
new_resources_bundle
(
label
,
file_accessor
.
spec_consumer
.
platform_name
)
bundle_target
.
deployment_target
=
target
.
platform
.
deployment_target
.
to_s
bundle_target
.
deployment_target
=
deployment_target
bundle_target
.
product_reference
.
tap
do
|
bundle_product
|
bundle_file_name
=
"
#{
bundle_name
}
.bundle"
bundle_product
.
name
=
bundle_file_name
...
...
spec/unit/installer/target_installer/pod_target_installer_spec.rb
View file @
d0b50423
...
...
@@ -149,7 +149,7 @@ module Pod
bundle_target
.
product_reference
.
name
.
should
==
'banana_bundle.bundle'
bundle_target
.
product_reference
.
path
.
should
==
'banana_bundle.bundle'
bundle_target
.
platform_name
.
should
==
:ios
bundle_target
.
deployment_target
.
should
==
'
6.0
'
bundle_target
.
deployment_target
.
should
==
'
4.3
'
end
it
'adds the build configurations to the resources bundle targets'
do
...
...
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