Skip to content

Commit

Permalink
Account for Simplenote having different app ids for prod and development
Browse files Browse the repository at this point in the history
  • Loading branch information
mokagio committed Jan 18, 2023
1 parent dda88a7 commit b627ba5
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion fastlane/Fastfile
Original file line number Diff line number Diff line change
Expand Up @@ -820,7 +820,10 @@ end
lane :register_new_device do |options|
device_name = UI.input('Device Name: ') if options[:device_name].nil?
device_id = UI.input('Device ID: ') if options[:device_id].nil?
all_bundle_ids = simplenote_app_identifiers
# Currently, Simplenote has an odd setup with a dedicated app id for development builds
all_bundle_ids =
simplenote_app_identifiers +
simplenote_app_identifiers(root_bundle_id: "#{APP_STORE_BUNDLE_IDENTIFIER}.Development")

UI.message "Registering #{device_name} with ID #{device_id} and registering it with any provisioning profiles associated with these bundle identifiers:"
all_bundle_ids.each do |identifier|
Expand Down

0 comments on commit b627ba5

Please sign in to comment.