且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

Xcode 9 iOS 10/11模拟器 - 所有应用程序崩溃

更新时间:2021-08-13 03:40:10

您在我的类似问题中询问我是否找到了解决方案。我想我找到了一个。

You asked in my similar question if i found an solution. I guess i found one.

我在Flutter页面的Xcode中设置开发团队描述的方法。

I set the Dev Team in Xcode on the Flutter Page the describe how to.

来自Flutter页面:

From the Flutter Page:

按照Xcode签名流程配置项目:通过运行 open ios / Runner.xcworkspace 打开项目中的默认Xcode工作区来自Flutter项目目录的终端窗口。在Xcode中,选择左侧导航面板中的Runner项目。在Runner目标设置页面中,确保在General> Signing> Team下选择了开发团队。当您选择团队时,Xcode会创建并下载开发证书,使用您的帐户注册您的设备,并创建和下载配置文件(如果需要)

Follow the Xcode signing flow to provision your project:Open the default Xcode workspace in your project by running open ios/Runner.xcworkspace in a terminal window from your Flutter project directory.In Xcode, select the Runner project in the left navigation panel.In the Runner target settings page, make sure your Development Team is selected under General > Signing > Team. When you select a team, Xcode creates and downloads a Development Certificate, registers your device with your account, and creates and downloads a provisioning profile (if needed)

然后我运行在另一个错误,让我不再热重新加载

But then i run in an other error which dont let me hot reload anymore

编辑:重新安装flutter但这次克隆主分支而不是alpha。

Reinstall flutter but this time clone the master branch not the alpha.

请按照flutter页面上的步骤操作,但在第一步中更改此单词:

So follow the steps on the flutter page but change this word in the first step:

旧:
git clone -b alpha https://github.com/flutter/flutter.git

新:
git clone -b master https:// github .com / flutter / flutter.git