Skip to content

Commit

Permalink
Use App Store Connect API key to generate provisioning profile
Browse files Browse the repository at this point in the history
  • Loading branch information
daohoangson committed Nov 24, 2024
1 parent 8e8fdad commit 2a367df
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 3 deletions.
Binary file modified ios/fastlane/4TV2PTBPVG.json
Binary file not shown.
15 changes: 12 additions & 3 deletions ios/fastlane/Fastfile
Original file line number Diff line number Diff line change
@@ -1,9 +1,18 @@
default_platform(:ios)

api_key_path = 'fastlane/4TV2PTBPVG.json'

platform :ios do
lane :devices do
register_devices(devices_file: "./fastlane/devices.txt")
match(type: "adhoc", force_for_new_devices: true)
register_devices(
api_key_path: api_key_path,
devices_file: "./fastlane/devices.txt"
)
match(
api_key_path: api_key_path,
type: "adhoc",
force_for_new_devices: true
)
end

lane :build_ipa do
Expand Down Expand Up @@ -51,7 +60,7 @@ platform :ios do

commit = last_git_commit
upload_to_testflight(
api_key_path: "fastlane/4TV2PTBPVG.json",
api_key_path: api_key_path,
changelog: commit[:message],
distribute_external: true,
groups: "Public group"
Expand Down

0 comments on commit 2a367df

Please sign in to comment.