2022-10-04 13:59:32 -07:00
# Copyright (c) Meta Platforms, Inc. and affiliates.
2018-10-24 03:09:58 -07:00
#
2019-10-15 10:30:08 -07:00
# This source code is licensed under the MIT license found in the
# LICENSE file in the root directory of this source tree.
2017-01-31 07:28:08 -08:00
podspec = Pod::Spec.new do |spec|
2017-01-27 09:57:55 -08:00
spec.name = 'YogaKit'
2019-11-11 10:14:40 -08:00
spec.version = '1.18.1'
2018-02-16 18:25:02 -08:00
spec.license = { :type => 'MIT', :file => "LICENSE" }
2017-01-30 08:39:39 -08:00
spec.homepage = 'https://facebook.github.io/yoga/'
2019-03-29 10:03:46 -07:00
spec.documentation_url = 'https://facebook.github.io/yoga/docs/'
2017-01-27 09:57:55 -08:00
spec.summary = 'Yoga is a cross-platform layout engine which implements Flexbox.'
2017-01-30 08:39:39 -08:00
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.'
2017-01-27 09:57:55 -08:00
2017-01-30 08:39:39 -08:00
spec.authors = 'Facebook'
2017-01-27 09:57:55 -08:00
spec.source = {
:git => 'https://github.com/facebook/yoga.git',
2019-11-11 10:14:40 -08:00
:tag => "1.18.0",
2017-01-27 09:57:55 -08:00
}
2017-01-30 08:39:39 -08:00
2017-01-27 09:57:55 -08:00
spec.platform = :ios
2017-05-10 09:28:57 -07:00
spec.ios.deployment_target = '8.0'
2017-01-30 07:26:21 -08:00
spec.ios.frameworks = 'UIKit'
2019-11-07 10:48:44 -08:00
spec.module_name = 'YogaKit'
2019-11-11 10:14:40 -08:00
spec.dependency 'Yoga', '~> 1.14'
# Fixes the bug related the xcode 11 not able to find swift related frameworks.
# https://github.com/Carthage/Carthage/issues/2825
# https://twitter.com/krzyzanowskim/status/1151549874653081601?s=21
spec.pod_target_xcconfig = {"LD_VERIFY_BITCODE": "NO"}
spec.source_files = 'YogaKit/Source/*.{h,m,swift}'
spec.public_header_files = 'YogaKit/Source/{YGLayout,UIView+Yoga}.h'
spec.private_header_files = 'YogaKit/Source/YGLayout+Private.h'
spec.swift_version = '5.1'
2017-01-27 09:57:55 -08:00
end
2017-01-31 07:28:08 -08:00
# See https://github.com/facebook/yoga/pull/366
podspec.attributes_hash["readme"] = "YogaKit/README.md"
podspec