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
de94188a
Commit
de94188a
authored
Aug 28, 2013
by
Fabio Pelosin
Committed by
Fabio Pelosin
Sep 04, 2013
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[PodTargetInstaller] Add user build configurations to resource bundles
Closes CocoaPods/CocoaPods#1309
parent
292ab701
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
16 additions
and
9 deletions
+16
-9
CHANGELOG.md
CHANGELOG.md
+5
-0
Gemfile.lock
Gemfile.lock
+1
-1
target_installer.rb
lib/cocoapods/installer/target_installer.rb
+1
-7
pod_target_installer.rb
...oapods/installer/target_installer/pod_target_installer.rb
+4
-0
cocoapods-integration-specs
spec/cocoapods-integration-specs
+1
-1
pod_target_installer_spec.rb
...t/installer/target_installer/pod_target_installer_spec.rb
+4
-0
No files found.
CHANGELOG.md
View file @
de94188a
...
...
@@ -54,6 +54,11 @@ To install or update CocoaPods see this [guide](http://docs.cocoapods.org/guides
[
Nikolaj Schumacher
](
https://github.com/nschum
)
[
#1063
](
https://github.com/CocoaPods/CocoaPods/issues/1063
)
*
User defined build configurations are now added to the resource bundle
targets.
[
#1309
](
https://github.com/CocoaPods/CocoaPods/issues/1309
)
,
## 0.23.0
...
...
Gemfile.lock
View file @
de94188a
...
...
@@ -17,7 +17,7 @@ GIT
GIT
remote: https://github.com/CocoaPods/Xcodeproj.git
revision:
df4686205a651aca5acb9cdb47b5032e717d98f5
revision:
011187e211ecd625e9209f54c926c644db0f70f9
branch: master
specs:
xcodeproj (0.9.0)
...
...
lib/cocoapods/installer/target_installer.rb
View file @
de94188a
...
...
@@ -52,13 +52,7 @@ module Pod
@target
.
build_settings
(
'Release'
).
merge!
(
settings
)
library
.
user_build_configurations
.
each
do
|
bc_name
,
type
|
unless
@target
.
build_configurations
.
map
(
&
:name
).
include?
(
bc_name
)
build_config
=
project
.
new
(
Xcodeproj
::
Project
::
XCBuildConfiguration
)
build_config
.
name
=
bc_name
settings
=
@target
.
build_settings
(
type
.
to_s
.
capitalize
).
dup
build_config
.
build_settings
=
settings
target
.
build_configurations
<<
build_config
end
@target
.
add_build_configuration
(
bc_name
,
type
)
end
library
.
target
=
@target
...
...
lib/cocoapods/installer/target_installer/pod_target_installer.rb
View file @
de94188a
...
...
@@ -71,6 +71,10 @@ module Pod
bundle_target
=
project
.
new_resources_bundle
(
bundle_name
,
file_accessor
.
spec_consumer
.
platform_name
,
product_group
)
bundle_target
.
add_resources
(
file_references
)
library
.
user_build_configurations
.
each
do
|
bc_name
,
type
|
bundle_target
.
add_build_configuration
(
bc_name
,
type
)
end
target
.
add_dependency
(
bundle_target
)
end
end
...
...
cocoapods-integration-specs
@
38233cf1
Subproject commit
72e16098943ff0c289fdb4ab0794831a15b2a91e
Subproject commit
38233cf183d62dd70fdc874ae42c9fdf58a558e4
spec/unit/installer/target_installer/pod_target_installer_spec.rb
View file @
de94188a
...
...
@@ -106,6 +106,10 @@ module Pod
end
xit
'adds the build configurations to the resources bundle targets'
do
end
#--------------------------------------#
it
"creates the xcconfig file"
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