ios - Flutter iOS - 在没有真实设备的情况下构建发布版本?

标签 ios flutter release

作为一名 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')

最佳答案

我做了更多的谷歌,我找到了

Provisioning Profile With No Physical Devices

SOLVED:

In case anyone else is having trouble. I had to create a provisioning profile for Distribution - App Store. And then in Xcode turn off Automatically manage signing, and select the provisioning profile manually for Signing(Debug), and Signing (Release).

Now I do not need a physical device to archive, unlike what the linked duplicate states.

关于ios - Flutter iOS - 在没有真实设备的情况下构建发布版本?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/61150078/

相关文章:

ios - 第二次选择 UITabBarItem 时关闭之前的 ViewController

iphone - 如何排序包含NSDictionaries的NSArray?

ios - Interface Builder - 如何创建具有多个 subview 的自定义 UIView

java - 如何让 Android 应用程序自动配置调试与发布值?

release - 哪个更好 : shipping a buggy feature or not shipping the feature at all?

ios - 设置两个 View 之间的委托(delegate)关系并发送消息

dart - 防止滚动的英雄跳到应用栏顶部

flutter - 如何在卡片上创建文本字段

flutter - 如何在屏幕加载时只调用一次 bloc 事件

android - 为什么我的应用程序即使已完全发布也显示为 Beta 版?