Skip to content

-[UIApplication statusBarOrientation]` is deprecated and a no-op as of iOS 27. FIRCLSNotificationManager still calls it during Crashlytics startup, which now logs a deprecation warning to the console on every app launch. #16651

Description

@davidmct

Description

-[UIApplication statusBarOrientation] is deprecated and a no-op as of iOS 27.
FIRCLSNotificationManager still calls it during Crashlytics startup, which now
logs a deprecation warning to the console on every app launch.

The call site is -[FIRCLSNotificationManager captureInitialNotificationStates],
invoked from registerNotificationListener as part of
FIRCLSReportManager startCrashReporterWithProfilingReport: during
FIRCrashlytics initialization.

Confirmed via a symbolic breakpoint on objc_msgSend$statusBarOrientation
full stack trace below.

Reproducing the issue

  1. Add FirebaseCrashlytics to a project targeting the iOS 27 SDK
  2. Build and run on iOS 27 (device or Simulator)
  3. Observe the deprecation message in the console shortly after launch,
    during Firebase/Crashlytics initialization

Firebase SDK Version

12.9.1

Xcode Version

Xcode 27.0

Installation Method

SPM

Firebase Product(s)

Crashlytics

Targeted Platforms

iOS 27.0 [Simulator - iPhone 16e IOS27]

Relevant Log Output

-[UIApplication statusBarOrientation] API has been deprecated and is a no-op on 27.0 and later.

Stack trace at the call site (captured via LLDB symbolic breakpoint on
objc_msgSend$statusBarOrientation):

* thread #1, queue = 'com.apple.main-thread', stop reason = breakpoint 2.1
  * frame #0: objc_msgSend$statusBarOrientation
    frame #1: HrvAnalysisApp.debug.dylib`-[FIRCLSNotificationManager captureInitialNotificationStates]
    frame #2: HrvAnalysisApp.debug.dylib`-[FIRCLSNotificationManager registerNotificationListener]
    frame #3: HrvAnalysisApp.debug.dylib`__61-[FIRCLSReportManager startCrashReporterWithProfilingReport:]_block_invoke
    frame #4: HrvAnalysisApp.debug.dylib`__56-[FBLPromise chainOnQueue:chainedFulfill:chainedReject:]_block_invoke.33
    frame #5: HrvAnalysisApp.debug.dylib`__44-[FBLPromise observeOnQueue:fulfill:reject:]_block_invoke_2
    ...

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions