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

Closed
BPerlakiH opened this issue Dec 10, 2023 · 6 comments
Closed

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.

@kelson42
Copy link
Contributor

kelson42 commented Oct 8, 2024

@rgaudin @BPerlakiH A year as almost pass. Do you think this would still make sense to implement this?

@rgaudin
Copy link
Member

rgaudin commented Oct 9, 2024

I think that should it be possible, it's nice to have but I don't think it's worth the effort.

@kelson42
Copy link
Contributor

kelson42 commented Oct 9, 2024

Closing this issue, current solution is "good enough".

@kelson42 kelson42 closed this as not planned Won't fix, can't repro, duplicate, stale Oct 9, 2024
@kelson42 kelson42 unpinned this issue Oct 9, 2024
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