Google-signin: [iOS] Error: could not build on iOS after link

Created on 26 Apr 2018  路  3Comments  路  Source: react-native-google-signin/google-signin

Versions

react v16.1.3
react-native v0.55.2
react-native-google-signin: 0.12.0

xcode v9

Issue

I added Google Signin sdk and it build success, but has error can not read BUTTON_SIZE_ICON of undefined. After I link react-native-google-signin, it can't build with error

...
fatal error: could not build module 'CoreFoundation'
#include <CoreFoundation/CoreFoundation.h>
 ~~~~~~~~^
...
warning: non-portable path to file '"RNGoogleSignin.h"'; specified path differs in case from file name on disk [-Wnonportable-include-path]
#import "RNGoogleSignIn.h"
        ^~~~~~~~~~~~~~~~~~
        "RNGoogleSignin.h"
...
fatal error: could not build module 'Foundation'
#include <Foundation/Foundation.h>
 ~~~~~~~~^
1 error generated.
3 errors generated.

** BUILD FAILED **

The following commands produced analyzer issues:
        Analyze Base/RCTModuleMethod.mm normal x86_64
(1 command with analyzer issues)
...
No such file or directory
Print: Entry, ":CFBundleIdentifier", Does Not Exist

Command failed: /usr/libexec/PlistBuddy -c Print:CFBundleIdentifier build/Build/Products/Debug-iphonesimulator/demo.app/Info.plist
Print: Entry, ":CFBundleIdentifier", Does Not Exist
...

I tried a lots of way but it not working.

馃挜 Build Issue

All 3 comments

I follow https://github.com/devfd/react-native-google-signin/issues/338#issuecomment-380648271 and fixed this issue, but have another way?

Check out our example app and follow our updated guides.

Another common build issue closed with the only advice "try example app". Not very helpful.

Was this page helpful?
0 / 5 - 0 ratings