@@ -9,20 +9,19 @@ Pod::Spec.new do |s|
9
9
s . source = { :git => 'https://github.com/awxkee/jxl-coder-swift.git' , :tag => "#{ s . version } " }
10
10
s . ios . deployment_target = '11.0'
11
11
s . osx . deployment_target = '11.0'
12
- s . source_files = 'Sources/jxlc/*.{swift,h,m,cpp,mm,hpp}' , "Sources/JxlCoder/*.swift" , 'Sources/Module/JxlCoder.h' , 'Sources/Frameworks/libjxl.xcframew$
12
+ s . source_files = 'Sources/jxlc/*.{swift,h,m,cpp,mm,hpp}' , "Sources/JxlCoder/*.swift" , 'Sources/Module/JxlCoder.h' , 'Sources/Frameworks/libjxl.xcframework/ios-arm64/Headers/**/*.h'
13
13
s . swift_version = [ "5.3" , "5.4" , "5.5" ]
14
14
s . frameworks = "Foundation" , "CoreGraphics" , "Accelerate"
15
- s.ios.vendored_frameworks = ' Sources /Frameworks /libbrotlicommon . xcframework ', ' Sources /Frameworks /libbrotlidec . xcframework ', ' Sources /Frameworks /libbro $
16
- s . osx . vendored_frameworks = 'Sources/Frameworks/libbrotlicommon.xcframework' , 'Sources/Frameworks/libbrotlidec.xcframework' , 'Sources/Frameworks/libbro$
17
- #s.module_map = ' Sources /Module /module . modulemap '
15
+ s . ios . vendored_frameworks = 'Sources/Frameworks/libbrotlicommon.xcframework' , 'Sources/Frameworks/libbrotlidec.xcframework' , 'Sources/Frameworks/libbrotlienc.xcframework' , 'Sources/Frameworks/libhwy.xcframework' , 'Sources/Frameworks/libjxl.xcframework' , 'Sources/Frameworks/libjxl_threads.xcframework'
16
+ s . osx . vendored_frameworks = 'Sources/Frameworks/libbrotlicommon.xcframework' , 'Sources/Frameworks/libbrotlidec.xcframework' , 'Sources/Frameworks/libbrotlienc.xcframework' , 'Sources/Frameworks/libhwy.xcframework' , 'Sources/Frameworks/libjxl.xcframework' , 'Sources/Frameworks/libjxl_threads.xcframework'
18
17
s . public_header_files = 'Sources/jxlc/**.h' , 'Sources/jxlc/**.hpp' , 'Headers/**/*.h'
19
18
s . project_header_files = 'Sources/jxlc/jxl_worker.hpp'
20
19
s . pod_target_xcconfig = {
21
20
'OTHER_CXXFLAGS' => '$(inherited) -std=c++20' ,
22
21
'HEADER_SEARCH_PATHS' => '$(inherited) "$(PODS_TARGET_SRCROOT)/Sources/Frameworks/libjxl.xcframework/ios-arm64/Headers"' ,
23
22
'OTHER_CPLUSPLUSFLAGS' => '$(inherited) -fmodules -fcxx-modules'
24
23
}
25
- s.preserve_paths = "Sources/Frameworks/*.xcframework", "Sources/Frameworks/*.xcframework/**/Headers", "Sources/Frameworks/libjxl.xcframework/ios-arm64/$
24
+ s . preserve_paths = "Sources/Frameworks/*.xcframework" , "Sources/Frameworks/*.xcframework/**/Headers" , "Sources/Frameworks/libjxl.xcframework/ios-arm64/Headers/jxl" , "Sources/Frameworks/libjxl.xcframework/ios-arm64/Headers/jpegli"
26
25
s . libraries = 'c++'
27
26
s . requires_arc = true
28
27
end
0 commit comments