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
Use universal build settings #16
Conversation
Curry is a really simple framework, and it sucks to have to manage multiple targets and schemes to properly distribute it. Instead, we can use some clever xcconfigs to let a single framework target (and a single scheme) build multiple frameworks for us.
I want to test this against some demo apps to make absolutely sure this works as advertised. |
Confirmed that this works against https://github.com/gfontenot/platformtests 🎉 |
I've been thinking about this since I saw it in kylef/Mockingjay. Would be great if it's a viable solution! |
Ditto. Ever since you pointed this out as a potential option, I haven't been able to stop thinking about it.
|
The only potential downside I can see to this is described here: the-grid/Disc#9 |
Specifically:
|
But that's only a problem because we disabled implicit dependencies. |
That's interesting though, and honestly might be enough of a PITA to avoid this (unfortunately). |
I wish Apple would support this kind of thing natively. |
There may be a way around it but I tried a few things and haven't been able to find one. I want to reiterate that using the default build scheme settings, "Find Implicit Dependencies" is enabled and doesn't appear to be subject to that behavior. |
I'm going to go ahead and close this. I think it'd be nice, but it seems like it's more headache than it's worth. |
Curry is a really simple framework, and it sucks to have to manage multiple
targets and schemes to properly distribute it. Instead, we can use some clever
xcconfigs to let a single framework target (and a single scheme) build
multiple frameworks for us.