cocos2d/cocos2d-x

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

Opened this issue · 0 comments

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!