From 316e771c6c3219669fae3102384c4b588253b02d Mon Sep 17 00:00:00 2001 From: ieow Date: Thu, 11 Apr 2024 10:09:42 +0800 Subject: [PATCH] fix header files --- curveSecp256k1.podspec | 4 +++- curvelib_xc.podspec | 2 +- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/curveSecp256k1.podspec b/curveSecp256k1.podspec index 4ca0911..e0d5cc6 100644 --- a/curveSecp256k1.podspec +++ b/curveSecp256k1.podspec @@ -10,7 +10,9 @@ Pod::Spec.new do |spec| spec.module_name = "curveSecp256k1" spec.source = { :git => "https://github.com/tkey/curvelib.swift.git", :tag => spec.version } - spec.source_files = 'Sources/curvelib/secp256k1/**/*.{swift}' + spec.source_files = 'Sources/curvelib/secp256k1/**/*.{swift}', 'Sources/curve_secp256k1/include/*.h' + + spec.public_header_files = 'Sources/curve_secp256k1/include/*.h' spec.dependency 'curvelib_xc' spec.dependency 'curvelibCommon' end diff --git a/curvelib_xc.podspec b/curvelib_xc.podspec index 13ed4d7..3a456a9 100644 --- a/curvelib_xc.podspec +++ b/curvelib_xc.podspec @@ -15,6 +15,6 @@ Pod::Spec.new do |spec| spec.osx.deployment_target = '10.13' spec.source_files = 'Sources/curve_secp256k1/**/*.{h,c}' - # spec.public_header_files = 'Sources/curve_secp256k1/include/*.h' + spec.public_header_files = 'Sources/curve_secp256k1/include/*.h' end