diff --git a/ios/RNTextSize.podspec b/RNTextSize.podspec similarity index 89% rename from ios/RNTextSize.podspec rename to RNTextSize.podspec index 281e201..da929db 100644 --- a/ios/RNTextSize.podspec +++ b/RNTextSize.podspec @@ -1,5 +1,5 @@ require 'json' -package = JSON.parse(File.read('../package.json')) +package = JSON.parse(File.read('./package.json')) Pod::Spec.new do |s| s.name = 'RNTextSize' @@ -14,7 +14,7 @@ Pod::Spec.new do |s| s.author = package['author'] s.platform = :ios, '9.0' s.source = { :git => package['repository'], :tag => "v#{s.version}" } - s.source_files = '*.{h,m}' + s.source_files = 'ios/*.{h,m}' s.requires_arc = true s.dependency 'React'