首页 > 解决方案 > Flutter Codemagic IOS 签名失败

问题描述

大家好,我想在应用商店(个人帐户)上发布我的应用程序,以便在物理手机上对其进行测试,不幸的是我没有 Mac,所以我不得不通过 codemagic,但是安装依赖项任务过程中的问题失败并出现错误:

无法从 Apple Developer Portal 获取签名文件:对 Apple Developer Portal 的请求失败,操作“createProvisioningProfile.action”的结果代码为 35。此组中没有与提供的设备 ID 匹配的当前 IOS 设备。

我真的不知道问题出在哪里,因为这是我第一次在平台上开发。感谢你们对我的帮助!

日志:

== Fetch code signing files from Apple Developer Portal ==
Fetch Development signing files for bundle identifier "*********"
Initializing Apple Developer Portal session with *********@****.com
Using Apple Developer Portal team ********* (*******) to fetch signing files
Found App ID "********" for bundle identifier "******"
Found code signing certificate "Apple Development iOS Push Services: *******************"
Found code signing certificate "iOS Development: *********"


Build failed :||
Failed to fetch signing files from Apple Developer Portal:
Request to Apple Developer Portal failed with result code 35 for action "createProvisioningProfile.action".
There are no current IOS devices on this team matching the provided device IDs.

代码魔术配置

Build overview
Index:
11
Branch:
master's degree
Workflow:
Default Workflow
Started:
in an hour
Duration:
21s
Status:
failed
Current configuration
Flutter channel:
stable
Mode:
release
Xcode version:
11.1
Build for:
iOS

标签: fluttercodemagic

解决方案


我解决了您需要将 iphone 附加到您的开发者苹果帐户的问题,您需要在以下地址注册它:

https://developer.apple.com/account/resources/devices/list


推荐阅读