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