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
d19dd87b
Commit
d19dd87b
authored
Jul 25, 2015
by
Samuel E. Giddins
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #3896 from russbishop/master
parents
d2075c5e
a27f6f8c
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
15 additions
and
3 deletions
+15
-3
CHANGELOG.md
CHANGELOG.md
+10
-0
aggregate_xcconfig.rb
lib/cocoapods/generator/xcconfig/aggregate_xcconfig.rb
+1
-1
aggregate_xcconfig_spec.rb
spec/unit/generator/xcconfig/aggregate_xcconfig_spec.rb
+4
-2
No files found.
CHANGELOG.md
View file @
d19dd87b
...
@@ -4,6 +4,16 @@ To install or update CocoaPods see this [guide](http://docs.cocoapods.org/guides
...
@@ -4,6 +4,16 @@ To install or update CocoaPods see this [guide](http://docs.cocoapods.org/guides
To install release candidates run
`[sudo] gem install cocoapods --pre`
To install release candidates run
`[sudo] gem install cocoapods --pre`
## Master
##### Bug Fixes
*
Fix generation of xcconfig files that specify both
`-iquote`
and
`-isystem`
headers.
[
Russ Bishop
](
https://github.com/russbishop
)
[
#3893
](
https://github.com/CocoaPods/CocoaPods/issues/3893
)
## 0.38.1
## 0.38.1
##### Enhancements
##### Enhancements
...
...
lib/cocoapods/generator/xcconfig/aggregate_xcconfig.rb
View file @
d19dd87b
...
@@ -109,7 +109,7 @@ module Pod
...
@@ -109,7 +109,7 @@ module Pod
# Make library headers discoverale by `#import "…"`
# Make library headers discoverale by `#import "…"`
library_header_search_paths
=
target
.
sandbox
.
public_headers
.
search_paths
(
target
.
platform
)
library_header_search_paths
=
target
.
sandbox
.
public_headers
.
search_paths
(
target
.
platform
)
build_settings
[
'HEADER_SEARCH_PATHS'
]
=
XCConfigHelper
.
quote
(
library_header_search_paths
)
build_settings
[
'HEADER_SEARCH_PATHS'
]
=
XCConfigHelper
.
quote
(
library_header_search_paths
)
build_settings
[
'OTHER_CFLAGS'
]
+=
XCConfigHelper
.
quote
(
library_header_search_paths
,
'-isystem'
)
build_settings
[
'OTHER_CFLAGS'
]
+=
' '
+
XCConfigHelper
.
quote
(
library_header_search_paths
,
'-isystem'
)
end
end
if
pod_targets
.
any?
{
|
t
|
t
.
should_build?
&&
t
.
scoped?
}
if
pod_targets
.
any?
{
|
t
|
t
.
should_build?
&&
t
.
scoped?
}
build_settings
[
'FRAMEWORK_SEARCH_PATHS'
]
=
'$(inherited) "$PODS_FRAMEWORK_BUILD_PATH"'
build_settings
[
'FRAMEWORK_SEARCH_PATHS'
]
=
'$(inherited) "$PODS_FRAMEWORK_BUILD_PATH"'
...
...
spec/unit/generator/xcconfig/aggregate_xcconfig_spec.rb
View file @
d19dd87b
...
@@ -164,8 +164,10 @@ module Pod
...
@@ -164,8 +164,10 @@ module Pod
end
end
it
'includes the public header paths as system headers'
do
it
'includes the public header paths as system headers'
do
expected
=
'-isystem "${PODS_ROOT}/Headers/Public"'
expected
=
'$(inherited) -iquote "$CONFIGURATION_BUILD_DIR/OrangeFramework.framework/Headers" -isystem "${PODS_ROOT}/Headers/Public"'
@xcconfig
.
to_hash
[
'OTHER_CFLAGS'
].
should
.
include
expected
@generator
.
stubs
(
:pod_targets
).
returns
([
@pod_target
,
pod_target
(
fixture_spec
(
'orange-framework/OrangeFramework.podspec'
))])
@xcconfig
=
@generator
.
generate
@xcconfig
.
to_hash
[
'OTHER_CFLAGS'
].
should
==
expected
end
end
it
'includes the public header paths as user headers'
do
it
'includes the public header paths as user headers'
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