diff --git a/assets/Times New Roman.ttf b/ios/Fonts/Times New Roman.ttf similarity index 100% rename from assets/Times New Roman.ttf rename to ios/Fonts/Times New Roman.ttf diff --git a/ios/RNReactNativePdfLib.podspec b/ios/RNReactNativePdfLib.podspec index 98cc292..620835f 100644 --- a/ios/RNReactNativePdfLib.podspec +++ b/ios/RNReactNativePdfLib.podspec @@ -16,6 +16,7 @@ Pod::Spec.new do |s| s.ios.deployment_target = '8.0' s.dependency 'React' s.source_files = "**/*.{h,mm}" + s.resources = "Fonts/*.ttf" s.header_mappings_dir = "lib/include" s.ios.vendored_libraries =["lib/universal/libFreeType.a", "lib/universal/libLibJpeg.a", "lib/universal/libLibTiff.a", "lib/universal/libPDFWriter.a", "lib/universal/libZlib.a"] -end \ No newline at end of file +end