![]() Bookmarks Bundle Identifier must be a child of iOS one (ex: .Bookmarks).iOS Bundle Identifier must be different and unique (ex: ).App Group must be different and unique (ex: ).Change the App groups (in Capabilities) and Bundle Identifier for both iOS and Bookmarks targets. ![]() Open project with Xcode open Kiwix.xcodeproj.You can now launch the build from Xcode and use the iOS simulator or your macOS target. Xcodebuild -create-xcframework -library BUILD_/INSTALL/lib/libkiwix.a -headers BUILD_/INSTALL/include -output. Libtool -static -o BUILD_/INSTALL/lib/libkiwix.a BUILD_/INSTALL/lib/*.a You'll have to do it for both iOS archs although you built it using multi. If you are to create an xcframework with multiple architectures/platforms, repeat this step for each: a archive named libkiwix which contains all libkiwix's dependencies. Kiwix-build -target-platform macOS_x86_64 libkiwix Kiwix-build -target-platform macOS_arm64 libkiwix Kiwix-build -target-platform iOS_multi libkiwix build libkiwix Make sure xcode command tools are installed Make sure to preinstall kiwix-build prerequisites (ninja and meson). You don't have to follow steps for other platform/arch if you don't need them.įollowing steps are done from kiwix-build root and assume your apple repository is at. The libkiwix.xcframework will contain libkiwix library for macOS arch and for iOS. The xcframework is a bundle of a library for multiple architectures and/or platforms. Instructions to build libkiwix at on the kiwix-build repo.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |