Skip to content

Commit ab606ee

Browse files
cwclaude
andcommitted
fix: 使用 Flutter 内置 FlutterSceneDelegate 修复 Swift 编译错误
删除自定义 SceneDelegate.swift 并在 Info.plist 中直接使用 Flutter 的 FlutterSceneDelegate,与 dtok-app 的成功配置保持一致。 修复了 Swift 编译错误: - Cannot find type 'FlutterSceneDelegate' in scope Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
1 parent 4e0033a commit ab606ee

File tree

2 files changed

+1
-7
lines changed

2 files changed

+1
-7
lines changed

opencli_mobile/ios/Runner/Info.plist

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@
4545
<key>UISceneConfigurationName</key>
4646
<string>flutter</string>
4747
<key>UISceneDelegateClassName</key>
48-
<string>$(PRODUCT_MODULE_NAME).SceneDelegate</string>
48+
<string>FlutterSceneDelegate</string>
4949
<key>UISceneStoryboardFile</key>
5050
<string>Main</string>
5151
</dict>

opencli_mobile/ios/Runner/SceneDelegate.swift

Lines changed: 0 additions & 6 deletions
This file was deleted.

0 commit comments

Comments
 (0)