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

Archive prebuilt frameworks into one zip file in the release for Carthage installation? #137

Open
mssun opened this issue Apr 7, 2017 · 2 comments

Comments

@mssun
Copy link

mssun commented Apr 7, 2017

Hi, could you provide a prebuilt framework in the release to improve carthage building speed?

You can find related instructions in this link: https://github.com/Carthage/Carthage#archive-prebuilt-frameworks-into-one-zip-file

@mattrubin
Copy link
Owner

Since Swift frameworks still do not have ABI stability or module format stability, a compiled framework is only compatible with other code compiled with the exact same version of the Swift toolchain. I've avoided including prebuilt frameworks for Carthage because each binary would be compatible with only one version of Xcode, and even a minor Xcode version bump would necessitate a new release of OneTimePassword to include a new compiled framework.

Since OneTimePassword takes only about 20 seconds per architecture to compile with Carthage, hopefully this is not an excessive time cost to pay for improved convenience and compatibility. When Swift 5 adds ABI stability (and hopefully module stability), I'll revisit this decision.

@mssun
Copy link
Author

mssun commented Oct 12, 2017

Thanks for your reply. That's not a very big deal. We use Travis CI to build the commits/PRs. For each time, CI need to rebuild dependencies. It takes some time, but it's OK for me. Thanks again.

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

2 participants