main branch: Use a special version of fastlane to enable Add Identifiers#286
main branch: Use a special version of fastlane to enable Add Identifiers#286marionbarker merged 2 commits intomainfrom
Conversation
TestSummary
The GitHub action tests are performed at the GitHub organization name: docs-test. Confirm ErrorRun Add Identifiers using with this error:
Confirm SuccessTest with Existing IdentifiersThe Identifiers required for a successful build already exist for this test. Run Add Identifiers using Test with Missing IdentifiersInitial identifiers list for Loop and Loop Watch App
Build with newly created Identifiers, with Time Sensitive Notifications
Remove Capabilities from Loop Identifier and run Add IdentifierRemove all capabilities from Loop Identifier and then run Add Identifier again.
Build without Time Sensitive Notifications Capability
I think the relevant error is:
with more details: The other thing mentors can look for is the Loop profile on the https://developer.apple.com/account/resources/profiles/list page shows as Invalid. Restore Time Sensitive Notifications Capability
|


Purpose
Method
The solution requires using a special version of fastlane 2.228.0 with PR 29596 applied along with a modification to the
fastlane/Fastfilefile.This uses a branch at the loopandlearn fork: https://github.com/loopandlearn/fastlane/tree/wip_2.228.0_pr29596
Details of updated files
See also PR #285 for the dev branch Add Identifier fix where this solution was initially implemented for Loop. This same method (regarding changes needed for items 1 and 2 below) also works for LoopFollow, LoopCaregiver, Trio, xDrip4iOS and iAPS.
Gemfilefile is modified to use the SHA of the custom branch mentioned above, runningbundle update fastlaneand then committing theGemfileandGemfile.lockfiles.fastlane/Fastfilewas modified according to the suggestion by @dnzxy which adds the "platform" variable to the configure_bundle_id function.USERNOTIFICATIONS_TIMESENSITIVEis no longer supported, so this was removed from thefastlane/Fastfilecapabilities for the Loop IdentifierTest
The detailed testing for this PR is found in the next comment.