Google-signin: Parse issue Expected ','

Created on 3 Dec 2019  路  8Comments  路  Source: react-native-google-signin/google-signin

Previously i was on react-native 0.59.3 but i and google signIn was working fine after that i have upgraded my project to * 0.61.2* and install this library with the auto linking but in auto linking i am getting this error.
Screenshot 2019-12-03 at 1 08 20 PM
My problem is similar to this.
https://stackoverflow.com/questions/59023380/firebase-ios-swift-authentication-api-unavailablemaccatalyst-problem

Expected Behavior

Unable to build the project.

Actual Behavior

Project should build normally.

Environment

Please provide

I am on the on the "3.0.3" of google-signin
react-native version 0.61.2
Xcode veriosn 10.3

```use_frameworks!
platform :ios, '10.0'
require_relative '../node_modules/@react-native-community/cli-platform-ios/native_modules'
My pod file
target 'Wefiq' do
# Pods for Wefiq
pod 'FBLazyVector', :path => "../node_modules/react-native/Libraries/FBLazyVector"
pod 'FBReactNativeSpec', :path => "../node_modules/react-native/Libraries/FBReactNativeSpec"
pod 'RCTRequired', :path => "../node_modules/react-native/Libraries/RCTRequired"
pod 'RCTTypeSafety', :path => "../node_modules/react-native/Libraries/TypeSafety"
pod 'React', :path => '../node_modules/react-native/'
pod 'React-Core', :path => '../node_modules/react-native/'
pod 'React-CoreModules', :path => '../node_modules/react-native/React/CoreModules'
pod 'React-Core/DevSupport', :path => '../node_modules/react-native/'
pod 'React-RCTActionSheet', :path => '../node_modules/react-native/Libraries/ActionSheetIOS'
pod 'React-RCTAnimation', :path => '../node_modules/react-native/Libraries/NativeAnimation'
pod 'React-RCTBlob', :path => '../node_modules/react-native/Libraries/Blob'
pod 'React-RCTImage', :path => '../node_modules/react-native/Libraries/Image'
pod 'React-RCTLinking', :path => '../node_modules/react-native/Libraries/LinkingIOS'
pod 'React-RCTNetwork', :path => '../node_modules/react-native/Libraries/Network'
pod 'React-RCTSettings', :path => '../node_modules/react-native/Libraries/Settings'
pod 'React-RCTText', :path => '../node_modules/react-native/Libraries/Text'
pod 'React-RCTVibration', :path => '../node_modules/react-native/Libraries/Vibration'
pod 'React-Core/RCTWebSocket', :path => '../node_modules/react-native/'

pod 'React-cxxreact', :path => '../node_modules/react-native/ReactCommon/cxxreact'
pod 'React-jsi', :path => '../node_modules/react-native/ReactCommon/jsi'
pod 'React-jsiexecutor', :path => '../node_modules/react-native/ReactCommon/jsiexecutor'
pod 'React-jsinspector', :path => '../node_modules/react-native/ReactCommon/jsinspector'
pod 'ReactCommon/jscallinvoker', :path => "../node_modules/react-native/ReactCommon"
pod 'ReactCommon/turbomodule/core', :path => "../node_modules/react-native/ReactCommon"
pod 'Yoga', :path => '../node_modules/react-native/ReactCommon/yoga'

pod 'DoubleConversion', :podspec => '../node_modules/react-native/third-party-podspecs/DoubleConversion.podspec'
pod 'glog', :podspec => '../node_modules/react-native/third-party-podspecs/glog.podspec'
pod 'Folly', :podspec => '../node_modules/react-native/third-party-podspecs/Folly.podspec'

target 'WefiqTests' do
inherit! :search_paths
# Pods for testing
end

use_native_modules!
end

target 'Wefiq-tvOS' do
# Pods for Wefiq-tvOS

target 'Wefiq-tvOSTests' do
inherit! :search_paths
# Pods for testing
end

end
post_install do |installer|
installer.pods_project.targets.each do |target|
if ['react-native-track-player'].include? target.name
target.build_configurations.each do |config|
config.build_settings['SWIFT_VERSION'] = '5'
end
end
end
end

```Detected React Native module pods for BVLinearGradient, RNBackgroundFetch, RNDeviceInfo, RNGestureHandler, RNGoogleSignin, RNReanimated, RNSVG, RNScreens, RNVectorIcons, ReactNativeART, ReactNativeExceptionHandler, react-native-config, react-native-cookies, react-native-fast-image, react-native-fbsdk, react-native-netinfo, react-native-slider, react-native-splash-screen, react-native-track-player, react-native-video, and react-native-webview
Analyzing dependencies
Fetching podspec for `BVLinearGradient` from `../node_modules/react-native-linear-gradient`
Fetching podspec for `FBLazyVector` from `../node_modules/react-native/Libraries/FBLazyVector`
Fetching podspec for `FBReactNativeSpec` from `../node_modules/react-native/Libraries/FBReactNativeSpec`
Fetching podspec for `RCTRequired` from `../node_modules/react-native/Libraries/RCTRequired`
Fetching podspec for `RCTTypeSafety` from `../node_modules/react-native/Libraries/TypeSafety`
Fetching podspec for `RNBackgroundFetch` from `../node_modules/react-native-background-fetch`
Fetching podspec for `RNDeviceInfo` from `../node_modules/react-native-device-info`
Fetching podspec for `RNGestureHandler` from `../node_modules/react-native-gesture-handler`
Fetching podspec for `RNGoogleSignin` from `../node_modules/@react-native-community/google-signin`
Fetching podspec for `RNReanimated` from `../node_modules/react-native-reanimated`
Fetching podspec for `RNSVG` from `../node_modules/react-native-svg`
Fetching podspec for `RNScreens` from `../node_modules/react-native-screens`
Fetching podspec for `RNVectorIcons` from `../node_modules/react-native-vector-icons`
Fetching podspec for `React` from `../node_modules/react-native/`
Fetching podspec for `React-Core` from `../node_modules/react-native/`
Fetching podspec for `React-CoreModules` from `../node_modules/react-native/React/CoreModules`
Fetching podspec for `React-RCTActionSheet` from `../node_modules/react-native/Libraries/ActionSheetIOS`
Fetching podspec for `React-RCTAnimation` from `../node_modules/react-native/Libraries/NativeAnimation`
Fetching podspec for `React-RCTBlob` from `../node_modules/react-native/Libraries/Blob`
Fetching podspec for `React-RCTImage` from `../node_modules/react-native/Libraries/Image`
Fetching podspec for `React-RCTLinking` from `../node_modules/react-native/Libraries/LinkingIOS`
Fetching podspec for `React-RCTNetwork` from `../node_modules/react-native/Libraries/Network`
Fetching podspec for `React-RCTSettings` from `../node_modules/react-native/Libraries/Settings`
Fetching podspec for `React-RCTText` from `../node_modules/react-native/Libraries/Text`
Fetching podspec for `React-RCTVibration` from `../node_modules/react-native/Libraries/Vibration`
Fetching podspec for `React-cxxreact` from `../node_modules/react-native/ReactCommon/cxxreact`
Fetching podspec for `React-jsi` from `../node_modules/react-native/ReactCommon/jsi`
Fetching podspec for `React-jsiexecutor` from `../node_modules/react-native/ReactCommon/jsiexecutor`
Fetching podspec for `React-jsinspector` from `../node_modules/react-native/ReactCommon/jsinspector`
Fetching podspec for `ReactCommon` from `../node_modules/react-native/ReactCommon`
Fetching podspec for `ReactNativeART` from `../node_modules/@react-native-community/art`
Fetching podspec for `ReactNativeExceptionHandler` from `../node_modules/react-native-exception-handler`
Fetching podspec for `Yoga` from `../node_modules/react-native/ReactCommon/yoga`
Fetching podspec for `react-native-config` from `../node_modules/react-native-config`
Fetching podspec for `react-native-cookies` from `../node_modules/react-native-cookies/ios`
Fetching podspec for `react-native-fast-image` from `../node_modules/react-native-fast-image`
Fetching podspec for `react-native-fbsdk` from `../node_modules/react-native-fbsdk`
Fetching podspec for `react-native-netinfo` from `../node_modules/@react-native-community/netinfo`
Fetching podspec for `react-native-slider` from `../node_modules/@react-native-community/slider`
Fetching podspec for `react-native-splash-screen` from `../node_modules/react-native-splash-screen`
Fetching podspec for `react-native-track-player` from `../node_modules/react-native-track-player`
Fetching podspec for `react-native-video` from `../node_modules/react-native-video`
Fetching podspec for `react-native-webview` from `../node_modules/react-native-webview`
Downloading dependencies
Installing AppAuth (1.3.0)
Using BVLinearGradient (2.5.6)
Using DoubleConversion (1.1.6)
Using FBLazyVector (0.61.0-rc.3)
Using FBReactNativeSpec (0.61.0-rc.3)
Using FBSDKCoreKit (5.8.0)
Using FBSDKLoginKit (5.8.0)
Using FBSDKShareKit (5.8.0)
Using Folly (2018.10.22.00)
Installing GTMAppAuth (1.0.0)
Installing GTMSessionFetcher (1.3.0)
Installing GoogleSignIn (5.0.2)
Using RCTRequired (0.61.0-rc.3)
Using RCTTypeSafety (0.61.0-rc.3)
Using RNBackgroundFetch (2.7.1)
Using RNDeviceInfo (5.3.1)
Using RNGestureHandler (1.5.2)
Installing RNGoogleSignin (3.0.3)
Using RNReanimated (1.4.0)
Using RNSVG (9.13.3)
Using RNScreens (2.0.0-alpha.15)
Using RNVectorIcons (6.6.0)
Using React (0.61.0-rc.3)
Using React-Core (0.61.0-rc.3)
Using React-CoreModules (0.61.0-rc.3)
Using React-RCTActionSheet (0.61.0-rc.3)
Using React-RCTAnimation (0.61.0-rc.3)
Using React-RCTBlob (0.61.0-rc.3)
Using React-RCTImage (0.61.0-rc.3)
Using React-RCTLinking (0.61.0-rc.3)
Using React-RCTNetwork (0.61.0-rc.3)
Using React-RCTSettings (0.61.0-rc.3)
Using React-RCTText (0.61.0-rc.3)
Using React-RCTVibration (0.61.0-rc.3)
Using React-cxxreact (0.61.0-rc.3)
Using React-jsi (0.61.0-rc.3)
Using React-jsiexecutor (0.61.0-rc.3)
Using React-jsinspector (0.61.0-rc.3)
Using ReactCommon (0.61.0-rc.3)
Installing ReactNativeART (1.0.3)
Using ReactNativeExceptionHandler (2.10.8)
Using SDWebImage (5.3.2)
Using Yoga (1.14.0)
Using boost-for-react-native (1.63.0)
Using glog (0.3.5)
Using react-native-config (0.12.0)
Using react-native-cookies (3.2.0)
Using react-native-fast-image (6.1.1)
Using react-native-fbsdk (1.1.1)
Using react-native-netinfo (4.6.1)
Using react-native-slider (1.1.4)
Using react-native-splash-screen (3.2.0)
Using react-native-track-player (1.1.8)
Using react-native-video (5.0.2)
Using react-native-webview (7.5.2)
Generating Pods project
Integrating client project
Sending stats
Pod installation complete! There are 49 dependencies from the Podfile and 55 total pods installed.

