Skip to content
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

Error showing @_implementationOnly import GoogleUtilities in HeartbeatsPayload #13655

Open
SriAgrawal opened this issue Sep 17, 2024 · 4 comments

Comments

@SriAgrawal
Copy link

Description

When try to run the application with updated version of firebase 11.2.0.
Application showing error on one of the class of firebase package.
Screenshot 2024-09-17 at 3 30 30 PM

Reproducing the issue

Try to run the application with firebase version 11.2.0 in XCODE - 15.3.
Event will occurred.

Firebase SDK Version

11.2.0

Xcode Version

15.3

Installation Method

Swift Package Manager

Firebase Product(s)

All

Targeted Platforms

iOS

Relevant Log Output

No response

If using Swift Package Manager, the project's Package.resolved

Expand Package.resolved snippet
Replace this line with the contents of your Package.resolved.

If using CocoaPods, the project's Podfile.lock

Expand Podfile.lock snippet
Replace this line with the contents of your Podfile.lock!
@google-oss-bot
Copy link

I couldn't figure out how to label this issue, so I've labeled it for a human to triage. Hang tight.

@ncooke3
Copy link
Member

ncooke3 commented Sep 17, 2024

Hi @SriAgrawal, this is unexpected since Xcode should be setting SWIFT_PACKAGE when building SPM libraries. Have you tried deleting derived data, the package cache, resolving package versions to ensure it's not some transient Xcode behavior?

@SriAgrawal
Copy link
Author

Hi @ncooke3 As you suggested i tried to cleaned all the things like derived data, the package cache but still issue exists.
I also observed one more thing that when i tried to installed pod, after installation i observed two instance of firebase and googleutilities pod is installing.
Please find in the attached screenshot of pod file installation of terminal.
I like to inform you, just i moved into new mac system which M3, previously in M1 it's working fine.
Screenshot 2024-09-18 at 11 08 51 AM

@paulb777
Copy link
Member

@SriAgrawal The two versions is definitely a problem. The Podfile.lock file should provide details about why the old versions are being installed and point to a resolution in the Podfile.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants