Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Xcode12 AppDelegate 调用startFlutterWithPlatform应用会崩溃 #871

Closed
CoderJasons opened this issue Sep 18, 2020 · 8 comments
Closed
Labels
iOS iOS Only

Comments

@CoderJasons
Copy link

Xcode12正式版,iOS14,通过debug方式安装的App。
手机断开与xcode的连接,再次启动App会直接崩溃。
试了几次,必现的问题!

@Mervin1024
Copy link

@Mervin1024
Copy link

Xcode12正式版,iOS14,通过debug方式安装的App。
手机断开与xcode的连接,再次启动App会直接崩溃。
试了几次,必现的问题!

这是 flutterSDK 的问题

@yaolove3
Copy link

我也遇到了 有办法解决吗

@chenhaibo
Copy link

Xcode12正式版,iOS14,通过debug方式安装的App。
手机断开与xcode的连接,再次启动App会直接崩溃。
试了几次,必现的问题!

这是 flutterSDK 的问题

可是flutter boost 不支持最新的flutter1.20+,好郁闷,准备放弃boost了.

@CoderJasons
Copy link
Author

https://flutter.dev/docs/development/ios-14

感谢,看官方的描述得是flutter 1.22版本才能解决debug builds的问题了

@duanhai
Copy link

duanhai commented Sep 23, 2020

使用过程中为了不升级flutter 或者 flutter_boost 在Xcode User-Defined 添加一项
FLUTTER_BUILD_MODE= release 可以先使用到起,等官方适配后再切回来。
本人的环境Xcode12 flutter 1.12.3 flutter_boost 1.12.3+3
image

@CoderJasons
Copy link
Author

使用过程中为了不升级flutter 或者 flutter_boost 在Xcode User-Defined 添加一项
FLUTTER_BUILD_MODE= release 可以先使用到起,等官方适配后再切回来。
本人的环境Xcode12 flutter 1.12.3 flutter_boost 1.12.3+3
image

可以临时解决启动的问题,但是flutter代码断点调试就不能用了,我目前选择的还是用之前的xcode开发。

@nightfallsad nightfallsad added the iOS iOS Only label Sep 27, 2020
@CoderJasons
Copy link
Author

flutter更新的1.22正式版已解决这个问题

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
iOS iOS Only
Projects
None yet
Development

No branches or pull requests

6 participants