Once per year, the iOS development signing certificate used by devicelab and chrome bots expires and a new one must be issued. Once the new certificate has been created, a new provisioning profile needs to be created that will allow apps signed with both the old and new certificate to run on physical test devices.
These instructions cover one sub-step of the process of renewing our DeviceLab development signing certificates. For the full set of instructions, which are Google-internal, see How to renew the DeviceLab development certificate.
Request write access via http://go/flutter-luci-cipd#requesting-write-read-access-to-cipd-packages.
Wait about 5 minutes for access rights to sync.
Copy the updated iOS provisioning profile to a file named development.mobileprovision in this directory.
Run cipd create --pkg-def mac-arm64.yaml.
Verify the package has been uploaded at: https://chrome-infra-packages.appspot.com/p/flutter_internal/mac/mobileprovision/mac-arm64
Click on the latest upload and copy the Instance_ID value.
Run cipd create --pkg-def mac-amd64.yaml.
Verify the package has been uploaded at: https://chrome-infra-packages.appspot.com/p/flutter_internal/mac/mobileprovision/mac-amd64
Click on the latest upload and copy the Instance_ID value.
Set the latest ref to the latest arm64 upload via the following command, replacing with the instance ID copied above:
cipd set-ref flutter_internal/mac/mobileprovision/mac-arm64 -ref latest -version ARM64_INSTANCE_ID
latest ref to the latest amd64 upload via the following command, replacing with the instance ID copied above:cipd set-ref flutter_internal/mac/mobileprovision/mac-amd64 -ref latest -version AMD64_INSTANCE_ID
version:to_2025 (or appropriate year) tag on the latest arm64 upload via the following command:cipd set-tag flutter_internal/mac/mobileprovision/mac-arm64 -tag "version:to_2025" -version ARM64_INSTANCE_ID
version:to_2025 (or appropriate year) tag on the latest amd64 upload via the following command:cipd set-tag flutter_internal/mac/mobileprovision/mac-amd64 -tag "version:to_2025" -version AMD64_INSTANCE_ID
.ci.yaml and migrate apple_signing steps to the new version tag.{"dependency": "apple_signing", "version": "version:to_2024"}{"dependency": "apple_signing", "version": "version:to_2025"}