Skip to content

Commit edfe0e2

Browse files
committed
register_new_device: include jetpack BundleID
1 parent 63f01a7 commit edfe0e2

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

fastlane/lanes/codesign.rb

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,10 @@
1212
lane :register_new_device do |options|
1313
device_name = UI.input('Device Name: ') if options[:device_name].nil?
1414
device_id = UI.input('Device ID: ') if options[:device_id].nil?
15+
all_bundle_ids = ALL_BUNDLE_IDENTIFIERS + [JETPACK_APP_IDENTIFIER]
16+
1517
UI.message "Registering #{device_name} with ID #{device_id} and registering it with any provisioning profiles associated with these bundle identifiers:"
16-
ALL_BUNDLE_IDENTIFIERS.each do |identifier|
18+
all_bundle_ids.each do |identifier|
1719
puts "\t#{identifier}"
1820
end
1921

@@ -27,13 +29,13 @@
2729
# Add all development certificates to the provisioning profiles (just in case – this is an easy step to miss)
2830
add_development_certificates_to_provisioning_profiles(
2931
team_id: get_required_env('EXT_EXPORT_TEAM_ID'),
30-
app_identifier: ALL_BUNDLE_IDENTIFIERS
32+
app_identifier: all_bundle_ids
3133
)
3234

3335
# Add all devices to the provisioning profiles
3436
add_all_devices_to_provisioning_profiles(
3537
team_id: get_required_env('EXT_EXPORT_TEAM_ID'),
36-
app_identifier: ALL_BUNDLE_IDENTIFIERS
38+
app_identifier: all_bundle_ids
3739
)
3840
end
3941

0 commit comments

Comments
 (0)