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

Undefined symbols FirebaseAnalytics 10.24.0 #12854

Open
Minhvv94 opened this issue Apr 26, 2024 · 3 comments
Open

Undefined symbols FirebaseAnalytics 10.24.0 #12854

Minhvv94 opened this issue Apr 26, 2024 · 3 comments

Comments

@Minhvv94
Copy link

Description

ld: warning: Could not find or use auto-linked library 'swiftCompatibility50': library 'swiftCompatibility50' not found
ld: warning: Could not find or use auto-linked library 'swiftCompatibility51': library 'swiftCompatibility51' not found
ld: warning: Could not find or use auto-linked library 'swiftCompatibility56': library 'swiftCompatibility56' not found
ld: warning: Could not find or use auto-linked library 'swiftCompatibilityConcurrency': library 'swiftCompatibilityConcurrency' not found
ld: warning: Could not find or use auto-linked library 'swiftCompatibilityDynamicReplacements': library 'swiftCompatibilityDynamicReplacements' not found
ld: warning: Could not find or use auto-linked library 'swiftCompatibilityPacks': library 'swiftCompatibilityPacks' not found
ld: Undefined symbols:
_swift_FORCE_LOAD$_swiftCompatibility50, referenced from:
_swift_FORCE_LOAD$swiftCompatibility50$_FirebaseAnalytics in FirebaseAnalytics17
_swift_FORCE_LOAD$_swiftCompatibility51, referenced from:
_swift_FORCE_LOAD$swiftCompatibility51$_FirebaseAnalytics in FirebaseAnalytics17
_swift_FORCE_LOAD$swiftCompatibility51$_FirebaseCoreInternal in FirebaseCoreInternal4
_swift_FORCE_LOAD$swiftCompatibility51$_RxSwift in RxSwift4
_swift_FORCE_LOAD$_swiftCompatibility56, referenced from:
_swift_FORCE_LOAD$swiftCompatibility56$_FirebaseCoreInternal in FirebaseCoreInternal4
_swift_FORCE_LOAD$swiftCompatibility56$_RxSwift in RxSwift4
_swift_FORCE_LOAD$_swiftCompatibilityConcurrency, referenced from:
_swift_FORCE_LOAD$swiftCompatibilityConcurrency$_FirebaseAnalytics in FirebaseAnalytics17
_swift_FORCE_LOAD$swiftCompatibilityConcurrency$_FirebaseCoreInternal in FirebaseCoreInternal4
_swift_FORCE_LOAD$swiftCompatibilityConcurrency$_RxSwift in RxSwift4
_swift_FORCE_LOAD$_swiftCompatibilityDynamicReplacements, referenced from:
_swift_FORCE_LOAD$swiftCompatibilityDynamicReplacements$_FirebaseAnalytics in FirebaseAnalytics17
clang: error: linker command failed with exit code 1 (use -v to see invocation)

Reproducing the issue

No response

Firebase SDK Version

10.24.0

Xcode Version

15.3

Installation Method

CocoaPods

Firebase Product(s)

Analytics

Targeted Platforms

iOS

Relevant Log Output

ld: warning: Could not find or use auto-linked library 'swiftCompatibility50': library 'swiftCompatibility50' not found
ld: warning: Could not find or use auto-linked library 'swiftCompatibility51': library 'swiftCompatibility51' not found
ld: warning: Could not find or use auto-linked library 'swiftCompatibility56': library 'swiftCompatibility56' not found
ld: warning: Could not find or use auto-linked library 'swiftCompatibilityConcurrency': library 'swiftCompatibilityConcurrency' not found
ld: warning: Could not find or use auto-linked library 'swiftCompatibilityDynamicReplacements': library 'swiftCompatibilityDynamicReplacements' not found
ld: warning: Could not find or use auto-linked library 'swiftCompatibilityPacks': library 'swiftCompatibilityPacks' not found
ld: Undefined symbols:
  __swift_FORCE_LOAD_$_swiftCompatibility50, referenced from:
      __swift_FORCE_LOAD_$_swiftCompatibility50_$_FirebaseAnalytics in FirebaseAnalytics[17](Analytics+StoreKit.o)
  __swift_FORCE_LOAD_$_swiftCompatibility51, referenced from:
      __swift_FORCE_LOAD_$_swiftCompatibility51_$_FirebaseAnalytics in FirebaseAnalytics[17](Analytics+StoreKit.o)
      __swift_FORCE_LOAD_$_swiftCompatibility51_$_FirebaseCoreInternal in FirebaseCoreInternal[4](_ObjC_HeartbeatController.o)
      __swift_FORCE_LOAD_$_swiftCompatibility51_$_RxSwift in RxSwift[4](AddRef.o)
  __swift_FORCE_LOAD_$_swiftCompatibility56, referenced from:
      __swift_FORCE_LOAD_$_swiftCompatibility56_$_FirebaseCoreInternal in FirebaseCoreInternal[4](_ObjC_HeartbeatController.o)
      __swift_FORCE_LOAD_$_swiftCompatibility56_$_RxSwift in RxSwift[4](AddRef.o)
  __swift_FORCE_LOAD_$_swiftCompatibilityConcurrency, referenced from:
      __swift_FORCE_LOAD_$_swiftCompatibilityConcurrency_$_FirebaseAnalytics in FirebaseAnalytics[17](Analytics+StoreKit.o)
      __swift_FORCE_LOAD_$_swiftCompatibilityConcurrency_$_FirebaseCoreInternal in FirebaseCoreInternal[4](_ObjC_HeartbeatController.o)
      __swift_FORCE_LOAD_$_swiftCompatibilityConcurrency_$_RxSwift in RxSwift[4](AddRef.o)
  __swift_FORCE_LOAD_$_swiftCompatibilityDynamicReplacements, referenced from:
      __swift_FORCE_LOAD_$_swiftCompatibilityDynamicReplacements_$_FirebaseAnalytics in FirebaseAnalytics[17](Analytics+StoreKit.o)
clang: error: linker command failed with exit code 1 (use -v to see invocation)

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.

@paulb777
Copy link
Member

This looks like an error related to building a version of FirebaseAnalytics with Xcode 15 and trying to link it on Xcode 14.

Please complete the template with the Podfile.lock, Podfile and exact repro steps.

@google-oss-bot
Copy link

Hey @Minhvv94. We need more information to resolve this issue but there hasn't been an update in 5 weekdays. I'm marking the issue as stale and if there are no new updates in the next 5 days I will close it automatically.

If you have more information that will help us get to the bottom of this, just add a comment!

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