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
6dcb1af1
Unverified
Commit
6dcb1af1
authored
Mar 27, 2018
by
Samuel Giddins
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix Swift static libary test specs
parent
c7a55757
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
3 deletions
+4
-3
CHANGELOG.md
CHANGELOG.md
+2
-1
xcconfig_helper.rb
lib/cocoapods/generator/xcconfig/xcconfig_helper.rb
+1
-1
cocoapods-integration-specs
spec/cocoapods-integration-specs
+1
-1
No files found.
CHANGELOG.md
View file @
6dcb1af1
...
...
@@ -12,7 +12,8 @@ To install release candidates run `[sudo] gem install cocoapods --pre`
##### Bug Fixes
*
None.
*
Fix building Swift static library test specs.
[
Samuel Giddins
](
https://github.com/segiddins
)
## 1.5.0.beta.1 (2018-03-23)
...
...
lib/cocoapods/generator/xcconfig/xcconfig_helper.rb
View file @
6dcb1af1
...
...
@@ -357,7 +357,7 @@ module Pod
end
other_swift_flags
=
module_map_files
.
tap
(
&
:uniq!
).
flat_map
{
|
f
|
[
'-Xcc'
,
f
]
}
if
target
.
is_a?
(
PodTarget
)
&&
!
target
.
requires_frameworks?
&&
target
.
defines_module?
if
target
.
is_a?
(
PodTarget
)
&&
!
target
.
requires_frameworks?
&&
target
.
defines_module?
&&
!
test_xcconfig
# make it possible for a mixed swift/objc static library to be able to import the objc from within swift
other_swift_flags
+=
[
'-import-underlying-module'
,
'-Xcc'
,
'-fmodule-map-file="${SRCROOT}/${MODULEMAP_FILE}"'
]
end
...
...
cocoapods-integration-specs
@
e0ba219c
Subproject commit
a0d94ce49fc8fc49048830bda60e10132190934
e
Subproject commit
e0ba219ce2b04a7799c55543e008498b414b34b
e
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