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"]