Spine.podspec 1.2 KB

1234567891011121314151617181920212223242526272829303132
  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'
  7. s.version = '4.2.0'
  8. s.summary = 'Spine runtimes for iOS.'
  9. s.description = <<-DESC
  10. Spine runtimes for iOS.
  11. DESC
  12. s.homepage = 'https://esotericsoftware.com'
  13. s.author = { "Esoteric Software LLC " => "https://esotericsoftware.com" }
  14. s.license = { :file => 'LICENSE' }
  15. s.source = { :git => 'https://github.com/esotericsoftware/spine-runtimes.git', :branch => '4.2' }
  16. s.source_files = 'spine-ios/Sources/Spine/**/*.{swift}'
  17. s.platform = :ios, '13.0'
  18. s.xcconfig = {
  19. 'HEADER_SEARCH_PATHS' => '"$(PODS_ROOT)/SpineCppLite/spine-cpp/spine-cpp/include" "$(PODS_ROOT)/SpineCppLite/spine-cpp/spine-cpp-lite"',
  20. 'MTL_HEADER_SEARCH_PATHS' => '"$(PODS_ROOT)/SpineShadersStructs"'
  21. }
  22. s.resource_bundles = {
  23. 'SpineBundle' => ['spine-ios/Sources/Spine/**/*.{metal}']
  24. }
  25. s.swift_version = '5.0'
  26. s.dependency 'SpineCppLite'
  27. s.dependency 'SpineShadersStructs'
  28. end