title: Firebase IOS : Warning "setScreenName:screenClass: must be called after a view controller has appeared"
body: <p>I want to understand the warning I am getting from Firbase IOS</p>
  
  <pre><code>&lt;FIRAnalytics/WARNING&gt; setScreenName:screenClass: must be called after a view controller has appeared
  </code></pre>
  
  <p>My info.plist contains </p>
  
  <pre><code>FirebaseAutomaticScreenReportingEnabled = NO
  </code></pre>
  
  <p>I am calling </p>
  
  <pre><code>override func viewDidAppear(_ animated: Bool) {
      super.viewDidAppear(animated)
      recordScreenView()    
  }
  
  func recordScreenView() {
      // title from the story board
      // These strings must be &lt;= 36 characters long in order for setScreenName:screenClass: to succeed.
      guard let screenName = title else {
          return
      }
      let screenClass = classForCoder.description()
  
      // [START set_current_screen]
       GCITracking.sharedInstance.trackSetScreenName(screenName, screenClass: screenClass)
      // [END set_current_screen]
  }
  </code></pre>
  
  <p>code taken from sample app</p>
  
  <p>I am not seeing my screen event as expected but I am not sure whether this has anything to do with my code or is a GTM configuration issue.</p>
  
  <p>I found the warning message ambigious</p>