【问题标题】:Codemagic automatic app signing fails for iosios 的 Codemagic 自动应用签名失败
【发布时间】:2020-07-22 05:29:17
【问题描述】:

已启用 ios 自动应用签名并已连接苹果开发者门户。但是,ios 构建失败:

ERROR! Did not find matching provisioning profiles for code signing!
> xcodebuild -workspace /Users/builder/clone/ios/Runner.xcworkspace -scheme Runner -archivePath /Users/builder/build.xcarchive -config Release archive COMPILER_INDEX_STORE_ENABLE=NO DEVELOPMENT_TEAM='' CODE_SIGN_IDENTITY='iPhone Developer'
❌  error: Signing for "Runner" requires a development team. Select a development team in the Signing & Capabilities editor. (in target 'Runner' from project 'Runner')

我该如何解决这个问题?

【问题讨论】:

    标签: ios flutter dart codemagic


    【解决方案1】:

    最后,我通过在 ios/Runner.xcodeproj/project.pbxproj 中的TargetAttributes 下手动添加团队名称解决了这个问题,如下所示:

    TargetAttributes = {
        97C146ED1CF9000F007C117D = {
            CreatedOnToolsVersion = 7.3.1;
            LastSwiftMigration = 0910;
            DevelopmentTeam = SSSSSSS3;
        };
    };
    

    您可以在 Apple Developer Portal -> Identifiers -> App ID Prefix 中找到DEVELOPMENT_TEAM 名称。

    【讨论】:

      猜你喜欢
      • 2020-02-17
      • 2021-10-28
      • 2020-12-07
      • 2022-08-02
      • 2021-01-21
      • 1970-01-01
      • 2018-08-11
      • 2019-12-09
      • 2021-02-28
      相关资源
      最近更新 更多