3

I've got this annoying error for number of days now:

enter image description here

I've tried: Deleting pods folder & pod file & pod.lock file & .workspace file and reinstalling pods again. removing all library search paths in pods.xconfig file

this is my pod file :

# Uncomment the next line to define a global platform for your project
 platform :ios, '11.0'

target 'MyApp' do
  # Uncomment the next line if you're using Swift or would like to use dynamic frameworks
  # use_frameworks!

  # Pods for MyApp

pod 'Firebase'
pod 'Bolts'
pod 'Firebase/Firestore'
pod 'Google-Mobile-Ads-SDK'
pod 'Fabric'
pod 'Crashlytics'
pod 'PersonalizedAdConsent'
pod 'Highcharts', '~> 6.1.0'
pod 'FBSDKCoreKit'
pod 'GoogleToolboxForMac'
pod 'FirebaseAnalytics'

end

This is my problem, If you need any other indications or code about my issue, feel free to leave me a comment and I'll edit the question

samouray
  • 578
  • 1
  • 11
  • 26

1 Answers1

5

Try to run following commands in Terminal (in your project's folder):

pod deintegrate // removes all pod related configurations from your project
rm Podfile.lock //removes the saved reference to the pods
pod install // reinstalls the pods

Clean your project (In Xcode: +K and +Shift+K)

And finally make sure you compile the same target from which the error originates (You should be able to see the target it originates from within the issue navigator +5)

Daniel
  • 20,420
  • 10
  • 92
  • 149