Make TextKit headers private in the podspec to fix use_frameworks! builds

This commit is contained in:
Adlai Holler
2016-02-01 10:40:52 -08:00
parent 7cb430992e
commit 819a09da70

View File

@@ -13,13 +13,18 @@ Pod::Spec.new do |spec|
'AsyncDisplayKit/*.h',
'AsyncDisplayKit/Details/**/*.h',
'AsyncDisplayKit/Layout/*.h',
'AsyncDisplayKit/TextKit/*.h',
'Base/*.h'
]
spec.source_files = [
'AsyncDisplayKit/**/*.{h,m,mm}',
'Base/*.{h,m}'
'Base/*.{h,m}',
# TextKit components are not public because the C++ content
# in the headers will cause build errors when using
# `use_frameworks!` on 0.39.0 & Swift 2.1.
# See https://github.com/facebook/AsyncDisplayKit/issues/1153
'AsyncDisplayKit/TextKit/*.h',
]
spec.frameworks = 'AssetsLibrary'