Summary: Fix yoga podspec issue. The newly released versiong of Yoga i.e 1.8.0 was not building on iOS. So fixing the bug. Want to use this pod in SonarKitLayout Reviewed By: emilsjolander Differential Revision: D8024641 fbshipit-source-id: c8d7279e654145199fbee6655909e1c10d8b2114
31 lines
1.0 KiB
Ruby
31 lines
1.0 KiB
Ruby
Pod::Spec.new do |spec|
|
|
spec.name = 'Yoga'
|
|
spec.version = '1.8.0'
|
|
spec.license = { :type => 'MIT', :file => "LICENSE" }
|
|
spec.homepage = 'https://yogalayout.com/'
|
|
spec.documentation_url = 'https://yogalayout.com/docs'
|
|
|
|
spec.summary = 'Yoga is a cross-platform layout engine which implements Flexbox.'
|
|
spec.description = 'Yoga is a cross-platform layout engine enabling maximum collaboration within your team by implementing an API many designers are familiar with, and opening it up to developers across different platforms.'
|
|
|
|
spec.authors = 'Facebook'
|
|
spec.source = {
|
|
:git => 'https://github.com/facebook/yoga.git',
|
|
:tag => '1.8.0',
|
|
}
|
|
spec.platforms = { :ios => "8.0", :tvos => "10.0" }
|
|
spec.module_name = 'yoga'
|
|
spec.requires_arc = false
|
|
spec.compiler_flags = [
|
|
'-fno-omit-frame-pointer',
|
|
'-fexceptions',
|
|
'-Wall',
|
|
'-Werror',
|
|
'-std=c++1y',
|
|
'-fPIC'
|
|
]
|
|
spec.source_files = 'yoga/**/*.{c,h,cpp}'
|
|
spec.public_header_files = 'yoga/{Yoga,YGEnums,YGMacros}.h'
|
|
|
|
end
|