You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+27-27Lines changed: 27 additions & 27 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -54,33 +54,6 @@ target 'YourAwesomeProject' do
54
54
end
55
55
```
56
56
57
-
#### ⚠️ If you encounter the error `Invalid RNPermission X. Should be one of: ()`
58
-
59
-
1. Check that you linked **at least one** permission handler.
60
-
2. Clean up Xcode stale data with `npx react-native-clean-project --remove-iOS-build --remove-iOS-pods`
61
-
3. If you use `use_frameworks!`, replace it by `use_modular_headers!` - see [this blog post](http://blog.cocoapods.org/CocoaPods-1.5.0) for more details
62
-
4. If you use `use_frameworks!` but **can't** replace it with `use_modular_headers!`, check the following workaround:
63
-
64
-
```ruby
65
-
# Add this code at the top of Podfile right after platform definition.
66
-
# It will make all the dynamic frameworks turning into static libraries.
puts"Overriding the static_framework? method for #{pod.name}"
76
-
defpod.build_type;
77
-
Pod::Target::BuildType.static_library
78
-
end
79
-
end
80
-
end
81
-
end
82
-
```
83
-
84
57
Then update your `Info.plist` with wanted permissions usage descriptions:
85
58
86
59
```xml
@@ -130,6 +103,33 @@ Then update your `Info.plist` with wanted permissions usage descriptions:
130
103
</plist>
131
104
```
132
105
106
+
#### ⚠️ If you encounter the error `Invalid RNPermission X. Should be one of: ()`
107
+
108
+
1. Check that you linked **at least one** permission handler.
109
+
2. Clean up Xcode stale data with `npx react-native-clean-project --remove-iOS-build --remove-iOS-pods`
110
+
3. If you use `use_frameworks!`, replace it by `use_modular_headers!` - see [this blog post](http://blog.cocoapods.org/CocoaPods-1.5.0) for more details
111
+
4. If you use `use_frameworks!` but **can't** replace it with `use_modular_headers!`, check the following workaround:
112
+
113
+
```ruby
114
+
# Add this code at the top of Podfile right after platform definition.
115
+
# It will make all the dynamic frameworks turning into static libraries.
0 commit comments