I have followed the the steps on how to add this plugin. It works perfectly well on Android, however on iOS when I run react-native run-ios i get the following error:
The following build commands failed: CompileC /Users/joeabdelsater/Library/Developer/Xcode/DerivedData/karya-arjazwuuyvljfrfxdrikbhslvzgv/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/AppAuth.build/Objects-normal/x86_64/OIDAuthorizationService+IOS.o /Users/joeabdelsater/Documents/apps/react-native/karya/karyagit/ios/Pods/AppAuth/Source/iOS/OIDAuthorizationService+IOS.m normal x86_64 objective-c com.apple.compilers.llvm.clang.1_0.compiler(1 failure)
My podfile.lock is below:
PODS: - AppAuth (1.3.1): - AppAuth/Core (= 1.3.1) - AppAuth/ExternalUserAgent (= 1.3.1) - AppAuth/Core (1.3.1) - AppAuth/ExternalUserAgent (1.3.1) - GoogleSignIn (5.0.2): - AppAuth (~> 1.2) - GTMAppAuth (~> 1.0) - GTMSessionFetcher/Core (~> 1.1) - GTMAppAuth (1.0.0): - AppAuth/Core (~> 1.0) - GTMSessionFetcher (~> 1.1) - GTMSessionFetcher (1.4.0): - GTMSessionFetcher/Full (= 1.4.0) - GTMSessionFetcher/Core (1.4.0) - GTMSessionFetcher/Full (1.4.0): - GTMSessionFetcher/Core (= 1.4.0) - RNGoogleSignin (4.0.3): - GoogleSignIn (~> 5.0.2) - React - GoogleSignIn (~> 5.0.2)SPEC REPOS: trunk: - AppAuth - boost-for-react-native - FBSDKCoreKit - FBSDKLoginKit - FBSDKShareKit - GoogleSignIn - GTMAppAuth - GTMSessionFetcherCOCOAPODS: 1.8.4
And my Podfile is:
platform :ios, '9.0'require_relative '../node_modules/@react-native-community/cli-platform-ios/native_modules'target 'karya' do # Pods for karya pod 'GoogleSignIn', '~> 5.0.2'
Any ideas how to solve this? I am assuming it is related to google signin.Thanks