The Wayback Machine - http://web.archive.org/web/20210121055119/https://github.com/Blackjacx/Columbus/issues/27
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

🚨 Distribute as binary XCFramework (SPM) #27

Open
Blackjacx opened this issue Sep 2, 2020 · 0 comments
Open

🚨 Distribute as binary XCFramework (SPM) #27

Blackjacx opened this issue Sep 2, 2020 · 0 comments
Assignees

Comments

@Blackjacx
Copy link
Owner

@Blackjacx Blackjacx commented Sep 2, 2020

Xcode 11 fully supports using and creating binary frameworks in Swift using new XCFrameworks format. XCFrameworks are a new way to bundle up multiple variants of your framework in a way that it will work across Xcode Versions going forward.

Using this method we can establish SPM support with avoiding the need to re-compile the whole framework.

Doing so would require to use Bundle.module to access the resources. To avoid the need of dropping CocoaPods and Carthage we could configure the framework with a boolean parameter that indicates how it is integrated (SPM, CocaoaPods, Carthage). This way we have a mechanism to differentiate if we need Bundle.module or the traditional approach using the resource bundle.

After this is resolved Add Columbus to the package index

Links

@Blackjacx Blackjacx self-assigned this Sep 2, 2020
@Blackjacx Blackjacx changed the title Distribute as binary XCFramework 🚨 Distribute as binary XCFramework Sep 18, 2020
@Blackjacx Blackjacx changed the title 🚨 Distribute as binary XCFramework 🚨 Distribute as binary XCFramework (SPM) Sep 18, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
1 participant
You can’t perform that action at this time.