From b376e01b222df90a8b1f99284831e7a8cc44e410 Mon Sep 17 00:00:00 2001 From: Om Duragkar <166276021+om-swiggy@users.noreply.github.com> Date: Mon, 29 Jul 2024 10:38:53 +0530 Subject: [PATCH] RN 73 changes that includes: 1. Unable to link iOS on debugging found that we're not using exact name as package causing podspec error in react native file access being getting unlinked --- README.md | 6 +++++- ...veFileAccess.podspec => react-native-file-access.podspec | 2 +- 2 files changed, 6 insertions(+), 2 deletions(-) rename ReactNativeFileAccess.podspec => react-native-file-access.podspec (97%) diff --git a/README.md b/README.md index cf8d6c6..4e08c4c 100644 --- a/README.md +++ b/README.md @@ -12,7 +12,11 @@ API 30 or higher. npm install react-native-file-access cd ios && pod install ``` - +``` Note: +issue with iOS Linking: + if iOS is unable to link automatically got to you ios podFile and add this: + pod 'react-native-file-access', :path => '/node_modules/react-native-file-access' +``` Apple restricts usage of certain privacy sensitive API calls. If you do not use disk space measurements or file timestamps, define the following variable in your Podfile to exclude restricted API calls. diff --git a/ReactNativeFileAccess.podspec b/react-native-file-access.podspec similarity index 97% rename from ReactNativeFileAccess.podspec rename to react-native-file-access.podspec index bc53ec3..122aadd 100644 --- a/ReactNativeFileAccess.podspec +++ b/react-native-file-access.podspec @@ -4,7 +4,7 @@ package = JSON.parse(File.read(File.join(__dir__, "package.json"))) folly_compiler_flags = '-DFOLLY_NO_CONFIG -DFOLLY_MOBILE=1 -DFOLLY_USE_LIBCPP=1 -Wno-comma -Wno-shorten-64-to-32' Pod::Spec.new do |s| - s.name = "ReactNativeFileAccess" + s.name = "react-native-file-access" s.version = package["version"] s.summary = package["description"] s.homepage = package["homepage"]