GithubHelp home page GithubHelp logo

Linking failed on iOS about qtfirebase HOT 10 OPEN

mrAlmond avatar mrAlmond commented on July 28, 2024 1
Linking failed on iOS

from qtfirebase.

Comments (10)

csikosgabor avatar csikosgabor commented on July 28, 2024 2

@mrAlmond I compiled the pro files into CMake files via pro2cmake and implemented and manually tested some Firebase services like Analytics, Cloud Messaging, and Crashlytics by providing Qt6 support. The last manually tested and working version was Firebase 8.3.0, and I was able to test Firebase 9.2.0 with your solution in the days.

from qtfirebase.

csikosgabor avatar csikosgabor commented on July 28, 2024 1

Hi, I had to update my Xcode to Xcode 14, and Firebase to 9.0.0, Now, I have the same issue, also I added an empty swift file into my Xcode project, but the issue exists yet. Any workaround!?

Cloud Messaging and Crashlytics are still work with Xcode 14.1 and Apple SDK 10.7.0 under Qt 6.5.1.

Did you add your *.swift file to your CMakeLists.txt?

set(SOURCES
    # Add your *.cpp files
)

list(APPEND SOURCES MyProject.swift)

qt_add_executable(${CMAKE_PROJECT_NAME} ${SOURCES})

from qtfirebase.

Larpon avatar Larpon commented on July 28, 2024

Hey and welcome! Thanks for leaving it here for others to know!

As Apple has locked me out of their developer program I'm not personally aware of, nor able to find out, how to solve this "the Qt way", sorry. I hope others might be able to chime in 🙏

from qtfirebase.

mrAlmond avatar mrAlmond commented on July 28, 2024

Hi thank you for the fast reply.
Can you suggest me a specific version of the firebase_cpp_sdk that should work well with QtFirebase?
If not possible do you know if there are other alternatives for Qt to integrate Firebase Analytics?
Is the "native" way doable?
Thank you.

from qtfirebase.

Larpon avatar Larpon commented on July 28, 2024

The last version I tested that everything was working with is 6.7.0 anything beyond that will probably need work as Google tend to break things all the time.

I don't know of any other alternatives with Qt support as QtFirebase provides. I do know there's a Firebase alternative, though, called Supabase - but it doesn't look like there's any C++ support (yet?!)

Since QtFirebase is just a wrapper on top of the firebase_cpp_sdk you should still be able to use it with Qt. Some of the major work in QtFirebase is centered towards the QML exposure of the API which you don't necessarily need (QML is usually just nice to have)

That's all I know 🤷🏼‍♂️

from qtfirebase.

Larpon avatar Larpon commented on July 28, 2024

... a long shot could also be trying to use the firebase JavaScript sdk in QML - most, if not all, JS can be tweaked to run in QML to some level. Personally I gave up after several attempts with other JS libs - but things might have changed the last few years 🤷🏼‍♂️

from qtfirebase.

mohammadhasanzadeh avatar mohammadhasanzadeh commented on July 28, 2024

Hi,
I had to update my Xcode to Xcode 14, and Firebase to 9.0.0,
Now, I have the same issue,
also I added an empty swift file into my Xcode project, but the issue exists yet.
Any workaround!?

from qtfirebase.

mohammadhasanzadeh avatar mohammadhasanzadeh commented on July 28, 2024

@csikosgabor Thanks for your help, But I using Qt 5.15.2 and qmake (not CMake).
I added my swift file to SOURCES in .pro file but not work.

from qtfirebase.

mohammadhasanzadeh avatar mohammadhasanzadeh commented on July 28, 2024

@mrAlmond Did you succeed to fix this issue by adding an empty Swift file?

from qtfirebase.

mrAlmond avatar mrAlmond commented on July 28, 2024

At the moment I'm creating a new dummy swift file in Xcode everytime I need to re-run qmake.
This because I still haven't found a way to include that swift file into the Qt project.

from qtfirebase.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.