From 9c93dcfd6da7b9cb7fc44250c55fc7b1d4ccd796 Mon Sep 17 00:00:00 2001 From: Matt Hayashida Date: Mon, 11 Mar 2024 14:40:00 -0400 Subject: [PATCH] =?UTF-8?q?=F0=9F=94=A7=20Configure=20example=20notificati?= =?UTF-8?q?on=20extension=20build?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- fastlane/Fastfile | 18 +++++++++++++++--- 1 file changed, 15 insertions(+), 3 deletions(-) diff --git a/fastlane/Fastfile b/fastlane/Fastfile index 415f1cd1f..2beeea196 100644 --- a/fastlane/Fastfile +++ b/fastlane/Fastfile @@ -67,7 +67,7 @@ platform :ios do s3_access_key: ENV["AWS_ACCESS_KEY_ID"], s3_secret_access_key: ENV["AWS_SECRET_ACCESS_KEY"], type: "appstore", - app_identifier: "com.appcues.sdk-example-cocoapods", + app_identifier: ["com.appcues.sdk-example-cocoapods", "com.appcues.sdk-example-cocoapods.notification-service"], team_id: "KHSQ25769M", verbose: true) end @@ -83,7 +83,7 @@ platform :ios do s3_access_key: ENV["AWS_ACCESS_KEY_ID"], s3_secret_access_key: ENV["AWS_SECRET_ACCESS_KEY"], type: "appstore", - app_identifier: "com.appcues.sdk-example-cocoapods", + app_identifier: ["com.appcues.sdk-example-cocoapods", "com.appcues.sdk-example-cocoapods.notification-service"], team_id: "KHSQ25769M", verbose: true) end @@ -121,7 +121,7 @@ platform :ios do s3_access_key: ENV["AWS_ACCESS_KEY_ID"], s3_secret_access_key: ENV["AWS_SECRET_ACCESS_KEY"], type: "appstore", - app_identifier: "com.appcues.sdk-example-cocoapods", + app_identifier: ["com.appcues.sdk-example-cocoapods", "com.appcues.sdk-example-cocoapods.notification-service"], team_id: "KHSQ25769M", readonly: true, verbose: true) @@ -130,9 +130,20 @@ platform :ios do use_automatic_signing: false, code_sign_identity: "iPhone Distribution", team_id: ENV["sigh_com.appcues.sdk-example-cocoapods_appstore_team-id"], + targets: ["AppcuesCocoapodsExample"], + bundle_identifier: "com.appcues.sdk-example-cocoapods", profile_uuid: ENV["sigh_com.appcues.sdk-example-cocoapods_appstore"], path: "Examples/DeveloperCocoapodsExample/AppcuesCocoapodsExample.xcodeproj") + update_code_signing_settings( + use_automatic_signing: false, + code_sign_identity: "iPhone Distribution", + team_id: ENV["sigh_com.appcues.sdk-example-cocoapods_appstore_team-id"], + targets: ["NotificationServiceExtension"], + bundle_identifier: "com.appcues.sdk-example-cocoapods.notification-service", + profile_uuid: ENV["sigh_com.appcues.sdk-example-cocoapods.notification-service_appstore"], + path: "Examples/DeveloperCocoapodsExample/AppcuesCocoapodsExample.xcodeproj") + build_app( export_method: "app-store", workspace: "Examples/DeveloperCocoapodsExample/AppcuesCocoapodsExample.xcworkspace") @@ -147,6 +158,7 @@ platform :ios do upload_to_testflight( api_key: ENV["APP_STORE_CONNECT_API_KEY"], + app_identifier: "com.appcues.sdk-example-cocoapods", changelog: changelog_message, skip_submission: true) end