Update libkiwix

This commit is contained in:
Balazs Perlaki-Horvath 2024-04-19 10:45:08 +02:00
parent 6519301f92
commit 3d7d9151c6

View File

@ -4,7 +4,7 @@ brew "curl"
at_exit do
system "pre-commit install"
system "curl -L -o - https://download.kiwix.org/release/libkiwix/libkiwix_xcframework-13.1.0.tar.gz | tar -x --strip-components 2"
system "curl -L -o - http://download.kiwix.org/release/libkiwix/libkiwix_xcframework-13.1.0-1.tar.gz | tar -x --strip-components 2"
# Copy Clang module map to xcframework for Swift C++ Interoperability
system "cp Support/CoreKiwix.modulemap CoreKiwix.xcframework/ios-arm64/Headers/module.modulemap"
system "cp Support/CoreKiwix.modulemap CoreKiwix.xcframework/ios-arm64_x86_64-simulator/Headers/module.modulemap"