-
Notifications
You must be signed in to change notification settings - Fork 31
ExpectThunk proposal #19
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from 1 commit
04b9cff
dc21ace
6d06241
0118c5e
0bf5468
fc20af6
aa3e1ce
a674e51
6b86566
0b543e4
5e154b5
7e638f1
754dbce
063b055
c313633
4d8c279
2440ec2
a671f34
0922abe
8618792
30f9a96
ff7234f
5bf1d69
f272dc9
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
This file was deleted.
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -20,7 +20,19 @@ Pod::Spec.new do |spec| | |
| spec.source = { | ||
| :git => "https://github.com/ReSwift/ReSwift-Thunk.git", | ||
| :tag => spec.version.to_s } | ||
| spec.source_files = "ReSwift-Thunk" | ||
|
|
||
| spec.subspec "Core" do |sp| | ||
| sp.source_files = "ReSwift-Thunk" | ||
| end | ||
|
|
||
| spec.subspec "ExpectThunk" do |sp| | ||
| sp.dependency "ReSwiftThunk/Core" | ||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. If you remove this dependency, perhaps the inherited podfile example will work? I think it might be double-importing Edit: Though, really, cocoapods dependency stuff should really handle this automatically...
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Good thought, however, I wasn't able to get it to build this way. I'm attempting with CocoaPods 1.6.1. It may be an open issue with CocoaPods 7195 having child targets with subspecs. I'll follow up there, it does seem splitting the targets is the workaround in the Podfile at the moment. |
||
| sp.pod_target_xcconfig = { "ENABLE_BITCODE" => "NO" } | ||
| sp.framework = "XCTest" | ||
| sp.source_files = "ReSwift-ThunkTests/ExpectThunk.swift" | ||
| end | ||
|
|
||
| spec.default_subspec = "Core" | ||
|
|
||
| spec.dependency "ReSwift", "~> 4.0" | ||
| end | ||
Uh oh!
There was an error while loading. Please reload this page.