spine-runtimes/Spine.podspec
Byeong Gwan 88230582c2
[iOS] merge shader header and disable cpp-interp in example project (#2808)
* [iOS] disable objc-interp in example project & reuse struct header inside shader

* [iOS] support sharing Shader Header on both cocoapods and SPM
2025-04-10 11:27:24 +02:00

33 lines
1.2 KiB
Ruby

#
# To learn more about a Podspec see http://guides.cocoapods.org/syntax/podspec.html.
# Run `pod lib lint spine_flutter.podspec` to validate before publishing.
#
Pod::Spec.new do |s|
s.name = 'Spine'
s.version = '4.2.0'
s.summary = 'Spine runtimes for iOS.'
s.description = <<-DESC
Spine runtimes for iOS.
DESC
s.homepage = 'https://esotericsoftware.com'
s.author = { "Esoteric Software LLC " => "https://esotericsoftware.com" }
s.license = { :file => 'LICENSE' }
s.source = { :git => 'https://github.com/esotericsoftware/spine-runtimes.git', :branch => '4.2' }
s.source_files = 'spine-ios/Sources/Spine/**/*.{swift}'
s.platform = :ios, '13.0'
s.xcconfig = {
'HEADER_SEARCH_PATHS' => '"$(PODS_ROOT)/SpineCppLite/spine-cpp/spine-cpp/include" "$(PODS_ROOT)/SpineCppLite/spine-cpp/spine-cpp-lite"',
'MTL_HEADER_SEARCH_PATHS' => '"$(PODS_ROOT)/SpineShadersStructs"'
}
s.resource_bundles = {
'SpineBundle' => ['spine-ios/Sources/Spine/**/*.{metal}']
}
s.swift_version = '5.0'
s.dependency 'SpineCppLite'
s.dependency 'SpineShadersStructs'
end