Skip to content
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

Multiplatform single scheme project? #1449

Closed
tib opened this issue Sep 3, 2016 · 3 comments
Closed

Multiplatform single scheme project? #1449

tib opened this issue Sep 3, 2016 · 3 comments

Comments

@tib
Copy link

tib commented Sep 3, 2016

Hi everyone,

I am using Alamofire with carthage in my latest project, and the build time is slow, because the framework needs to be created both for iOS, macOS, tvOS, and watchOS. This could be improved if Alamofire would have a multi-platform single scheme Xcode project.

This is already implemented by some of the major libraries like PromiseKit. The method is well documented, and I think it would be a huge advantage for this project in the future to have a single shared target.

Is there any chance that this request is going to be implemented at some point in the future?
I'd like to contribute if we can make this happen. :)

@cnoon
Copy link
Member

cnoon commented Sep 3, 2016

Hi @tib,

You can speed up your builds using Carthage by specifying a single platform using the --platform flag.

$ carthage build --platform iOS

Now as far as moving to a universal framework, this is not something we're going to do at this time. Until it's officially support by Apple, we'll continue to use our current approach. There are enough edge cases and complexities around testing that the pros do not outweigh the cons in our opinion. This is something that will continue to investigate and re-evaluate. But at this time we'll continue to to use the four target approach in AF and AFI.

Cheers. 🍻

@jirizoudun
Copy link

Hi @cnoon,

any change regarding the topic?

Thanks,
Jiri

@jshier
Copy link
Contributor

jshier commented Jan 10, 2018

@jirizoudun Not at this time.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants