java.lang.OutOfMemoryError: GC overhead limit exceeded

Xamarin iOS Problem and Fix with Visual Studio

28. October 2013 14:05 by Scott in vs2012, xamarin  //  Tags:   //   Comments (0)

I kept running into two error messages.  My iOS Hello world app wasn’t starting up.  Just a simple app after the host machine was synced and built. So kept looking for solutions until I found one here:

Here are the two messages I was running into:

  1. There was an error launching the application: iOS Simulator failed to install the application.
  2. has exited with code 0 or has exited with code –1

The solution was of two parts.  I had to reset the iPhone Simulator and add the identifier information in.  Once done, it seemed to work the proper way.

On iOS

Click iPhone Simulator a the top title bar, then Reset Content and Settings.

Hope that helps for someone.