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
Create ReactiveSwift and ReactiveSwiftTests targets #2980
Conversation
The ReactiveSwift target doesn't build for me. 😕 We also need watchOS, iOS, and tvOS targets. And it'd be a good idea to add these things to the build matrix on Travis. That will be large for a while, but it's only temporary. |
I'm not really god with configs so I defined generic "Framework" and "Application" defines for the framework and unit tests' targets appropriately.
Do you mean "ReactiveSwift-watchOS", "ReactiveSwift-iOS" and "ReactiveSwift-tvOS"? |
The target now builds. A couple of tests started failing (probably a fluke?). |
@eimantas We need a target for each of the four OSes. The |
Got it. I'll add the missing ones then. How would I go adding these now that the RAC5 is imminent with changes for |
You can just focus on getting these items right. Those changes would be taken care of when they are landed in |
The targets are all there. There are few main points though:
|
CI didn't run for some reason. 😕 There are also some conflicts. Want to resolve them and hopefully that will trigger CI? |
- Adjust import statement based on compiled target - Extract `DynamicProperty` to separate file and add it to mac targets
Also update `Result` and `Nimble` submodules
- ReactiveSwift-Mac -> ReactiveSwift - Add ReactiveSwift-iOS. Product: ReactiveSwift Note: the "ReactiveSwift" value is hardcoded and does not come from any build environment variable (unlike for ReactiveCocoa-X products).
Also add `-D REACTIVE_SWIFT` flag to all configurations of `ReactiveSwift` targets
Seems to be working now. |
Things still missing:
|
You do have permissions! Edit |
buildForRunning = "YES" | ||
buildForProfiling = "YES" | ||
buildForArchiving = "YES" | ||
buildForAnalyzing = "YES"> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Only buildForTesting
should be YES
since this is a testing dependency.
name = Debug; | ||
}; | ||
530F8B8A1D0DB70B00009C2C /* Test */ = { | ||
isa = XCBuildConfiguration; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please set Mac-Application
xcconfig.
It looks like some of @ikesyo's notes above are still unaddressed. Additionally, CI is failing because the upstream changes changed |
Superseded by #3137. |
DynamicProperty
(and its specs) to separate file and add it to mac targets