[!] The `WefiqTests [Debug]` target overrides the `FRAMEWORK_SEARCH_PATHS` build setting defined in `Pods/Target Support Files/Pods-WefiqTests/Pods-WefiqTests.debug.xcconfig'. This can lead to problems with the CocoaPods installation
    - Use the `$(inherited)` flag, or
    - Remove the build settings from the target.

[!] The `WefiqTests [Debug]` target overrides the `OTHER_LDFLAGS` build setting defined in `Pods/Target Support Files/Pods-WefiqTests/Pods-WefiqTests.debug.xcconfig'. This can lead to problems with the CocoaPods installation
    - Use the `$(inherited)` flag, or
    - Remove the build settings from the target.

[!] The `WefiqTests [Release]` target overrides the `FRAMEWORK_SEARCH_PATHS` build setting defined in `Pods/Target Support Files/Pods-WefiqTests/Pods-WefiqTests.release.xcconfig'. This can lead to problems with the CocoaPods installation
    - Use the `$(inherited)` flag, or
    - Remove the build settings from the target.

[!] The `WefiqTests [Release]` target overrides the `OTHER_LDFLAGS` build setting defined in `Pods/Target Support Files/Pods-WefiqTests/Pods-WefiqTests.release.xcconfig'. This can lead to problems with the CocoaPods installation
    - Use the `$(inherited)` flag, or
    - Remove the build settings from the target.

Most helpful comment

There seems to be incompatible code in lib AppAuth 1.3.0
I workaround it to 1.2.0 in podfile.lock to fix this issue!

All 8 comments

There seems to be incompatible code in lib AppAuth 1.3.0
I workaround it to 1.2.0 in podfile.lock to fix this issue!

Apparently it works and builds fine on Xcode 11.

@kaseru where i need to change this version ?

@appify-waheed change it in podfile.lock :)

@kaseru i have tried in the Xcode 11 and it works there but i will also try to change this with podfile.lock file, Thanks

@kaseru in Pod.lock there is already AppAuth AppAuth (~> 1.2)

how can i add AppAuth 1.2.0 directly ,
in podfile i added this line
AppAuth ~> 1.2.0
but its showing syntax error while installing pod.

since this issue has been inactive for a while I'm assuming solution from https://github.com/react-native-community/react-native-google-signin/issues/793#issuecomment-561244859 works, or upgrading to xcode 11 helps.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

ChaoTzuJung picture ChaoTzuJung  路  3Comments

guidotajan picture guidotajan  路  4Comments

yogeshpaisode picture yogeshpaisode  路  4Comments

uendar picture uendar  路  3Comments

smartcris picture smartcris  路  3Comments