Fix CocoaPods podspec again

See: CocoaPods/issues/12011
This commit is contained in:
DreamPiggy 2023-07-26 17:41:55 +08:00
parent d347ea9f52
commit 5b9e37aa3d
1 changed files with 2 additions and 1 deletions

View File

@ -18,11 +18,12 @@ Pod::Spec.new do |s|
s.pod_target_xcconfig = {
'USER_HEADER_SEARCH_PATHS' => '$(inherited) ${PODS_ROOT}/libwebp/ ${PODS_TARGET_SRCROOT}/'
}
s.preserve_paths = 'src', 'sharpyuv'
s.default_subspecs = 'sharpyuv', 'webp', 'demux', 'mux'
s.preserve_path = 'src'
# sharpyuv converter
s.subspec 'sharpyuv' do |ss|
ss.preserve_paths = 'src', 'sharpyuv'
ss.source_files = 'sharpyuv/*.{h,c}'
ss.public_header_files = 'sharpyuv/sharpyuv.h'
end