


App Group must be different and unique (ex: ).Change the App groups (in Capabilities) and Bundle Identifier for both iOS and Bookmarks targets.
#Kiwix for mac osx mac os#
So far, there is no portable (directly usable on a USB flash drive for example) version of Kiwix for Apple Mac OS X. You simply need to download it, mount the DMG image and copy/install Kiwix to the Applications folder.
#Kiwix for mac osx mac os x#
Open project with Xcode open Kiwix.xcodeproj Kiwix for Apple Mac OS X is provided as DMG file.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 We also provide a precompiled version of kiwix-serve and other Kiwix console tools for ARM CPUs. If you have a 64 bits x86 system and try to run the 32 bits version of Kiwix, check that you have the multi arch support installed on your computer. Kiwix-build -target-platform macOS_arm64 libkiwix Unpack the downloaded file and run the 'kiwix' program. 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. It will probably get the IP from modem if DHCP is enabled, then. Then your virtual machine will be in local network with your host machine. The libkiwix.xcframework will contain libkiwix library for macOS arch and for iOS. Put network settings from NAT to bridged adapter in Virtualbox settings for that machine. The xcframework is a bundle of a library for multiple architectures and/or platforms. Instructions to build libkiwix at on the kiwix-build repo. Its command-line utilities ( xcode-select -install).An Apple Developer account (doesn't require membership).Download Kiwix Desktop on the Mac App Store.Download the iOS mobile app on the App Store.This is the home for Kiwix apps on iOS and macOS.
