当我运行时flutter build ios
:
myair:myapp me$ flutter build ios
Building com.myapp.app for device (ios-release)...
Automatically signing iOS for device deployment using specified
development team in Xcode project:
XXXXXXXXXX
Running pod install... 3.4s
Starting Xcode build...
Xcode build done. 2.7s
Failed to build iOS app
Error output from Xcode build:
↳
** BUILD FAILED **
Xcode's output:
↳
=== BUILD TARGET Runner OF PROJECT Runner WITH CONFIGURATION Release ===
Code Signing Error: Provisioning profile "My Prov Profile" doesn't include signing
certificate "iPhone Distribution: Me (XXXXXXXXXX)".
Code Signing Error: Code signing is required for product type 'Application' in SDK 'iOS 12.1'
Code Signing Error: Code signing is required for product type 'Application' in SDK 'iOS 12.1'
Code Signing Error: Code signing is required for product type 'Application' in SDK 'iOS 12.1'
Encountered error while building for device.
myair:myapp me$
这就是说我有一个配置文件,但我没有要添加到配置文件的 Iphone。
我尝试使用模拟器中的 UDID,但它不接受它作为真正的 UDID。
在向公众发布之前,我想通过 testflight 将我的 Flutter 应用程序推送给 ios 设备测试人员。
任何帮助是极大的赞赏。
编辑:我仍然卡住了。我相信过去(xcode <= 8.*)我能够构建一个存档并将其手动上传到 iTunes Connect,而无需配置文件中的实际设备。这在 xcode 10 中似乎是不可能的。