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
d0ffe31e
Commit
d0ffe31e
authored
Jul 26, 2014
by
Fabio Pelosin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[XCConfigIntegrator] Downcase the name of the build configurations
parent
d897a371
Show whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
24 additions
and
20 deletions
+24
-20
project.pbxproj
...xample/AFNetworking Mac Example.xcodeproj/project.pbxproj
+6
-6
project.pbxproj
...xample/AFNetworking iOS Example.xcodeproj/project.pbxproj
+6
-2
target.rb
lib/cocoapods/target.rb
+1
-1
cocoapods-integration-specs
spec/cocoapods-integration-specs
+1
-1
aggregate_target_installer_spec.rb
...aller/target_installer/aggregate_target_installer_spec.rb
+4
-4
xcconfig_integrator_spec.rb
..._integrator/target_integrator/xcconfig_integrator_spec.rb
+1
-1
library_spec.rb
spec/unit/library_spec.rb
+2
-2
aggregate_target_spec.rb
spec/unit/target/aggregate_target_spec.rb
+2
-2
pod_target_spec.rb
spec/unit/target/pod_target_spec.rb
+1
-1
No files found.
examples/AFNetworking Example/AFNetworking Mac Example.xcodeproj/project.pbxproj
View file @
d0ffe31e
...
...
@@ -19,8 +19,8 @@
/* End PBXBuildFile section */
/* Begin PBXFileReference section */
1
18DF2C9405612B45655D94E
/* Pods-AFNetworking Example.Release.xcconfig */
=
{
isa
=
PBXFileReference
;
includeInIndex
=
1
;
lastKnownFileType
=
text.xcconfig
;
name
=
"Pods-AFNetworking Example.Release.xcconfig"
;
path
=
"Pods/Pods-AFNetworking Example.R
elease.xcconfig"
;
sourceTree
=
"<group>"
;
};
1BC0FB7006F49381520A8545
/* Pods-AFNetworking Example.Debug.xcconfig */
=
{
isa
=
PBXFileReference
;
includeInIndex
=
1
;
lastKnownFileType
=
text.xcconfig
;
name
=
"Pods-AFNetworking Example.Debug.xcconfig"
;
path
=
"Pods/Pods-AFNetworking Example.D
ebug.xcconfig"
;
sourceTree
=
"<group>"
;
};
1
489BC7C65DCCDA21BD9C10D
/* Pods-AFNetworking Example.release.xcconfig */
=
{
isa
=
PBXFileReference
;
includeInIndex
=
1
;
lastKnownFileType
=
text.xcconfig
;
name
=
"Pods-AFNetworking Example.release.xcconfig"
;
path
=
"Pods/Pods-AFNetworking Example.r
elease.xcconfig"
;
sourceTree
=
"<group>"
;
};
206C0CA2FCD1CCE9783CC39F
/* Pods-AFNetworking Example.debug.xcconfig */
=
{
isa
=
PBXFileReference
;
includeInIndex
=
1
;
lastKnownFileType
=
text.xcconfig
;
name
=
"Pods-AFNetworking Example.debug.xcconfig"
;
path
=
"Pods/Pods-AFNetworking Example.d
ebug.xcconfig"
;
sourceTree
=
"<group>"
;
};
6935B1E417A24F0E958977ED
/* libPods-AFNetworking Example.a */
=
{
isa
=
PBXFileReference
;
explicitFileType
=
archive.ar
;
includeInIndex
=
0
;
path
=
"libPods-AFNetworking Example.a"
;
sourceTree
=
BUILT_PRODUCTS_DIR
;
};
B304CCE7177D58DD00F4FC85
/* adn.cer */
=
{
isa
=
PBXFileReference
;
lastKnownFileType
=
file
;
path
=
adn.cer
;
sourceTree
=
SOURCE_ROOT
;
};
F8129BFB1591061B009BFE23
/* AFNetworking Example.app */
=
{
isa
=
PBXFileReference
;
explicitFileType
=
wrapper.application
;
includeInIndex
=
0
;
path
=
"AFNetworking Example.app"
;
sourceTree
=
BUILT_PRODUCTS_DIR
;
};
...
...
@@ -61,8 +61,8 @@
F8129C051591061B009BFE23
/* Classes */
,
F8129BFE1591061B009BFE23
/* Frameworks */
,
F8129BFC1591061B009BFE23
/* Products */
,
1BC0FB7006F49381520A8545
/* Pods-AFNetworking Example.D
ebug.xcconfig */
,
1
18DF2C9405612B45655D94E
/* Pods-AFNetworking Example.R
elease.xcconfig */
,
206C0CA2FCD1CCE9783CC39F
/* Pods-AFNetworking Example.d
ebug.xcconfig */
,
1
489BC7C65DCCDA21BD9C10D
/* Pods-AFNetworking Example.r
elease.xcconfig */
,
);
indentWidth
=
4
;
sourceTree
=
"<group>"
;
...
...
@@ -298,7 +298,7 @@
};
F8129C1A1591061B009BFE23
/* Debug */
=
{
isa
=
XCBuildConfiguration
;
baseConfigurationReference
=
1BC0FB7006F49381520A8545
/* Pods-AFNetworking Example.D
ebug.xcconfig */
;
baseConfigurationReference
=
206C0CA2FCD1CCE9783CC39F
/* Pods-AFNetworking Example.d
ebug.xcconfig */
;
buildSettings
=
{
CODE_SIGN_IDENTITY
=
""
;
COMBINE_HIDPI_IMAGES
=
YES
;
...
...
@@ -312,7 +312,7 @@
};
F8129C1B1591061B009BFE23
/* Release */
=
{
isa
=
XCBuildConfiguration
;
baseConfigurationReference
=
1
18DF2C9405612B45655D94E
/* Pods-AFNetworking Example.R
elease.xcconfig */
;
baseConfigurationReference
=
1
489BC7C65DCCDA21BD9C10D
/* Pods-AFNetworking Example.r
elease.xcconfig */
;
buildSettings
=
{
CODE_SIGN_IDENTITY
=
""
;
COMBINE_HIDPI_IMAGES
=
YES
;
...
...
examples/AFNetworking Example/AFNetworking iOS Example.xcodeproj/project.pbxproj
View file @
d0ffe31e
...
...
@@ -33,6 +33,8 @@
/* End PBXBuildFile section */
/* Begin PBXFileReference section */
08ACA902EBEF3347432C3442
/* Pods-AFNetworking iOS Example.release.xcconfig */
=
{
isa
=
PBXFileReference
;
includeInIndex
=
1
;
lastKnownFileType
=
text.xcconfig
;
name
=
"Pods-AFNetworking iOS Example.release.xcconfig"
;
path
=
"Pods/Pods-AFNetworking iOS Example.release.xcconfig"
;
sourceTree
=
"<group>"
;
};
17E95B75D4453CE0BA3028FF
/* Pods-AFNetworking iOS Example.debug.xcconfig */
=
{
isa
=
PBXFileReference
;
includeInIndex
=
1
;
lastKnownFileType
=
text.xcconfig
;
name
=
"Pods-AFNetworking iOS Example.debug.xcconfig"
;
path
=
"Pods/Pods-AFNetworking iOS Example.debug.xcconfig"
;
sourceTree
=
"<group>"
;
};
2982AD3117107C0000FFF048
/* adn.cer */
=
{
isa
=
PBXFileReference
;
lastKnownFileType
=
file
;
path
=
adn.cer
;
sourceTree
=
SOURCE_ROOT
;
};
50ABD6EC159FC2CE001BE42C
/* MobileCoreServices.framework */
=
{
isa
=
PBXFileReference
;
lastKnownFileType
=
wrapper.framework
;
name
=
MobileCoreServices.framework
;
path
=
System/Library/Frameworks/MobileCoreServices.framework
;
sourceTree
=
SDKROOT
;
};
7384432FCC95B62DB577C5D3
/* Pods-AFNetworking iOS Example.Release.xcconfig */
=
{
isa
=
PBXFileReference
;
includeInIndex
=
1
;
lastKnownFileType
=
text.xcconfig
;
name
=
"Pods-AFNetworking iOS Example.Release.xcconfig"
;
path
=
"Pods/Pods-AFNetworking iOS Example.Release.xcconfig"
;
sourceTree
=
"<group>"
;
};
...
...
@@ -133,6 +135,8 @@
F8E469611395739C00DB05C8
/* Products */
,
B5BF8B2301C54A4C220FBB61
/* Pods-AFNetworking iOS Example.Debug.xcconfig */
,
7384432FCC95B62DB577C5D3
/* Pods-AFNetworking iOS Example.Release.xcconfig */
,
17E95B75D4453CE0BA3028FF
/* Pods-AFNetworking iOS Example.debug.xcconfig */
,
08ACA902EBEF3347432C3442
/* Pods-AFNetworking iOS Example.release.xcconfig */
,
);
indentWidth
=
4
;
sourceTree
=
"<group>"
;
...
...
@@ -358,7 +362,7 @@
};
F8E469821395739D00DB05C8
/* Debug */
=
{
isa
=
XCBuildConfiguration
;
baseConfigurationReference
=
B5BF8B2301C54A4C220FBB61
/* Pods-AFNetworking iOS Example.D
ebug.xcconfig */
;
baseConfigurationReference
=
17E95B75D4453CE0BA3028FF
/* Pods-AFNetworking iOS Example.d
ebug.xcconfig */
;
buildSettings
=
{
ALWAYS_SEARCH_USER_PATHS
=
NO
;
CLANG_ENABLE_OBJC_ARC
=
YES
;
...
...
@@ -380,7 +384,7 @@
};
F8E469831395739D00DB05C8
/* Release */
=
{
isa
=
XCBuildConfiguration
;
baseConfigurationReference
=
7384432FCC95B62DB577C5D3
/* Pods-AFNetworking iOS Example.R
elease.xcconfig */
;
baseConfigurationReference
=
08ACA902EBEF3347432C3442
/* Pods-AFNetworking iOS Example.r
elease.xcconfig */
;
buildSettings
=
{
ALWAYS_SEARCH_USER_PATHS
=
NO
;
CLANG_ENABLE_OBJC_ARC
=
YES
;
...
...
lib/cocoapods/target.rb
View file @
d0ffe31e
...
...
@@ -85,7 +85,7 @@ module Pod
#
def
xcconfig_path
(
variant
=
nil
)
if
variant
support_files_root
+
"
#{
label
}
.
#{
variant
}
.xcconfig"
support_files_root
+
"
#{
label
}
.
#{
variant
.
downcase
}
.xcconfig"
else
support_files_root
+
"
#{
label
}
.xcconfig"
end
...
...
cocoapods-integration-specs
@
a25af1f9
Subproject commit
40b03ee32f6f2d7935ee7bd7b0379ca550ad828c
Subproject commit
a25af1f983d611cc1e709680ed9af26e9fa3bb29
spec/unit/installer/target_installer/aggregate_target_installer_spec.rb
View file @
d0ffe31e
...
...
@@ -48,10 +48,10 @@ module Pod
"Pods-dummy.m"
,
"Pods-environment.h"
,
"Pods-resources.sh"
,
"Pods.
AppS
tore.xcconfig"
,
"Pods.
D
ebug.xcconfig"
,
"Pods.
R
elease.xcconfig"
,
"Pods.
T
est.xcconfig"
"Pods.
apps
tore.xcconfig"
,
"Pods.
d
ebug.xcconfig"
,
"Pods.
r
elease.xcconfig"
,
"Pods.
t
est.xcconfig"
]
end
...
...
spec/unit/installer/user_project_integrator/target_integrator/xcconfig_integrator_spec.rb
View file @
d0ffe31e
...
...
@@ -37,7 +37,7 @@ module Pod
it
'sets the Pods xcconfig as the base config for each build configuration'
do
XCConfigIntegrator
.
integrate
(
@pod_bundle
,
[
@target
])
@target
.
build_configurations
.
each
do
|
config
|
xcconfig_file
=
@project
.
files
.
find
{
|
f
|
f
.
path
==
@pod_bundle
.
xcconfig_relative_path
(
config
)
}
xcconfig_file
=
@project
.
files
.
find
{
|
f
|
f
.
path
==
@pod_bundle
.
xcconfig_relative_path
(
config
.
name
)
}
config
.
base_configuration_reference
.
should
==
xcconfig_file
end
end
...
...
spec/unit/library_spec.rb
View file @
d0ffe31e
...
...
@@ -36,7 +36,7 @@ module Pod
end
it
"returns the absolute path of the xcconfig file"
do
@lib
.
xcconfig_path
(
"Release"
).
to_s
.
should
.
include?
(
'Pods/Pods.
R
elease.xcconfig'
)
@lib
.
xcconfig_path
(
"Release"
).
to_s
.
should
.
include?
(
'Pods/Pods.
r
elease.xcconfig'
)
end
it
"returns the absolute path of the resources script"
do
...
...
@@ -66,7 +66,7 @@ module Pod
end
it
"returns the path of the xcconfig file relative to the user project"
do
@lib
.
xcconfig_relative_path
(
"Release"
).
should
==
'Pods/Pods.
R
elease.xcconfig'
@lib
.
xcconfig_relative_path
(
"Release"
).
should
==
'Pods/Pods.
r
elease.xcconfig'
end
end
...
...
spec/unit/target/aggregate_target_spec.rb
View file @
d0ffe31e
...
...
@@ -35,7 +35,7 @@ module Pod
end
it
"returns the absolute path of the xcconfig file"
do
@target
.
xcconfig_path
(
"Release"
).
to_s
.
should
.
include?
(
'Pods/Pods.
R
elease.xcconfig'
)
@target
.
xcconfig_path
(
"Release"
).
to_s
.
should
.
include?
(
'Pods/Pods.
r
elease.xcconfig'
)
end
it
"returns the absolute path of the resources script"
do
...
...
@@ -65,7 +65,7 @@ module Pod
end
it
"returns the path of the xcconfig file relative to the user project"
do
@target
.
xcconfig_relative_path
(
"Release"
).
should
==
'Pods/Pods.
R
elease.xcconfig'
@target
.
xcconfig_relative_path
(
"Release"
).
should
==
'Pods/Pods.
r
elease.xcconfig'
end
end
...
...
spec/unit/target/pod_target_spec.rb
View file @
d0ffe31e
...
...
@@ -41,7 +41,7 @@ module Pod
describe
"Support files"
do
it
"returns the absolute path of the xcconfig file"
do
@pod_target
.
xcconfig_path
(
"Release"
).
to_s
.
should
.
include
'Pods/Pods-BananaLib.
R
elease.xcconfig'
@pod_target
.
xcconfig_path
(
"Release"
).
to_s
.
should
.
include
'Pods/Pods-BananaLib.
r
elease.xcconfig'
end
it
"returns the absolute path of the target header 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