spine_flutter.podspec 1.2 KB

12345678910111213141516171819202122232425262728
  1. #
  2. # To learn more about a Podspec see http://guides.cocoapods.org/syntax/podspec.html.
  3. # Run `pod lib lint spine_flutter.podspec` to validate before publishing.
  4. #
  5. Pod::Spec.new do |s|
  6. s.name = 'spine_flutter'
  7. s.version = '0.0.1'
  8. s.summary = 'A new Flutter FFI plugin project.'
  9. s.description = <<-DESC
  10. A new Flutter FFI plugin project.
  11. DESC
  12. s.homepage = 'http://example.com'
  13. s.license = { :file => '../LICENSE' }
  14. s.author = { 'Your Company' => '[email protected]' }
  15. # This will ensure the source files in Classes/ are included in the native
  16. # builds of apps using this FFI plugin. Podspec does not support relative
  17. # paths, so Classes contains a forwarder C file that relatively imports
  18. # `../src/*` so that the C sources can be shared among all target platforms.
  19. s.source = { :path => '.' }
  20. s.source_files = 'Classes/**/*.{cpp}'
  21. s.xcconfig = { 'HEADER_SEARCH_PATHS' => '"' + __dir__ + '/Classes/spine-cpp/include"' }
  22. s.dependency 'FlutterMacOS'
  23. s.platform = :osx, '10.11'
  24. s.pod_target_xcconfig = { 'DEFINES_MODULE' => 'YES' }
  25. s.swift_version = '5.0'
  26. end