Steps to reproduce
1. Connect an iPhone 6S with iOS 9.1
2. Create an iOS app with target 9.1
3. Set a breakpoint at AppDelegate.cs FinishedLaunching method
4. Deploy to device
Expected: App is deployed to device with breakpoint set and the breakpoint is hit
Actual: The deployment crashes if a breakpoint is set. Deployment works if breakpoint is removed
XS Info and Logs: https://gist.github.com/cc607cd2a70825fd64b611f2aab84e8b
Application Output: https://gist.github.com/manish-sinha/b0408d129148421a1e1fef1b94235822
Also happens with iOS 9.3 on an iPhone 6S with 9.3
*** Bug 42636 has been marked as a duplicate of this bug. ***
Can you check whenever disabling the 'Enable incremental builds' option in Project Options/iOS Build, then rebuilding fixes the problem ?
I have tried it with disabling incremental builds and even tried disabled incremental builds with all three linker options.
I can still reproduce this issue.
It looks like its reproducible for some people or on some machines, but not on others. So this might be a platform/os specific problem, or a just a problem which happens randomly.
Could somebody add 'Zoltan's Iphone6' to their provisioning profile, and upload the .app directory built with that profile ?
Can reproduce it on tvOS 9.2 device too
Fixed in mono master 941573a76499373f962edb28b0ddb40234b6b2f6. Will backport to 4.6. Thanks for all the help.
This build will hopefully have the fix:
Verified the fix on C8 branch builds