Google-signin: IOS Build Failed (Unknown type namespace)

Created on 5 Jul 2018  Â·  6Comments  Â·  Source: react-native-google-signin/google-signin

Steps to Reproduce

  • Use GoogleSignIn with react-native-maps

Actual Behavior

Here is trace

2018-07-03 17 03 49

Environment

Here is my Podfile
2018-07-04 10 09 34

  • react-native
  • react-native-google-signin
  • react
  • cocoapods and GoogleSignIn pod version (if applicable)
  • gradle, android plugin for gradle and play-services-auth version (if applicable)

This way of installing React use Folly and boost-for-react-native which cause this error
I need this for react-native-maps
When I use GoogleSignIn in clear project - all good
How to use react-native-google-signin with react-native-maps?

💥 Build Issue  iOS needs repro / repro steps

Most helpful comment

@jmacioszek remove${SRCROOT}/../../../ios/** from RNGoogleSignin.xcodeproj header search path.

All 6 comments

I am not using react native maps but still same issue.

Solved by changing RNGoogleSignin.xcodeproj
In "Framework search paths" and in "Header search paths" should use $(PROJECT_DIR)/GoogleSdk

Also having this issue, but the proposed solution does not work for me. Any other ideas?

@jmacioszek remove${SRCROOT}/../../../ios/** from RNGoogleSignin.xcodeproj header search path.

@AbhishekCode awesome, thanks a lot!

Solved.

Was this page helpful?
0 / 5 - 0 ratings