Skip to content

Linking failed on iOS #171

@mrAlmond

Description

@mrAlmond

Hi, I'm trying to integrate QtFirebase in a Qt iOS app, I've encountered several issues but fortunately I've been able to solve them all (the QtFirebaseExample is probably old now if used with new versions of Xcode and firebase_sdk_cpp).
Now the biggest problem for me is that I'm getting liking errors:

Could not find or use auto-linked library 'swiftCore'
Could not find or use auto-linked library 'swiftQuartzCore'
Could not find or use auto-linked library 'swiftCoreGraphics'
Could not find or use auto-linked library 'swift_Concurrency'
Could not find or use auto-linked library 'swiftFoundation'
Could not find or use auto-linked library 'swiftCompatibility51'
Could not find or use auto-linked library 'swiftObjectiveC'
Could not find or use auto-linked library 'swiftDispatch'
Could not find or use auto-linked library 'swiftDarwin'
Could not find or use auto-linked library 'swiftUIKit'
Could not find or use auto-linked library 'swiftCoreFoundation'
Could not find or use auto-linked library 'swiftCompatibility50'
Could not find or use auto-linked library 'swiftCoreImage'
Could not find or use auto-linked library 'swiftCompatibilityDynamicReplacements'
Could not find or use auto-linked library 'swiftMetal'
Could not find or use auto-linked library 'swiftFileProvider'
Could not find or use auto-linked library 'swiftDataDetection'
Could not find or use auto-linked library 'swiftCompatibilityConcurrency'
Could not find or use auto-linked framework 'FBLPromises'

These errors can be solved by adding an empty swift file to the Xcode project, but I'd like to solve it in a better way or by adding the swift file to the QT project (maybe in the .pro file?) but I've found nothing about swift integration on a Qt project.

Please let me know!

Thank you.

PS
Xcode version 13.4.1
firebase_cpp_sdk version 9.2.0

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions