Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Visual Studio not deploying to iOS Simulator

I have two iOS apps that I am building using Visual Studio. One of them deploys to the iOS simulator on my build mac and starts as expected. However when I build the other one Visual Studio displays the following message and the app doesn't run or even deploy (ie, there's no icon) on the simulator.

Visual Studio message: Please Start the Application

The message obviously mentions the fact that the app is signed with a Distribution provisioning profile, but a) that is the case with both apps and b) according to the message it has/should still be deployed.

The only difference that I can see between the two profiles is that the one that works includes "App Groups" in its "Enabled Services".

There are no other messages as far as I can see.

What could be causing this difference between the two apps, and how can I get the second app to at least deploy to the simulator?

like image 506
Jamie Kitson Avatar asked Feb 22 '26 21:02

Jamie Kitson


1 Answers

Under the iOS Bundle Signing section in project properties in VS, select the Signing Identity to be Developer (automatic).

Make sure on the Mac machine that compiles the project, you have the correct profile setup in XCode to be the certificate from the keychain access. That can be found under XCode > Preferences. Then make sure the same Apple ID is added under accounts and select Manage Certificates from the profile to make sure your certificate is linked.

then the error should not appear.

like image 149
Dave Friedel Avatar answered Feb 26 '26 22:02

Dave Friedel



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!