Skip to content

MacOS 15 Certificate Validation Issues for Flutter Build #12960

@MatthewJones517

Description

@MatthewJones517

Description

After the forced update to macos-15 on 8/25/25, we're having issues with iOS certificate validation. These issues do not occur when using macos-14.

Here's the pipeline output:

No valid code signing certificates were found
You can connect to your Apple Developer account by signing in with your Apple ID
in Xcode and create an iOS Development Certificate as well as a Provisioning 
Profile for your project by:
  1- Open the Flutter project's Xcode target with
       open ios/Runner.xcworkspace
  2- Select the 'Runner' project in the navigator then the 'Runner' target
     in the project settings
  3- Make sure a 'Development Team' is selected under Signing & Capabilities > Team. 
     You may need to:
         - Log in with your Apple ID in Xcode first
         - Ensure you have a valid unique Bundle ID
         - Register your device with your Apple Developer Account
         - Let Xcode automatically provision a profile for your app
  4- Build or run your project again
  5- Trust your newly created Development Certificate on your iOS device
     via Settings > General > Device Management > [your new certificate] > Trust

For more information, please visit:
  https://developer.apple.com/library/content/documentation/IDEs/Conceptual/
  AppDistributionGuide/MaintainingCertificates/MaintainingCertificates.html

Or run on an iOS simulator without code signing
════════════════════════════════════════════════════════════════════════════════
No development certificates available to code sign app for device deployment

The iOS certificate install task is completing without errors:

 - task: InstallAppleCertificate@2
        displayName: 'Install Apple Distribution Certificate'
        inputs:
          certSecureFile: '2025-apple-dist-cert.p12'
          certPwd: '$(APPLE_DIST_CERT_PASSWORD)'
          keychain: 'temp'

Also, just to reiterate, when I force the VM back to macos-14 the issue isn't present.

I couldn't find any documentation about required codesigning changes for macos-15. Can someone please look into this? I believe something is broken on the image.

Platforms affected

  • Azure DevOps
  • GitHub Actions - Standard Runners
  • GitHub Actions - Larger Runners

Runner images affected

  • Ubuntu 22.04
  • Ubuntu 24.04
  • macOS 13
  • macOS 13 Arm64
  • macOS 14
  • macOS 14 Arm64
  • macOS 15
  • macOS 15 Arm64
  • Windows Server 2019
  • Windows Server 2022
  • Windows Server 2025

Image version and build link

https://github.com/actions/runner-images/blob/main/images/macos/macos-15-arm64-Readme.md#xcode

Is it regression?

https://github.com/actions/runner-images/blob/main/images/macos/macos-14-arm64-Readme.md#xcode

Expected behavior

Flutter build completed without errors.

Actual behavior

Flutter build fails with certificate error.

Repro steps

0.) Use the macos-15 image
1.) Clone down a Flutter app
2.) Install the iOS codesigning certificate using the Microsoft step
3.) Run the Flutter Build task

Metadata

Metadata

Assignees

Labels

OS: macOSbug reportinvestigateCollect additional information, like space on disk, other tool incompatibilities etc.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions