Merge pull request #1004 from kiwix/libkiwix-14.0.0

Relies on libkiwix 14.0.0
This commit is contained in:
Kelson 2024-10-18 20:06:58 +02:00 committed by GitHub
commit 6a14d286ef
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 3 additions and 2 deletions

View File

@ -4,10 +4,10 @@ brew "curl"
at_exit do
system "pre-commit install"
system "curl -L -o - https://download.kiwix.org/release/libkiwix/libkiwix_xcframework-13.1.0-4.tar.gz | tar -x --strip-components 2"
system "curl -L -o - https://download.kiwix.org/release/libkiwix/libkiwix_xcframework-14.0.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"
system "cp Support/CoreKiwix.modulemap CoreKiwix.xcframework/macos-arm64_x86_64/Headers/module.modulemap"
system "xcodegen"
end
end

View File

@ -68,6 +68,7 @@ targetTemplates:
- sdk: WebKit.framework
- sdk: NotificationCenter.framework
- sdk: QuickLook.framework
- sdk: SystemConfiguration.framework
- package: Defaults
sources:
- path: App