Pod::Spec.new do |s| s.name = 'phash' s.version = '1.0.0' s.summary = 'rgb-phash-v1 native library' s.description = 'C++ rgb-phash-v1 (24x24 RGB DCT, 105-bit) for Flutter dart:ffi' s.homepage = 'https://github.com/TonyChan-hub/card-recog-demo' s.license = { :type => 'MIT' } s.author = { 'carddex' => 'dev@local' } s.source = { :path => '.' } s.platform = :ios, '12.0' s.static_framework = true s.source_files = 'src/*.{cpp,h,hpp}', 'include/*.h' s.public_header_files = 'include/phash.h' s.header_mappings_dir = 'include' s.preserve_paths = 'third_party/stb_image.h' s.pod_target_xcconfig = { 'CLANG_CXX_LANGUAGE_STANDARD' => 'c++17', 'HEADER_SEARCH_PATHS' => '"${PODS_TARGET_SRCROOT}/include" "${PODS_TARGET_SRCROOT}/third_party"', 'OTHER_CPLUSPLUSFLAGS' => '-fvisibility=default', 'DEFINES_MODULE' => 'YES', } s.user_target_xcconfig = { 'HEADER_SEARCH_PATHS' => '"${PODS_ROOT}/../native/phash/include"', } s.libraries = 'c++' end