我正在Mac上开发一个个人flutter应用程序,并尝试通过USB部署到我的Ipad上。 我已经在Apple开发人员帐户中创建了配置文件,但是我不知道如何在Flutter中使用它。
我从Android builder看到的错误是:
Launching lib/aopAppMain.dart on Chris’s iPad in debug mode...
Signing iOS app for device deployment using developer identity: "iPhone Developer: chrisr@instantobjects.com (XXXXXXX)"
Starting Xcode build...
Xcode build done. 1.4s
Failed to build iOS app
Error output from Xcode build:
↳
** BUILD FAILED **
Xcode's output:
↳
=== BUILD TARGET Runner OF PROJECT Runner WITH CONFIGURATION Debug ===
Code Signing Error: "Runner" requires a provisioning profile. Select a provisioning profile for the "Debug" build configuration in the project editor.
Code Signing Error: Code signing is required for product type 'Application' in SDK 'iOS 12.0'
Code Signing Error: Code signing is required for product type 'Application' in SDK 'iOS 12.0'
Code Signing Error: Code signing is required for product type 'Application' in SDK 'iOS 12.0'
Could not build the precompiled application for the device.
Error launching application on Chris’s iPad.
如果我在XCode中加载项目,则它只有一个“信息”选项卡和“构建设置”选项卡。 如果我启动一个快速项目,则“配置”配置文件的分配似乎发生在“常规”选项卡上,至少我的Flutter项目没有XCode中的项目之一。
答案 0 :(得分:0)
我使用flutter create创建了一个新应用,并跨源迁移了,一切正常。