xcode 17 failure with real device iOS 17 in flutter

When running the flutter project, the following message appears: Failed to verify code signature of /var/installd/Library/Caches/com.apple.mobile.installd.staging/temp.payaqa/extracted/Runner.app : 0xe8008015 (A valid provisioning profile for this executable was not found.) Verify that the Developer App certificate for your account is trusted on your device. Open Settings on the device and navigate to General -> VPN & Device Management, then select your Developer App certificate to trust it.

But, when I connected the iPhone show to trust. I can run other projects without problem with Switf directly. But when I tried to run using Flutter, show me this message.

Macos: Sonoma 14 Flutter: channel Stable: 3.13.6 Xcode 15: 15A240d

I have the same problem in Swift, but other apps work, so it isn't Flutter specific, just for no apparent reason this happens and thus far nothing (like deleting the app, restarting the phone etc) seems to resolve this...

I tried all those things, but not couldn't help. After Run the application in other MacOS, ventura, and try again, works to me. I don't know what happens.

I am having the same error. Did you manage to fix it?

I have the same issue when trying to build my application on a new iPad provided by my IT department so that I can deploy the application on it. The new iPad has been updated to version 17.1.2. When I go to 'General -> VPN & Device Management,' there is nothing there. everything seems up to date, my macos is Sonoma 14.1.2 (23B92), I use Xcode 15.1.

I already tried many solutions like unpairing the device, delete the app, etc

Also, I have an older application that has not this problem. I see that the Signing part in 'Signing & Capabilities' is different. I've the iOS panel but not this macOS one. is the iOS panel the Bundle identifier part is not there

Having the same issue, which has completely stalled our development. Would appreciate some help!

xcode 17 failure with real device iOS 17 in flutter
 
 
Q