-
Notifications
You must be signed in to change notification settings - Fork 1.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Zip: No such module 'GoogleSignInSwift'
on import
#9937
Comments
I found a few problems with this issue:
|
Thanks for reporting this, @ionothanus. I was able to reproduce the issue. I'll inform the engineers about this and see what we can do. |
I've reproduced. It looks like there are various inconsistencies in the CocoaPods/Xcode/Zip Builder tooling when the module name is different from the pod name. We can do a bit more investigation, but as it looks now, we may need to drop GoogleSignInSwiftSupport from the zip as long as its module name does not match the pod name. Sorry about the misfire in the 9.2.0 release. cc: @petea |
[REQUIRED] Step 1: Describe your environment
Zip file
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 moduleGoogleSignInSwift
. Additionally, attempting to importGoogleSignInSwiftSupport
(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:
GoogleSignInSwiftSupport
xcframework from the Firebase zip to an iOS project, along with the GoogleSignIn framework & dependencies + resourcesimport GoogleSignInSwift
in the projectWhat 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 errorNo 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:
The text was updated successfully, but these errors were encountered: