skip to Main Content

I’m getting the following error when trying to launch a Xamarin.iOS application on iOS 12 and below (iOS 13 and above does launch the application without issue):

Debug output:

error HE0042: Could not launch the app 'com.companyname.App1' on the device 'iOS 12.2 (16E226) - iPhone 8 Plus': The request to open "com.companyname.App1" failed.

Simulator System.Log

com.apple.CoreSimulator.SimDevice.B80099F4-F084-4872-A08A-87BD762045BF[2469] (UIKitApplication:com.companyname.App1[0x3536][2491][3415]): removing service since it exited with consistent failure - OS_REASON_EXEC

This error even occurs on a newly generated application using VS for Mac or Rider.

Things I tried without any result:

Is there anyone that experienced the same issue and how did you fix it?

Thanks!

2

Answers


  1. In the iOS project properties in Visual Studio under ‘iOS Build’ I checked ‘Use the concurrent garbage collector’.
    That handled it in my case.

    Login or Signup to reply.
  2. This was happening to me as well in my debug iphone simulator builds. The fix, for me, was to set the project’s iOS Bundle Signing -> Custom Entitlements to Entitlements.plist. This will force the application to be signed.

    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search