firebase / firebase-ios-sdk

Firebase SDK for Apple App Development
https://firebase.google.com
Apache License 2.0
5.67k stars 1.49k forks source link

Firebase Analytics Debug View not working on iOS 18.1 (but works on iPadOS 18.1) (Release configuration for TestFlight) #14139

Open zhocker opened 3 hours ago

zhocker commented 3 hours ago

Description

Firebase Analytics Debug View not working on iOS 18.1 (but works on iPadOS 18.1) (Release configuration for TestFlight)

Description Firebase Analytics Debug View is not showing up on iOS 18.1 devices when building Release configuration for TestFlight, despite being properly configured. However, the same build works correctly on iPadOS 18.1. Environment

iOS Version: 18.1 Device: iPhone (model: specify if possible) Firebase SDK Version: (specify your version) Distribution: TestFlight (Release build) Xcode Version: (specify your version)

Steps to Reproduce

Configured launch arguments in scheme:

-FIRDebugEnabled -FIRAnalyticsDebugEnabled

Added the following code in app initialization:

swiftCopyFirebaseConfiguration.shared.setLoggerLevel(.debug) Performance.sharedInstance().isInstrumentationEnabled = true Performance.sharedInstance().isDataCollectionEnabled = true

Archived with Release configuration Uploaded to TestFlight Installed via TestFlight on iOS 18.1 device Tried to access Debug View (via device shake)

Expected Behavior Debug View should appear when triggering it on the device. Actual Behavior

Debug View does not appear on iOS 18.1 devices when using Release build on TestFlight Debug View works fine when running Debug build directly from Xcode

Additional Information

The same Release build works correctly on iPadOS 18.1 devices Debug View is accessible when running directly from Xcode All proper Firebase initialization and setup has been confirmed

Workarounds Attempted

Verified launch arguments are properly set Confirmed Firebase initialization Tested on multiple iOS 18.1 devices Clean build and reinstall

Would appreciate any insights or confirmation if this is a known issue with iOS 18.1 specifically when using Release configuration.

Reproducing the issue

No response

Firebase SDK Version

11.4

Xcode Version

15.3

Installation Method

Swift Package Manager

Firebase Product(s)

Analytics

Targeted Platforms

iOS

Relevant Log Output

No response

If using Swift Package Manager, the project's Package.resolved

Expand Package.resolved snippet
```json Replace this line with the contents of your Package.resolved. ```

If using CocoaPods, the project's Podfile.lock

Expand Podfile.lock snippet
```yml Replace this line with the contents of your Podfile.lock! ```
google-oss-bot commented 3 hours ago

I couldn't figure out how to label this issue, so I've labeled it for a human to triage. Hang tight.