When I run my swift 3.2 code with Xcode 9 beta 4 this is the error I get:
*** Terminating app due to uncaught exception \'com.firebase.core\', reason: \'[FIRAp
Doing a clean then build a couple times worked for me.