Browse Source

Add warning about use_frameworks!

Mathieu Acthernoene 4 years ago
parent
commit
dc9bcdac6c
1 changed files with 6 additions and 1 deletions
  1. 6
    1
      README.md

+ 6
- 1
README.md View File

@@ -28,6 +28,11 @@ $ yarn add react-native-permissions
28 28
 By default no permission handler is installed. Update your `Podfile` by choosing the ones you want to check or request, then run `pod install`.
29 29
 
30 30
 ```ruby
31
+# 🚨 If you use use_framework! 🚨
32
+# - Ensure that you have installed at least Cocoapods 1.5.0
33
+# - Replace use_framework! with use_modular_headers!
34
+# (see http://blog.cocoapods.org/CocoaPods-1.5.0 for more details)
35
+
31 36
 target 'YourAwesomeProject' do
32 37
 
33 38
   # …
@@ -54,7 +59,7 @@ target 'YourAwesomeProject' do
54 59
 end
55 60
 ```
56 61
 
57
-_⚠️  If you encounter the error `Invalid RNPermission X. Should be one of: ()`, first check that you link at least one permission handler. If you did, try to cleanup Xcode junk data with `npx react-native-clean-project --remove-iOS-build --remove-iOS-pods`_
62
+_⚠️ If you encounter the error `Invalid RNPermission X. Should be one of: ()`, first check that you link at least one permission handler. If you did, try to cleanup Xcode junk data with `npx react-native-clean-project --remove-iOS-build --remove-iOS-pods`_
58 63
 
59 64
 Then update your `Info.plist` with wanted permissions usage descriptions:
60 65