Skip to content

Commit dc9bcda

Browse files
committed
Add warning about use_frameworks!
1 parent f592dc2 commit dc9bcda

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

README.md

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,11 @@ $ yarn add react-native-permissions
2828
By default no permission handler is installed. Update your `Podfile` by choosing the ones you want to check or request, then run `pod install`.
2929

3030
```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+
3136
target 'YourAwesomeProject' do
3237

3338
#
@@ -54,7 +59,7 @@ target 'YourAwesomeProject' do
5459
end
5560
```
5661

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`_
5863

5964
Then update your `Info.plist` with wanted permissions usage descriptions:
6065

0 commit comments

Comments
 (0)