Did you install the Firebase package using SPM? I think FirebaseCore needs a runtime dependency, which, as far as I know, is not possible in preview at the moment.