Skip to content

[Bug/Warning] App does not adopt UIScene lifecycle — future assertion risk #20898

Description

@ijm700

Environment:
• cocos2d-x version: [3.17.1]
• iOS version: [18]
• Xcode version: [16.3]

Issue:
When running the app on iOS, I receive the following warning:

CLIENT OF UIKIT REQUIRES UPDATE: This process does not adopt UIScene lifecycle. This will become an assert in a future version.

Since Apple has moved toward requiring the UIScene lifecycle starting with iOS 13+, it seems cocos2d-x apps may need updates to avoid potential crashes in future iOS versions.

Question:
• Does cocos2d-x plan to support the UIScene lifecycle officially?
• Is there a recommended way to integrate UIScene handling with the current cocos2d-x AppDelegate setup?
• Are there any examples or migration guides?

Thank you for your help!

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions