I can’t seem to get past this error in Xcode:
I’ve tried pod install
and pod update
and still get the same error. What is the meaning of this error and where should I be looking to troubleshoot?
I can’t seem to get past this error in Xcode:
I’ve tried pod install
and pod update
and still get the same error. What is the meaning of this error and where should I be looking to troubleshoot?
What does your Podfile look like?
This is my podfile
:
# Uncomment the next line to define a global platform for your project
platform :ios, '9.0'
target 'OnePrep' do
# Comment the next line if you don't want to use dynamic frameworks
use_frameworks!
# Pods for OnePrep
project 'OnePrep.xcodeproj'
pod 'Firebase/Firestore'
pod 'FirebaseFirestoreSwift'
pod 'FirebaseUI'
pod 'Firebase/Auth'
pod 'Firebase/Storage'
pod 'Firebase/AdMob'
pod 'Google-Mobile-Ads-SDK'
pod 'GoogleSignIn'
pod 'FBSDKCoreKit'
pod 'FBSDKLoginKit'
pod 'FBSDKShareKit'
pod 'Firebase/Core'
end
Everything is indented incorrectly I think
The pods and project needs to be at the same indentation level as Pods for OnePrep
Like it is when you first create the file
Remove the line that says:
project 'OnePrep.xcodeproj'
Thank you! I updated my podfile to the following and now it works:
# Uncomment the next line to define a global platform for your project
# platform :ios, '9.0'
target 'OnePrep' do
# Comment the next line if you don't want to use dynamic frameworks
use_frameworks!
# Pods for OnePrep
pod 'Firebase/Firestore'
pod 'FirebaseFirestoreSwift', '~> 7.0-beta'
pod 'Firebase/Auth'
pod 'Firebase/Storage'
pod 'Firebase/AdMob'
pod 'Google-Mobile-Ads-SDK'
pod 'GoogleSignIn', '~> 5.0.2'
pod 'FBSDKCoreKit'
pod 'FBSDKLoginKit'
pod 'FBSDKShareKit'
pod 'FirebaseUI'
end
I think using a couple older versions of pods helped, as I was using these at one point before.