I have an iOS project that uses the Firebase SDK and I am getting a warning from the App Store that I cannot submit a project using the deprecating UIWebView that an older version of Firebase auth uses.
I know I need to update the Firebase Pod to the newest version as I can see in the Firebase release notes that this issue was fixed on build 6.8.0.
However when I do pod install with this section in my Podfile:
pod 'Firebase/Analytics', '~> 6.8.0'
pod 'Firebase/Auth', '~> 6.8.0'
pod 'Firebase/Firestore', '~> 6.8.0'
I keep getting an error:
Error
JSON::ParserError - 751: unexpected token at ''
This pod works fine though:
pod 'Firebase/Analytics'
pod 'Firebase/Auth'
pod 'Firebase/Firestore
What am I doing wrong?
UPDATE:
It turns out there was something in the 6.8.0 version of the Pod that breaks Cocoapods. I changed the line to:
pod 'Firebase/Auth','~> 6.12.0'
and it successfully installed the updated pod I needed without references to UIWebView.