2

我在 Bitrise 的车道上使用 Fastlane 匹配。

通道正确运行 match,输出标题为“Installed Provisioning Profile”,表示安装的配置文件名为:“match Development com.xxx.yyy”

当我在 App Developer Portal 中检查该配置文件(这是我设置的唯一配置文件)时,名称匹配,并且门户显示“启用的功能:关联域、游戏中心、应用内购买、推送通知”) .

然而 fastlane 健身房仍然报告:

error: "<app name>" requires a provisioning profile with the Associated Domains and Push Notifications features. Select a provisioning profile in the Signing & Capabilities editor.

车道是:

lane :ios_build do
    
    match(
        type: "development",
        app_identifier: "com.xxx.yyy",
        git_url: "https://#{ENV['MATCH_GIT_USERNAME']}:#{ENV['MATCH_GIT_PASSWORD']}@gitlab.com/<project>/<repo>.git",
        storage_mode: "git",
        team_id: "<team id>",
        app_identifier: "com.xxx.yyy",
        readonly: true
    )

    disable_automatic_code_signing(path: "/Users/vagrant/git/src-cordova/platforms/ios/xxx.xcodeproj")
    
    build_app(
        scheme: "<scheme name>",
        workspace: "/Users/vagrant/git/src-cordova/platforms/ios/xxx.xcworkspace"
    )
    
    enable_automatic_code_signing(path: "/Users/vagrant/git/src-cordova/platforms/ios/xxx.xcodeproj")
    
end

有任何想法吗?

问候,安迪

4

0 回答 0