iOS Simulator Debugging via Remote Mac Pairing Fails: "Could not find any available provisioning profiles for CX360 on iOS"

Satyasai Gunnam 40 Reputation points
2024-12-19T07:49:46.4433333+00:00

I am using Visual Studio on Windows connected to a remote Mac via the pairing process. When I try to run my app on an iOS simulator (e.g., iPhone 14 simulator), the build fails with the following error:

Could not find any available provisioning profiles for CX360 on iOS.

From my understanding, provisioning profiles are not required for debugging on iOS simulators because simulators do not enforce app signing. However, I am still getting this error when attempting to debug.

Here are the details of my setup:

  1. I am targeting an iOS simulator (not a physical device).
  2. The app builds successfully for Android and Windows platforms.
  3. My Visual Studio version is up to date, and the Mac has the latest version of Xcode installed.
  4. The Info.plist, signing settings, and provisioning profile are not explicitly configured for simulators in the project.

What I’ve Tried

  1. Verified that the iPhoneSimulator platform is selected in Configuration Manager.
  2. Set signing to Automatic in Visual Studio project properties.
  3. Cleaned and rebuilt the solution.

My Question

Do I need a provisioning profile for debugging on an iOS simulator? If not, what steps should I take to ensure the project builds and deploys successfully on the simulator without encountering this error?From my understanding, provisioning profiles are not required for debugging on iOS simulators because simulators do not enforce app signing. However, I am still getting this error when attempting to debug.

Here are the details of my setup:

  1. I am targeting an iOS simulator (not a physical device).
  2. The app builds successfully for Android and Windows platforms.
  3. My Visual Studio version is up to date, and the Mac has the latest version of Xcode installed.
  4. The Info.plist, signing settings, and provisioning profile are not explicitly configured for simulators in the project.
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,783 questions
{count} votes

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.