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

Wrap XCFramework into a swift package, for Apple (iOS, macOS) distribution #671

Open
BPerlakiH opened this issue Dec 10, 2023 · 3 comments

Comments

@BPerlakiH
Copy link

Importing / adding the libkiwix library into iOS and macOS application could become a lot easier, by providing a swift package, which is a folder structure + manifest file that is wrapping up the current XCFramework output.

Details / how to can be found here:
https://blog.devgenius.io/xcframework-swiftpackagemanager-c03f4b1903d9
https://developer.apple.com/documentation/xcode/distributing-binary-frameworks-as-swift-packages

@kelson42
Copy link
Contributor

It's important we use this opportunity to rename the whole package to "libkiwix" to be coherent with the rest.

@kelson42 kelson42 pinned this issue Dec 10, 2023
@BPerlakiH
Copy link
Author

We have tried the following setups:

For these reasons we have decided not to use Swift Package Manager for integrating our XCFramework, as it is not yet fully supported in it's current form.

@kelson42 kelson42 reopened this Dec 24, 2023
@kelson42
Copy link
Contributor

I will keep the ticket open, this will be reassesed in a year.

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

3 participants