title: iOS Swift - Firebase custom event logging not working
body: <p>I have set my app to log analytic events to Firebase</p>
  
  <p>I have carefully followed the <a href="https://firebase.google.com/docs/analytics/ios/start" rel="noreferrer">official Firebase tutorial</a> </p>
  
  <p>I have also watched the video <a href="https://www.youtube.com/watch?time_continue=5&amp;v=5pYdTgSkW5E" rel="noreferrer">here</a></p>
  
  <p>I have added the FIRAnalyticsDebugEnabled to my scheme as you can see in the image</p>
  
  <p><a href="https://i.stack.imgur.com/M5TBA.png" rel="noreferrer"><img src="https://i.stack.imgur.com/M5TBA.png" alt="enter image description here"></a></p>
  
  <p>I have ensured that events have no white spaces (underscores instead)
  and that they meet the character limit</p>
  
  <p>My Firebase core and Analytics are set correctly because I can see the standard set of Firebase events that are automatically logged and general statistics etc but <strong>NONE OF MY CUSTOM EVENTS ARE LOGGED</strong> </p>
  
  <p>here is an example line of code I use to log a simple event (string):</p>
  
  <pre><code>    Analytics.logEvent(eventName, nil) //eventName is a string
  </code></pre>
  
  <p>This is what I see in the xcode debug console upon custom event logging:</p>
  
  <pre><code>    myapp[2977:1016413] [Firebase/Analytics][I-ACS000000] Logging event: origin, name, params: auto, error (_err), {
  </code></pre>
  
  <p>This debug information tells me nothing and i'm not sure FIRAnalyticsDebugEnabled is even working correctly</p>
  
  <p>Any ideas on what I could be doing wrong ?</p>