Win11 VS2022 latest Preview Maui & iOS - 0xe8008015 (A valid provisioning profile for this executable was not found)

Johannes Hass 1 Reputation point
2022-06-20T16:11:30.877+00:00

So, how exactly do I deploy the "Hello World" MAUI app to my iPhone?

Here's what I tested / did:

  • Deploying a "Hello World"-Swift project from XCode works. Also successfully paired the Mac to VS on Windows.
  • I tried both manual and automatic provisioning
  • I created the proper API key as per the instructions
  • Mucked about with the App Id and registered it on Apple's Dev Portal. Also tried Wildcard.

But everything always yields the dreaded: 0xe8008015 (A valid provisioning profile for this executable was not found)

So. What is there to do and why is that actually still an issue?

Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
4,571 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,834 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Wenyan Zhang (Shanghai Wicresoft Co,.Ltd.) 25,766 Reputation points Microsoft Vendor
    2022-06-22T07:17:23.05+00:00

    Hello @Johannes Hass ,

    Please make sure your iPhone has been connected with MAC.

    If it only works in such a way then I'm not sure why "Local Devices" is even an option

    "Local Devices" means you connect your device directly to Windows pc, and you are using Hot Restart. There is a related issue has been tracked at https://developercommunity.visualstudio.com/t/:-0xe8008015-A-valid-provisioning-profi/10073337?space=8&q=hotrestart&sort=newest, you could follow the progress.
    "Remote Devices" means you connect your device to MAC, and you are using Pair to Mac for iOS development.

    Besides, you could scroll down the MAUI documentation page and submit feedback for this page. I will report the documentation issue as well.

    Best Regards,
    Wenyan Zhang


    If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

    0 comments No comments