chore: Idk
CI / build-ios (push) Has been cancelled
CI / build-library (push) Has been cancelled
CI / build-android (push) Has been cancelled
CI / lint (push) Has been cancelled

This commit is contained in:
2026-06-21 11:40:21 +02:00
parent f67e22eb38
commit 0e99b3d297
7 changed files with 17 additions and 79 deletions
+9
View File
@@ -1,6 +1,7 @@
require "json"
package = JSON.parse(File.read(File.join(__dir__, "package.json")))
JECNA_API_VERSION = package["jecnaApiVersion"]
Pod::Spec.new do |s|
s.name = "Jecnaapi"
@@ -19,6 +20,14 @@ Pod::Spec.new do |s|
"cpp/**/*.{hpp,cpp}",
]
s.prepare_command = <<-CMD
curl -sL "https://github.com/tomhula/JecnaAPI/releases/download/v#{JECNA_API_VERSION}/JecnaapiIOS-v#{JECNA_API_VERSION}-xcframework.zip" -o JecnaAPI.xcframework.zip
unzip -o JecnaAPI.xcframework.zip
rm JecnaAPI.xcframework.zip
CMD
s.vendored_frameworks = "JecnaAPI.xcframework"
s.preserve_paths = "JecnaAPI.xcframework"
s.dependency 'React-jsi'
s.dependency 'React-callinvoker'