Skip to content

Commit 88f3fbe

Browse files
authored
Use App Store Connect API key to generate provisioning profile (#279)
1 parent 8e8fdad commit 88f3fbe

File tree

2 files changed

+12
-3
lines changed

2 files changed

+12
-3
lines changed

ios/fastlane/4TV2PTBPVG.json

22 Bytes
Binary file not shown.

ios/fastlane/Fastfile

Lines changed: 12 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,18 @@
11
default_platform(:ios)
22

3+
api_key_path = 'fastlane/4TV2PTBPVG.json'
4+
35
platform :ios do
46
lane :devices do
5-
register_devices(devices_file: "./fastlane/devices.txt")
6-
match(type: "adhoc", force_for_new_devices: true)
7+
register_devices(
8+
api_key_path: api_key_path,
9+
devices_file: "./fastlane/devices.txt"
10+
)
11+
match(
12+
api_key_path: api_key_path,
13+
type: "adhoc",
14+
force_for_new_devices: true
15+
)
716
end
817

918
lane :build_ipa do
@@ -51,7 +60,7 @@ platform :ios do
5160

5261
commit = last_git_commit
5362
upload_to_testflight(
54-
api_key_path: "fastlane/4TV2PTBPVG.json",
63+
api_key_path: api_key_path,
5564
changelog: commit[:message],
5665
distribute_external: true,
5766
groups: "Public group"

0 commit comments

Comments
 (0)