iOS和Firebase应用分发不希望使用开发配置文件对应用进行签名并分发

我在分配Firebase应用程序时遇到问题。 我正在使用Xcode 11,并且有新的iOS开发证书,即Apple Development证书。

我已经添加了fastlane,在fastlane中添加了用于firebase-app-distribution的插件。

但是当我执行我的通道来分发应用程序时,会出现错误

note: Using new build system
[19:55:21]: ▸ note: Planning build
[19:55:21]: ▸ note: Constructing build description
[19:55:21]: ▸ error: No profile for team 'TEAM_ID' matching 'App Name Development' found: Xcode couldn't find any provisioning profiles matching 'TEAM_ID/App Name Development'. Install the profile (by dragging and dropping it onto Xcode's dock item) or select a different one in the Signing & Capabilities tab of the target editor. (in target 'AppNameDev' from project 'AppName')

对于其他应用程序,此插件具有类似的配置和快速通道,但在Xcode 10中运行,并且我认为它具有旧的证书iOS Development不是新的Apple Development,并且可以正确构建和分发。

我可以使用Archive构建此应用,导出.ipa并通过Firebase控制台手动分发它,并且可以正常工作。

我也有这样的错误信息

 There seems to be a mismatch between your provided `export_method` in gym
[19:55:21]: and the selected provisioning profiles. You passed the following options:
[19:55:21]:   export_method:      
[19:55:21]:   Bundle identifier:  com.company.AppNameDev
[19:55:21]:   Profile name:       App Name Development
[19:55:21]:   Profile type:       development

因此,它仅建议我已经在build_ios_app的Fastfile文件中正确键入的配置文件名称和类型以及捆绑包ID

desc "Firebase App Distribution to testers"
  lane :firebase_distribution do 
        build_ios_app(
           workspace: "AppName.xcworkspace",configuration: "Release",scheme: "AppName Dev",silent: true,clean: true,output_directory: "firebase-builds",output_name: "appname.ipa",sdk: "iphoneos13.1",export_options: {
                method: "development",provisioningProfiles: { 
                    "com.company.AppNameDev" => "App Name Development"
                   }
            }
        )

        firebase_app_distribution(
                   app: "<id goes here>",testers_file: "fastlane/crashlytics_testers.txt",release_notes: "Lots of amazing new features to test out!",firebase_cli_path: "/usr/local/bin/firebase"
                )
    end 
end
xyhjojoy 回答:iOS和Firebase应用分发不希望使用开发配置文件对应用进行签名并分发

暂时没有好的解决方案,如果你有好的解决方案,请发邮件至:iooj@foxmail.com
本文链接:https://www.f2er.com/2943653.html

大家都在问