How to disable firebase push in ios build?

I DON’t want to use firebase push in ios version. I removed all libraries that were exported to ios. But when you try to build in xcode an error appears :
ld: warning: directory not found for option ‘-L/Users/FK/Library/Developer/Xcode/DerivedData/Unity-iPhone-dnakzntwlhmijndphyletzsomaqq/Build/Products/ReleaseForRunning-iphoneos/FirebaseCore’
ld: warning: directory not found for option ‘-L/Users/FK/Library/Developer/Xcode/DerivedData/Unity-iPhone-dnakzntwlhmijndphyletzsomaqq/Build/Products/ReleaseForRunning-iphoneos/FirebaseCoreDiagnostics’
ld: warning: directory not found for option ‘-L/Users/FK/Library/Developer/Xcode/DerivedData/Unity-iPhone-dnakzntwlhmijndphyletzsomaqq/Build/Products/ReleaseForRunning-iphoneos/FirebaseInstanceID’
ld: warning: directory not found for option ‘-L/Users/FK/Library/Developer/Xcode/DerivedData/Unity-iPhone-dnakzntwlhmijndphyletzsomaqq/Build/Products/ReleaseForRunning-iphoneos/FirebaseMessaging’
ld: warning: directory not found for option ‘-L/Users/FK/Library/Developer/Xcode/DerivedData/Unity-iPhone-dnakzntwlhmijndphyletzsomaqq/Build/Products/ReleaseForRunning-iphoneos/GoogleDataTransport’
:-1: library not found for -lFirebaseCore

There are ways to exclude firebase push from ios version but leave it in android?

WORKAROUND
In Assets/ExternalDependencyManager/Editor Folder, you should delete Google.IOSResolver_v1.2.144.dll and Google.IOSResolver_v1.2.144.dll.mdb

1 Like

I figured out how to remove just Firebase Cloud Messaging, or the entire Firebase package from only iOS builds (keeping it for Android). Figured I’d share here since this came up in my searches when I was looking:
https://stackoverflow.com/a/70037913/3124155