【发布时间】:2020-07-23 18:43:26
【问题描述】:
作为一名 Android 开发人员,我一直对针对目标进行构建的想法感到困惑。
我没有 iOS 设备,并且一直在针对 iOS 模拟器进行调试。
但是,我已经到了想将发布 .ipa 分发给我们的内部团队的地步。这可以实现吗?
当我运行flutter build ios 时,我看到以下内容:
Xcode's output:
↳
note: Using new build system
note: Building targets in parallel
note: Planning build
note: Constructing build description
error: Failed to create provisioning profile. There are no devices
registered in your account on the developer website. Plug in and select a
device to have Xcode register it. (in target 'Runner' from project 'Runner')
error: No profiles for 'xxx.xxx.xxx' were found: Xcode couldn't
find any iOS App Development provisioning profiles matching
'xxx.xxx.xxx'. (in target 'Runner' from project 'Runner')
【问题讨论】:
-
您需要在为真实设备构建配置文件之前设置配置文件。仅当您有
apple developer account时才能执行此操作。详细信息可以在这里找到。 flutter.dev/docs/get-started/install/… -
看来我需要为 Ad Hoc 分发注册一个,这需要我输入设备 UUID。听起来对吗?
-
您无需手动执行任何操作,但如果您只是想分发它,您也可以将应用程序进行试飞。 developer.apple.com/testflight
-
我不明白我如何不必手动执行任何操作。
-
你有注册开发者账号吗?