According to About the App Launch Sequence, application:didFinishLaunchingWithOptions:
won't be called during app prewarming on iOS 15. The Objective-C app works as documented.
However, the Swift app behaves differently. application(_:didFinishLaunchingWithOptions:)
is called during app prewarming.
I believe this mismatch is an unintentional bug, and it brings a few issues. I can still observe this issue on iOS 15.2. Is there a plan to fix this bug?