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
5369677f
Commit
5369677f
authored
Oct 28, 2014
by
Steffen Matthischke
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Improved sanitizing of configuration names which have a number prefix.
parent
7ada0b22
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
1 deletion
+4
-1
CHANGELOG.md
CHANGELOG.md
+3
-0
project.rb
lib/cocoapods/project.rb
+1
-1
No files found.
CHANGELOG.md
View file @
5369677f
...
@@ -61,6 +61,9 @@ To install or update CocoaPods see this [guide](http://docs.cocoapods.org/guides
...
@@ -61,6 +61,9 @@ To install or update CocoaPods see this [guide](http://docs.cocoapods.org/guides
[
Eloy Durán
](
https://github.com/alloy
)
[
Eloy Durán
](
https://github.com/alloy
)
[
#2723
](
https://github.com/CocoaPods/CocoaPods/issues/2723
)
[
#2723
](
https://github.com/CocoaPods/CocoaPods/issues/2723
)
*
Improved sanitizing of configuration names which have a number prefix.
[
Steffen Matthischke
](
https://github.com/HeEAaD
)
[
#2700
](
https://github.com/CocoaPods/CocoaPods/pull/2700
)
## 0.34.4
## 0.34.4
...
...
lib/cocoapods/project.rb
View file @
5369677f
...
@@ -209,7 +209,7 @@ module Pod
...
@@ -209,7 +209,7 @@ module Pod
#
#
def
add_build_configuration
(
name
,
type
)
def
add_build_configuration
(
name
,
type
)
build_configuration
=
super
build_configuration
=
super
values
=
[
"
#{
name
.
gsub
(
/[^a-zA-Z0-9_]/
,
'_'
).
g
sub
(
/(^[0-9])/
,
'_\1'
).
upcase
}
=1"
]
values
=
[
"
#{
name
.
gsub
(
/[^a-zA-Z0-9_]/
,
'_'
).
sub
(
/(^[0-9])/
,
'_\1'
).
upcase
}
=1"
]
settings
=
build_configuration
.
build_settings
settings
=
build_configuration
.
build_settings
definitions
=
Array
(
settings
[
'GCC_PREPROCESSOR_DEFINITIONS'
])
definitions
=
Array
(
settings
[
'GCC_PREPROCESSOR_DEFINITIONS'
])
values
.
each
do
|
value
|
values
.
each
do
|
value
|
...
...
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