You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I create a new Xcode Project with an SwiftUI lifecycle and follow the integration tutorial for Firebase Analytics then I always see the following Debugger message multiple times.
For example when the app goes into inactive or background scenephase: MyApp[4010:1178178] 10.6.0 - [FirebaseAnalytics][I-ACS800014] Cannot get flag for unregistered flag. SDK name, flag name: app_measurement, session_stitching_token_feature_enabled
This happens on simulator and real devices.
I added "-ObjC" as "Other Linking flags" for the target in XCode.
I also have Background modes enabled for the target:
Background fetch
Remote notifications
Background processing
Below I attached the logging in debugging mode, but the above message also appear in "normal" logging mode.
I dont't see any problems with FirebaseAnalytics and everything seems to be logged fine when taking a look into the Firebase console on the website.
Nevertheless this message makes me suspicious that something is wrong.
Kind regards
Stefan
Reproducing the issue
Create a new XCode project
Follow the instruction tutorial form Firebase Analytics for an iOS SwiftUI App
Run the app and put it into scenephase inactive or background
Firebase SDK Version
10.6.0
Xcode Version
14.2
Installation Method
Swift Package Manager
Firebase Product(s)
Analytics
Targeted Platforms
iOS
Relevant Log Output
2023-03-11 21:37:37.822985+0100 MyApp[10869:7635154] 10.6.0 - [FirebaseAnalytics][I-ACS023087] User property set. Name, value: lifetime_user_engagement (_lte), 92873658
2023-03-11 21:37:37.823493+0100 MyApp[10869:7635154] 10.6.0 - [FirebaseAnalytics][I-ACS023087] User property set. Name, value: session_user_engagement (_se), 5620
2023-03-11 21:37:37.823989+0100 MyApp[10869:7635154] 10.6.0 - [FirebaseAnalytics][I-ACS800014] Cannot get flag for unregistered flag. SDK name, flag name: app_measurement, session_stitching_token_feature_enabled
2023-03-11 21:37:37.824550+0100 MyApp[10869:7635154] 10.6.0 - [FirebaseAnalytics][I-ACS012018] Saving bundle. size (bytes): 546
2023-03-11 21:37:37.825096+0100 MyApp[10869:7635154] 10.6.0 - [FirebaseAnalytics][I-ACS023116] Bundle added to the upload queue. BundleID, timestamp (ms): 364, 1678567057698
If using Swift Package Manager, the project's Package.resolved
Additionally I saw in the logs, that there is always another message relating to "app_measurement" at app start: MyApp[5322:1643932] 10.6.0 - [FirebaseAnalytics][I-ACS800023] No pending snapshot to activate. SDK name: app_measurement
Attached you find debug logs of a minimal reproducible example: firebase-log.txt
Thanks for reporting this, @SKuhlemann. I was able to reproduce the issue using the Analytics Quickstart. Let me consult this to the Analytics team, and I'll let you know once I got an update.
Description
When I create a new Xcode Project with an SwiftUI lifecycle and follow the integration tutorial for Firebase Analytics then I always see the following Debugger message multiple times.
For example when the app goes into inactive or background scenephase:
MyApp[4010:1178178] 10.6.0 - [FirebaseAnalytics][I-ACS800014] Cannot get flag for unregistered flag. SDK name, flag name: app_measurement, session_stitching_token_feature_enabled
This happens on simulator and real devices.
I added "-ObjC" as "Other Linking flags" for the target in XCode.
I also have Background modes enabled for the target:
Below I attached the logging in debugging mode, but the above message also appear in "normal" logging mode.
I dont't see any problems with FirebaseAnalytics and everything seems to be logged fine when taking a look into the Firebase console on the website.
Nevertheless this message makes me suspicious that something is wrong.
Kind regards
Stefan
Reproducing the issue
Firebase SDK Version
10.6.0
Xcode Version
14.2
Installation Method
Swift Package Manager
Firebase Product(s)
Analytics
Targeted Platforms
iOS
Relevant Log Output
2023-03-11 21:37:37.822985+0100 MyApp[10869:7635154] 10.6.0 - [FirebaseAnalytics][I-ACS023087] User property set. Name, value: lifetime_user_engagement (_lte), 92873658 2023-03-11 21:37:37.823493+0100 MyApp[10869:7635154] 10.6.0 - [FirebaseAnalytics][I-ACS023087] User property set. Name, value: session_user_engagement (_se), 5620 2023-03-11 21:37:37.823989+0100 MyApp[10869:7635154] 10.6.0 - [FirebaseAnalytics][I-ACS800014] Cannot get flag for unregistered flag. SDK name, flag name: app_measurement, session_stitching_token_feature_enabled 2023-03-11 21:37:37.824550+0100 MyApp[10869:7635154] 10.6.0 - [FirebaseAnalytics][I-ACS012018] Saving bundle. size (bytes): 546 2023-03-11 21:37:37.825096+0100 MyApp[10869:7635154] 10.6.0 - [FirebaseAnalytics][I-ACS023116] Bundle added to the upload queue. BundleID, timestamp (ms): 364, 1678567057698
If using Swift Package Manager, the project's Package.resolved
Expand
Package.resolved
snippetIf using CocoaPods, the project's Podfile.lock
Expand
Podfile.lock
snippetReplace this line with the contents of your Podfile.lock!
The text was updated successfully, but these errors were encountered: