Xcode depreciation error

ive added ad mobs to Xcode and when I used the temporary ad code I get this error. when I run the app in simulator nothing loads in. does anyone have any suggestions?

    //Initialize Firebase

        FirebaseApp.configure()

        

        //Initialize Admob

        GADMobileAds.configure(withApplicationID:"ca-app-pub-3940256099942544/2934735716")

        

        return true

the error code says : configure (with application ID) is Depreciated

I don't have an answer, but I can tell you that the word is "deprecated", not "depreciated". Those are two different words.

Xcode depreciation error
 
 
Q