Add support for Swift Package Manager #1032
@@ -5,7 +5,7 @@
|
|||||||
|
|
||||||
Pod::Spec.new do |spec|
|
Pod::Spec.new do |spec|
|
||||||
spec.name = 'Yoga'
|
spec.name = 'Yoga'
|
||||||
spec.version = '1.18.0'
|
spec.version = '1.14.0'
|
||||||
spec.license = { :type => 'MIT', :file => "LICENSE" }
|
spec.license = { :type => 'MIT', :file => "LICENSE" }
|
||||||
spec.homepage = 'https://yogalayout.com/'
|
spec.homepage = 'https://yogalayout.com/'
|
||||||
spec.documentation_url = 'https://yogalayout.com/docs'
|
spec.documentation_url = 'https://yogalayout.com/docs'
|
||||||
@@ -18,7 +18,7 @@ Pod::Spec.new do |spec|
|
|||||||
:git => 'https://github.com/facebook/yoga.git',
|
:git => 'https://github.com/facebook/yoga.git',
|
||||||
:tag => spec.version.to_s,
|
:tag => spec.version.to_s,
|
||||||
}
|
}
|
||||||
spec.platforms = { :ios => "9.0", :osx => "10.9", :tvos => "10.0", :watchos => "2.0" }
|
spec.platforms = { :ios => "8.0", :osx => "10.7", :tvos => "10.0", :watchos => "2.0" }
|
||||||
spec.module_name = 'yoga'
|
spec.module_name = 'yoga'
|
||||||
spec.requires_arc = false
|
spec.requires_arc = false
|
||||||
spec.pod_target_xcconfig = {
|
spec.pod_target_xcconfig = {
|
||||||
|
@@ -20,10 +20,10 @@ podspec = Pod::Spec.new do |spec|
|
|||||||
}
|
}
|
||||||
|
|
||||||
spec.platform = :ios
|
spec.platform = :ios
|
||||||
spec.ios.deployment_target = '9.0'
|
spec.ios.deployment_target = '8.0'
|
||||||
spec.ios.frameworks = 'UIKit'
|
spec.ios.frameworks = 'UIKit'
|
||||||
spec.module_name = 'YogaKit'
|
spec.module_name = 'YogaKit'
|
||||||
spec.dependency 'Yoga', '~> 1.18.1'
|
spec.dependency 'Yoga', '~> 1.18.0'
|
||||||
# Fixes the bug related the xcode 11 not able to find swift related frameworks.
|
# Fixes the bug related the xcode 11 not able to find swift related frameworks.
|
||||||
# https://github.com/Carthage/Carthage/issues/2825
|
# https://github.com/Carthage/Carthage/issues/2825
|
||||||
# https://twitter.com/krzyzanowskim/status/1151549874653081601?s=21
|
# https://twitter.com/krzyzanowskim/status/1151549874653081601?s=21
|
||||||
|
Reference in New Issue
Block a user