dev branch: Use a special version of fastlane to enable Add Identifiers by marionbarker · Pull Request #285 · LoopKit/LoopWorkspace

Purpose

Enable the use of the Add Identifiers action which stopped working following a modification made at Apple in May 2025.

Method

The solution requires using a special version of fastlane 2.228.0 with PR 29596 applied along with a modification to the fastlane/Fastfile file.

This uses a branch at the loopandlearn fork: https://github.com/loopandlearn/fastlane/tree/wip_2.228.0_pr29596

Details of updated files

  1. The Gemfile file is modified to use the SHA of the custom branch mentioned above, running bundle update fastlane and then committing the Gemfile and Gemfile.lock files.
  2. The fastlane/Fastfile was modified according to the suggestion by @dnzxy which adds the "platform" variable to the configure_bundle_id function.
  3. Following initial tests, it was determined that USERNOTIFICATIONS_TIMESENSITIVE is no longer supported, so this was removed from the fastlane/Fastfile capabilities for the Loop Identifier
  4. Bump the version number to 3.7.2

Test

Please see PR #286 for the main branch. Detailed test steps and results were documented this comment in that PR.

Recreate Identifiers

With these modifications, the Add Identifiers action succeeds.

  • Delete all Identifiers except the Loop Identifier
  • Run Add Identifiers
  • Identifiers were recreated

The time sensitive notifications must be added to the Identifier manually because Add Identifiers can no longer enable that automatically.

Build test

After recreating the Identifiers:

  • Configure the Identifier App Groups to my Loop App Group
  • Revoke my Distribution Certificate
  • Ensure that ENABLE_NUKE_CERTS is true
  • Successfully run Build Loop action
  • Install from TestFlight onto a test phone