2
0

fltbdface.podspec 1.4 KB

123456789101112131415161718192021222324252627
  1. #
  2. # To learn more about a Podspec see http://guides.cocoapods.org/syntax/podspec.html.
  3. # Run `pod lib lint fltbdface.podspec' to validate before publishing.
  4. #
  5. Pod::Spec.new do |s|
  6. s.name = 'fltbdface'
  7. s.version = '1.0.0'
  8. s.summary = 'Baidu's face recognition SDK encapsulates the flutter version, calls native SDK and interface operations, and returns data to flutter'
  9. s.description = <<-DESC
  10. Baidu&#x27;s face recognition SDK encapsulates the flutter version, calls native SDK and interface operations, and returns data to flutter
  11. DESC
  12. s.homepage = 'http://www.bughub.icu:8888'
  13. s.license = { :file => '../LICENSE' }
  14. s.author = { 'RandyWei' => 'smile561607154@gmail.com' }
  15. s.source = { :path => '.' }
  16. s.source_files = 'Classes/**/*'
  17. s.public_header_files = 'Classes/**/*.h'
  18. #s.resource = 'Classes/com.baidu.idl.face.live.action.image.bundle'
  19. s.resource_bundle = { 'ImageBundle' => 'Assets/*.png' }
  20. s.dependency 'Flutter'
  21. s.platform = :ios, '9.0'
  22. s.ios.libraries = 'c++'
  23. s.vendored_frameworks = 'Libs/FaceSDK/IDLFaceSDK.framework'
  24. # Flutter.framework does not contain a i386 slice. Only x86_64 simulators are supported.
  25. s.pod_target_xcconfig = { 'DEFINES_MODULE' => 'YES', 'VALID_ARCHS[sdk=iphonesimulator*]' => 'x86_64' }
  26. s.swift_version = '5.0'
  27. end