Skip to content

Commit

Permalink
🔧 Configure example notification extension build
Browse files Browse the repository at this point in the history
  • Loading branch information
mmaatttt authored and iujames committed Sep 17, 2024
1 parent c82bc33 commit 9c93dcf
Showing 1 changed file with 15 additions and 3 deletions.
18 changes: 15 additions & 3 deletions fastlane/Fastfile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down Expand Up @@ -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)
Expand All @@ -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")
Expand All @@ -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
Expand Down

0 comments on commit 9c93dcf

Please sign in to comment.