Ionic 3 Plugin Firebase Analytics

I’m using the Firebase Analytics plugin in IOS but I’m having the following error while generating the application in Xcode

Erro : library not fount for -lFirebaseCore

ld: warning: directory not found for option ‘-L/Users/develop/Library/Developer/Xcode/DerivedData/Melhores-eusmpuzvannxwaacpfhtjxrkdnik/Build/Products/Debug-iphonesimulator/FirebaseCore’

ld: warning: directory not found for option ‘-L/Users/develop/Library/Developer/Xcode/DerivedData/Melhores-eusmpuzvannxwaacpfhtjxrkdnik/Build/Products/Debug-iphonesimulator/FirebaseInstanceID’

ld: warning: directory not found for option ‘-L/Users/develop/Library/Developer/Xcode/DerivedData/Melhores-eusmpuzvannxwaacpfhtjxrkdnik/Build/Products/Debug-iphonesimulator/GoogleUtilities’

ld: warning: directory not found for option ‘-L/Users/develop/Library/Developer/Xcode/DerivedData/Melhores-eusmpuzvannxwaacpfhtjxrkdnik/Build/Products/Debug-iphonesimulator/nanopb’

ld: library not found for -lFirebaseCore

clang: error: linker command failed with exit code 1 (use -v to see invocation)

Can anybody help me ?

try

ionic cordova platform remove ios
ionic cordova platfomr add ios

if you still have problems try with pods

cd platforms/ios
pod install

I have the cocoa pods installed.
I already ran the pods install inside the “/ platforms / ios” folder even though it did not work.
Some error.

This worked for me:
open the workspace file

Good luck

Your solution worked. Thank you.