Was:
#if __has_include("RCTBridgeModule.h")
#import "RCTBridgeModule.h"
#else
#import <React/RCTBridgeModule.h>
#endif
Should:
#if __has_include(<React/RCTBridgeModule.h>)
#import <React/RCTBridgeModule.h>
#else
#import "RCTBridgeModule.h"
#endif
If I do this , I got #import "RCTDevMenu.h" not found error :(
Add following into Header Search Paths
$(inherited) (non-recursive)
${PODS_DEV_ROOT}/React (recursive)
$(BUILT_PRODUCTS_DIR)/usr/local/include (recursive)
Has this been fixed
@AlmogRnD It's not working for me - I've tried targeting the commit with the merged fix above (package.json "react-native-permissions": "git+ssh://[email protected]/yonahforst/react-native-permissions.git#e7454a9c62e773a8d5ba5c6dc20843beb56c3c81",) and I'm still getting the same error on RN 48.3 :-(
fixed in #146
Any plan to cut a release?
@MoOx just published 1.0.1 馃帀
Thank you!
@legik Thanks for sharing!
@iegik - where do we change the import priority?
I mean which file?
@snarang2 in *.h file, checkout this PR https://github.com/vinnyjth/react-native-permissions/pull/1/files
Changing the priority works for me but then i get a linker error:
ld: library not found for -lPods-GroceriesApp
clang: error: linker command failed with exit code 1 (use -v to see invocation)
How do I handle that ?
Actually it's quite weird, when I open .xcworkspace as opposed to .xcodeproj, I get 27 linker errors, clearly I've installed something incorrectly.
i also have the same issue , In which file we need to change this
The issue reproduced on the react-native 0.56.0
@suijunqiang Same issue here on the react-native 0.56.0. Has the problem been solved?
@TheSixth correct, it can be fixed as @iegik said.
@suijunqiang how did you solved this issue?
Most helpful comment
@AlmogRnD It's not working for me - I've tried targeting the commit with the merged fix above (package.json
"react-native-permissions": "git+ssh://[email protected]/yonahforst/react-native-permissions.git#e7454a9c62e773a8d5ba5c6dc20843beb56c3c81",) and I'm still getting the same error on RN 48.3 :-(