Comments (3)
We have tried the following setups:
- creating an SPM with
.binaryTarget
pointing to a remote zip (of the libkiwix framework), containing the module mapping headers - creating an SPM locally with
.binaryTarget
wrapping a local copy of the libkiwix framework, containing the module mapping
Non of the above seemed to compile properly with the main project.
One suspicion, why this is, that SPM is not yet supporting cross language bridging (C++ / Objective-C) yet.
There are swift community requests for this feature: - https://github.com/apple/swift-package-manager/blob/main/Documentation/Design/PackageManagerCommunityProposal.md#system-library-access-with-module-maps
- https://github.com/apple/swift-package-manager/blob/main/Documentation/Design/PackageManagerCommunityProposal.md#support-for-other-languages
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.
from kiwix-build.
I will keep the ticket open, this will be reassesed in a year.
from kiwix-build.
It's important we use this opportunity to rename the whole package to "libkiwix" to be coherent with the rest.
from kiwix-build.
Related Issues (20)
- Fix win32 cross-compilation when wine is installed on the system.
- Libzim releases include the full libicu data HOT 4
- Release native_static on macos fails to trigger workflow. HOT 5
- Last publication of kiwix-tools seems to not work on raspberryPi HOT 6
- Instruction to use kiwix-build seems wrong in the `README.md` HOT 1
- Build libzim & libkiwix for Android with debug symbol HOT 2
- Failed to build zim-tools on ubuntu22.04 (wsl) HOT 3
- Use libxapian 1.4.23 HOT 7
- Fix double publications of release archives
- Incorrect docker trigger on macOS HOT 2
- aarch64 bionic should not require GLIBCXX 3.4.26 and 3.4.29 HOT 8
- Update ICU to a more recent version. HOT 2
- Why compiling libkiwix for iOS/macOS does embeds the libzim? HOT 7
- Use latest/future version of aria2c HOT 2
- Fix cross_compilation environment setting.
- Last version of aria2 1.37.0 doesn't compile on bionic. HOT 2
- CoreKiwix.xcframework not usable with iOS Simulator HOT 5
- Explicit dependence names for macOS HOT 3
- post checksums for AppImage HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from kiwix-build.