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
53286f18
Commit
53286f18
authored
Mar 20, 2018
by
Dimitris Koutsogiorgas
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix to use common method for resource bundle Info.plist file generation
parent
18fd90e1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
6 deletions
+2
-6
pod_target_installer.rb
...ller/xcode/pods_project_generator/pod_target_installer.rb
+1
-5
cocoapods-integration-specs
spec/cocoapods-integration-specs
+1
-1
No files found.
lib/cocoapods/installer/xcode/pods_project_generator/pod_target_installer.rb
View file @
53286f18
...
...
@@ -343,14 +343,10 @@ module Pod
path
=
target
.
info_plist_path
path
.
dirname
.
mkdir
unless
path
.
dirname
.
exist?
info_plist_path
=
path
.
dirname
+
"ResourceBundle-
#{
bundle_name
}
-
#{
path
.
basename
}
"
generator
=
Generator
::
InfoPlistFile
.
new
(
target
.
version
,
target
.
platform
,
:bndl
)
update_changed_file
(
generator
,
info_plist_path
)
add_file_to_support_group
(
info_plist_path
)
create_info_plist_file
(
info_plist_path
,
bundle_target
,
target
.
version
,
target
.
platform
,
:bndl
)
bundle_target
.
build_configurations
.
each
do
|
c
|
c
.
build_settings
[
'PRODUCT_NAME'
]
=
bundle_name
relative_info_plist_path
=
info_plist_path
.
relative_path_from
(
sandbox
.
root
)
c
.
build_settings
[
'INFOPLIST_FILE'
]
=
relative_info_plist_path
.
to_s
# Do not set the CONFIGURATION_BUILD_DIR for resource bundles that are only meant for test targets.
# This is because the test target itself also does not set this configuration build dir and it expects
# all bundles to be copied from the default path.
...
...
cocoapods-integration-specs
@
a0d94ce4
Subproject commit
2d2080607906ab24b07f513c2c5028ca38d9713c
Subproject commit
a0d94ce49fc8fc49048830bda60e10132190934e
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