错误记录

Posted by アライさん on 2020年09月14日

错误记录

  • Automatically assigning platform iOS with version 8.0 on target Runner because no platform was specified. Please specify a platform for this target in your Podfile.

    修改ios目录下,Podfile文件,将platform :ios, ‘9.0’打开。

    platform :ios, ‘9.0’代表向下兼容的版本号,一般比现有版本低3个版本即可。

  • “terminationReasonExceptionCode”:”0x2”,”terminationReasonNamespace”:”CODESIGNING”

    xcode可以编译运行Flutter,但停止后,再点击就闪退。闪退日志如上。

    这是iOS14上新出现的问题。

    解决版本:终端使用flutter run –release,运行安装release包。

    参见https://github.com/flutter/flutter/issues/60657