Flutter iOS-构建没有实际设备的发行版吗?

问题描述 投票:0回答:1

[作为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')
ios flutter release
1个回答
0
投票

我做了更多的Google工作,然后找到了

Provisioning Profile With No Physical Devices

已解决:

[如果其他人遇到麻烦。我必须创建一个配置配置文件-App Store。然后在Xcode中关闭自动管理签名,然后选择配置文件手动进行签名(调试)和签名(发布)。

现在,与链接的内容不同,我不需要物理设备来存档状态重复。

© www.soinside.com 2019 - 2024. All rights reserved.