-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Description
[REQUIRED] Step 1: Describe your environment
- Xcode version: 13.4.1
- Firebase SDK version: 9.2.0
- Installation method:
Zip file
- Firebase Component: Google Sign In
- Target platform(s):
iOS
[REQUIRED] Step 2: Describe the problem
I've attempted to use the new GoogleSignInSwiftSupport
xcframework in Firebase.zip in version 9.2.0. I can't get the compiler to import the module GoogleSignInSwift
. Additionally, attempting to import GoogleSignInSwiftSupport
(as the xcframework is named) produces additional errors.
I removed all other installations of Firebase dependencies from alternate sources, cleaned my build folder, and restarted Xcode, but the issue persists. If I remove the GoogleSignInSwift
import, my project builds fine (i.e., all my other imports from this installation method are working).
Steps to reproduce:
- Add the
GoogleSignInSwiftSupport
xcframework from the Firebase zip to an iOS project, along with the GoogleSignIn framework & dependencies + resources - Add any other Firebase frameworks as needed
- Attempt to
import GoogleSignInSwift
in the project - Build
What happened? How can we make the problem occur?
This could be a description, log/console output, etc.
The error No such module 'GoogleSignInSwift'
is produced.
If instead you attempt to import GoogleSignInSwiftSupport
, in addition to the error No such module 'GoogleSignInSwiftSupport'
, you'll also receive a handful of other errors multiple times:
Redefinition of module 'GoogleSignInSwift'
Redefinition of module 'Swift'
If you have a downloadable sample project that reproduces the bug you're reporting, you will
likely receive a faster response on your issue.
Relevant Code:
import GoogleSignInSwift