This question is not a duplicate of the two, since both answers and none of them worked in my case.
Application dies at startup but does not report a crash
Xamarin application crashes when launched on the device, works fine in the simulator
Whenever I create a new Xamarin.iOS application project in Xamarin Studio and create an appropriate development support profile with a Bundle ID for this application, which I set in the project properties, whenever I launch the application on the device (try debugging it there) , it shows a splash screen, and then the application just quits.
I provide a log that is collected when I, therefore, (without a debugger) try to run a deployed phone application:
Jan 27 23:19:40 Jerico kernel[0] <Notice>: xpcproxy[303] Container: /private/var/mobile/Containers/Data/Application/DF38525E-82C0-443C-BAB3-5C2730E957A4 (sandbox)
Jan 27 23:19:40 Jerico SpringBoard[49] <Warning>: LICreateIconForImage passed NULL CGImageRef image
Jan 27 23:19:40 Jerico locationd[56] <Notice>: Gesture EnabledForTopCLient: 0, EnabledInDaemonSettings: 0
Jan 27 23:19:42 Jerico ZenKurs[303] <Warning>: Found new TLS offset at 224
Jan 27 23:19:42 Jerico com.apple.xpc.launchd[1] (UIKitApplication:ua.com.cur-cur.zenkurs[0xb6f3][303]) <Warning>: Service exited with abnormal code: 1
Jan 27 23:19:42 Jerico SpringBoard[49] <Warning>: Application 'UIKitApplication:ua.com.cur-cur.zenkurs[0xb6f3]' exited voluntarily.
Jan 27 23:19:42 Jerico assertiond[59] <Warning>: Could not set priority of <BKNewProcess: 0x14f61ba60; ua.com.cur-cur.zenkurs; pid: 303; hostpid: -1> to 2, priority: No such process
Jan 27 23:19:42 Jerico assertiond[59] <Warning>: Could not set priority of <BKNewProcess: 0x14f61ba60; ua.com.cur-cur.zenkurs; pid: 303; hostpid: -1> to 4096, priority: No such process
Jan 27 23:19:42 Jerico SpringBoard[49] <Warning>: Unable to deliver -[UIRemoteApplication showTopMostMiniAlertWithSynchronizationPort:] message to port 0: (ipc/send) invalid destination port
Jan 27 23:19:42 Jerico locationd[56] <Notice>: Gesture EnabledForTopCLient: 0, EnabledInDaemonSettings: 0
Jan 27 23:19:42 Jerico kernel[0] <Notice>: xpcproxy[304] Container: /private/var/mobile/Containers/Data/Application/DF38525E-82C0-443C-BAB3-5C2730E957A4 (sandbox)
Jan 27 23:19:44 Jerico ZenKurs[304] <Warning>: Found new TLS offset at 224
Jan 27 23:19:44 Jerico com.apple.xpc.launchd[1] (UIKitApplication:ua.com.cur-cur.zenkurs[0x785f][304]) <Warning>: Service exited with abnormal code: 1
Jan 27 23:19:44 Jerico SpringBoard[49] <Warning>: Application 'UIKitApplication:ua.com.cur-cur.zenkurs[0x785f]' exited voluntarily.
Jan 27 23:19:44 Jerico SpringBoard[49] <Warning>: Unable to deliver -[UIRemoteApplication showTopMostMiniAlertWithSynchronizationPort:] message to port 0: (ipc/send) invalid destination port
I do not provide a log of debugging attempts, as it is much larger and basically contains only debugger entries. Let me know if debug logging is critical for you.
The application works great on the simulator. I have installed Xamarin Studio for Mac 5.7, the Xamarin.iOS 8.6.0.51 package, and the latest Xcode tools with command line tools (6.1.1).
PS I tried to configure the provisioning profile for distributing AdHoc (in both the provisioning profiles that I mentioned above, I confidently add the iPhone (its UUID) that I am trying to debug) and deployed it to the device via TestFlight - I got the same crash,
, , , , -
Jan 27 23:19:44 Jerico com.apple.xpc.launchd[1] (UIKitApplication:ua.com.cur-cur.zenkurs[0x785f][304]) <Warning>: Service exited with abnormal code: 1
.
gist.
.
Xamarin (-v -v -v -v ) gist.