我的 xcodeproject 的签名版本设置为“match Adhoc teamid ”
这在构建临时版本时工作正常,匹配安装临时配置文件并且健身房使用它。
但是使用appstore release match 正确安装了 appstore 配置文件(“match Appstore teamid ”),但似乎健身房仍然尝试再次使用 adhoc 签名。给出错误:
error: No profile for team 'xx' matching 'match AdHoc yy' found:
Xcode couldn't find any provisioning profiles matching 'xx/match
AdHoc yy'. Install the profile (by dragging and dropping it onto
Xcode's dock item) or select a different one in the General tab
of the target editor. (in target 'zz')
我的快速文件
-------adhoc part-------
match(type: "adhoc", verbose:true)
gym(scheme: "skoobe[Release]",
export_method: "ad-hoc",
-------appstore part-------
match(type: "appstore", verbose:true)
gym(scheme: "skoobe[Release]",
export_method: "app-store",