Im using react-native-permissions in ios build emulator (iphone 14 pro) but build always fails with error
Invariant Violation: TurboModuleRegistry.getEnforcing(...): 'RNPermissionsModule' could not be found. Verify that a module by this name is registered in the native binary., js engine: hermes
I added
pod 'RNPermissions', :path => '../node_modules/react-native-permissions'
to my Podfile
but that doesn't solve my problem
I Foud A solution by adding
after use_frameworks! to PodFile and adding
to package.json and running react-native setup-ios-permissions && pod-install