Suddenly receiving "Attempted to install a Beta profile without the proper entitlement" on a Flutter-based app

Hello! I'm suddenly having some difficulty debugging a Flutter-based app. When I run an app from VS Code, it launches Xcode and builds & installs the app on an iPhone running 18.1. However, once the app is installed on the phone, it disappears and in Xcode, a dialog appears with:

Failed to install embedded profile for <app name> : 0xe800801f (Attempted to install a Beta profile without the proper entitlement.)

However, when I look at the provisioning profile being used, it seems to have the correct entitlement:

I've also tried enabling automatic signing (instead of the current manual signing using match), as well as generating an adhoc profile and re-adding the device UDID in developers.apple.com. None of these have worked.

This issue appeared within the past day or so and was working fine yesterday with no code changes, so I've been stumped. All my certs are relatively new and were issued within the past few months. I've tried regenerating the provisioning profiles using match, but this gives the same thing.

What's odd is that I can run the build and upload to testflight, then download and install the app just fine through there. But this obviously makes debugging an issue.

Answered by kevinevans in 822741022

Creating a test "Hello world" project works.

I went back to an older branch and found that it still works. So I went back to my latest branch and discovered that it works once again.

I guess if anybody else is experiencing this issue, I would recommend going back to a known working branch, build + upload the app, then go back to the latest.

I recommend that you start by confirming that the Apple side of things is working. In Xcode, create a new test project from one of the built-in templates. Are you able to run that on your device?

Share and Enjoy

Quinn “The Eskimo!” @ Developer Technical Support @ Apple
let myEmail = "eskimo" + "1" + "@" + "apple.com"

Accepted Answer

Creating a test "Hello world" project works.

I went back to an older branch and found that it still works. So I went back to my latest branch and discovered that it works once again.

I guess if anybody else is experiencing this issue, I would recommend going back to a known working branch, build + upload the app, then go back to the latest.

Suddenly receiving "Attempted to install a Beta profile without the proper entitlement" on a Flutter-based app
 
 
Q