Comments (15)
I think that this was closed by 86f539a. However, it seems that FCM may not require Analytics/Core any longer, so this might be a requirement that QtFirebase can drop.
from qtfirebase.
I encountered this issue in my project. Make sure your -F flags are properly set up, for example Firebase iOS SDK 6.14 changed Analytics
folder name to FirebaseAnalytics
. Also, make sure that your QTFIREBASE_CONFIG
flag is properly set up. It works fine with Firebase iOS SDK 6.10.
from qtfirebase.
I had the same issue with the messaging subsystem, see #91
In this case I guess you are missing at least the -framework FirebaseCore in LIBS.
Depending on what subsystems you try to get to work you should check the qtfirebase_target.pri and add frameworks to LIBS that are missing(I used google to find what frameworks are missing) until it works.
from qtfirebase.
Hello, thanks for your answer, I saw your issue and tried to do the same. I was also using messaging only, so I tried to compile the QtFirebaseExample project with all the components, and I still got the same error. The error came from the iOS SDK version. I had the 5.8.0, and i downloaded the 5.3.0 instead, and then only it worked. Download link
from qtfirebase.
The firebase cpp sdk version I use is v5.3.0.
I downloaded the firebase ios sdk using the script download_firebase.sh provided with QtFirebase, it seems to be v5.7.0 but it works so far.
If you try to build all components with newer version of the sdk you need to make changes to the linked frameworks in qtfirebase_target.pri.
A few of the changes are documented here: https://firebase.google.com/support/release-notes/ios
from qtfirebase.
Yes I have the same version of cpp SDK, the link in the sh scripts is a download link from firebase where they provide the last version of their SDK, so it changes evey month I guess.
from qtfirebase.
Hmm... They must've moved something around in the latest versions then. I'm hoping to get some more time for brushing things up in the coming weeks
from qtfirebase.
- no guarantees though
from qtfirebase.
It seems that Google has changed the naming of frameworks again with the C++ SDK v5.3.0 release.
These two frameworks are now needed to build Analytics (and probably Firebase core if you aren't including the Analytics module):
GoogleAppMeasurement
GoogleUtilities
And these two no longer exist:
FirebaseNanoPb
GoogleToolboxForMac
I've only tested the Analytics and Messaging modules for changes, so there could be more changes needed to fix other modules.
The latest Firebase iOS SDK is v5.9.0 now, so updating it is also advisable if you are using the latest C++ SDK v5.3.0.
from qtfirebase.
Has anyone been able to resolve this problem without resorting to modifying the Google Firebase code?
With Google Firebase SDK 1.6.0, I have only been able to work around this issue by modifying the following files from the iOS Frameworks:
- Firebase/Firebase.h
- Firebase/Analytics/FirebaseCore.framework/Headers/FIRConfiguration.h
In Firebase.h, I need to change:
#import <FirebaseCore/FirebaseCore.h>
to:
#import <FirebaseCore.h>
In FIRConfiguration.h, I need to change:
#import <FirebaseCore/FIRLoggerLevel.h>
to:
#import <FIRLoggerLevel.h>
And then I need to add the following to INCLUDEPATH in qtfirebase_target.pri:
$$QTFIREBASE_FRAMEWORKS_ROOT/Firebase/Analytics/FirebaseCore.framework/Headers
Does anyone know why qmake isn't finding the FirebaseCore framework headers? According to the instructions at https://doc.qt.io/qt-5/qmake-platform-notes.html, I tried adding the following to qtfirebase_target.pri:
- LIBS += -F$$QTFIREBASE_FRAMEWORKS_ROOT/Firebase/Analytics/FirebaseCore.framework
- LIBS += -framework FirebaseCore
That doesn't help. Any ideas?
from qtfirebase.
It's super weird - and I haven't been able to track it down as of this writing
from qtfirebase.
Could you please serve a working ios example? i did it (one year) before, but after last changes i am working for three days and lost my way. i really want to stay within Qt but it gets harder to maintain.
from qtfirebase.
I will give this problem one more shot once I get to work on Monday. I cannot promise anything as XCode builds are very very slow on our Mac Mini.
We experience a XCode build problem very alike this issue. I do wonder if anyone has the same, and if this issue is qmake/make or deploy.
from qtfirebase.
Should be fixed with #152
from qtfirebase.
Thanks @Sharm - it's in master now
from qtfirebase.
Related Issues (20)
- Using Qtfirebase HOT 13
- Cloud Storage HOT 5
- Getting Value from Firebase Real-time Database (Qt c++) HOT 1
- QString::sprintf was removed in Qt 5.14.x? HOT 11
- Support for Android AAB (Armv7 & Armv8) HOT 6
- Compatible Firebase SDK versions HOT 1
- Not able to Create QtFirebase object in my main.qml for Android. HOT 2
- Links markdown broken HOT 1
- Bundle of improvements HOT 3
- Provide a CLI to be run qmake HOT 13
- Debugging console HOT 9
- Code signing error HOT 5
- Push notifications while in foreground HOT 9
- Can't compile with QTFIREBASE_CONFIG += analytics messaging for iOS HOT 2
- Qt 6 Support ? HOT 1
- Subscribing to topic nets no result HOT 6
- Linking failed on iOS HOT 10
- Build project with CMakeLists.txt instead of .pro HOT 2
- Subscribe method isn't working on the latest firebase_cpp_sdk (10.0.0) HOT 1
- Qt create how to config my kit HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from qtfirebase.