I’m using the bare workflow with a vanilla RN app that already had some expo dependencies (expo-contacts, expo-calendar) that built successfully. I wanted to add GoogleSignIn. I followed the steps in the docs to set it up using both the docs and the linked blog post. I’m fairly certain I did everything according to instructions.
When I go to build my project, I get several errors. I’m not very familiar with Obj-C, but I think the worst error that this may be stemming from is
'UMCore/UMAppDelegateWrapper.h' file not found. Many of them relate to
GIDSignIn, saying things like “No visible @interface for GIDSignIn declares the selector ‘hasPreviousSignIn’”. I’ve attached a screenshot of the summary of errors.
I’m not sure why it wouldn’t be finding UMAppDelegateWrapper.h, so if anyone could help take a look I’d appreciate it. I’m genuinely unsure if this is my error or GoogleSignIn’s.
Edit: To debug the UMAppDelegateWrapper.h issue, I upgraded react-native-unimodules with yarn:
- "react-native-unimodules": "^0.3.1", + "react-native-unimodules": "^0.7.0-rc.1",
and removed Podfile.lock and the Pods directory and re-ran
This did fix the
UMAppDelegateWrapper.h issue, but the other four errors remain.