mirror of
https://github.com/yattee/yattee.git
synced 2026-02-20 01:39:46 +00:00
Use fastlane update_code_signing_settings for manual signing
Replaced sed-based CODE_SIGN_STYLE override with fastlane's update_code_signing_settings which also sets PROVISIONING_PROFILE_SPECIFIER. This fixes the YatteeShareExtension build failure where it couldn't find a provisioning profile under manual signing.
This commit is contained in:
@@ -111,6 +111,22 @@ platform :ios do
|
||||
api_key: api_key
|
||||
)
|
||||
|
||||
update_code_signing_settings(
|
||||
use_automatic_signing: false,
|
||||
path: XCODEPROJ,
|
||||
team_id: TEAM_ID,
|
||||
profile_name: "match AppStore #{DEVELOPER_APP_IDENTIFIER}",
|
||||
targets: [SCHEME]
|
||||
)
|
||||
|
||||
update_code_signing_settings(
|
||||
use_automatic_signing: false,
|
||||
path: XCODEPROJ,
|
||||
team_id: TEAM_ID,
|
||||
profile_name: "match AppStore #{DEVELOPER_APP_IDENTIFIER}.ShareExtension",
|
||||
targets: ["YatteeShareExtension"]
|
||||
)
|
||||
|
||||
build_app(
|
||||
scheme: SCHEME,
|
||||
destination: "generic/platform=iOS",
|
||||
@@ -164,6 +180,14 @@ platform :tvos do
|
||||
api_key: api_key
|
||||
)
|
||||
|
||||
update_code_signing_settings(
|
||||
use_automatic_signing: false,
|
||||
path: XCODEPROJ,
|
||||
team_id: TEAM_ID,
|
||||
profile_name: "match AppStore #{DEVELOPER_APP_IDENTIFIER} tvos",
|
||||
targets: [SCHEME]
|
||||
)
|
||||
|
||||
build_app(
|
||||
scheme: SCHEME,
|
||||
destination: "generic/platform=tvOS",
|
||||
@@ -218,6 +242,14 @@ platform :mac do
|
||||
api_key: api_key
|
||||
)
|
||||
|
||||
update_code_signing_settings(
|
||||
use_automatic_signing: false,
|
||||
path: XCODEPROJ,
|
||||
team_id: TEAM_ID,
|
||||
profile_name: "match AppStore #{DEVELOPER_APP_IDENTIFIER} macos",
|
||||
targets: [SCHEME]
|
||||
)
|
||||
|
||||
build_mac_app(
|
||||
scheme: SCHEME,
|
||||
output_directory: "fastlane/builds/#{version}-#{build}/macOS",
|
||||
@@ -268,6 +300,14 @@ platform :mac do
|
||||
api_key: api_key
|
||||
)
|
||||
|
||||
update_code_signing_settings(
|
||||
use_automatic_signing: false,
|
||||
path: XCODEPROJ,
|
||||
team_id: TEAM_ID,
|
||||
profile_name: "match Direct #{DEVELOPER_APP_IDENTIFIER} macos",
|
||||
targets: [SCHEME]
|
||||
)
|
||||
|
||||
build_mac_app(
|
||||
scheme: SCHEME,
|
||||
output_directory: "fastlane/builds/#{version}-#{build}/macOS",
|
||||
|
||||
Reference in New Issue
Block a user