Error deploying IOS6 application using MonoTouch

2019-06-26 08:38发布

问题:

I am trying to get iOS6 working on my laptop.

I am running xcode 4.5 and the latest MonoTouch. Whenever I try deloying to my phone I get an error

Installing application    
Installation failed: Executable Twiddle Failed Error (error: 0xe8000046)
error MT1006: Could not install the application '/Users/Me/Projects/MasterDetail/MasterDetail/bin/iPhone/Debug/MasterDetail.app' on the device: 
    Executable Twiddle Failed Error (error: 0xe8000046).
The application was terminated by a signal: SIGHUP

The application has no custom code. Its the masterdetail template provided.

What is causing this issue?

回答1:

Try deleting the MasterDetail.app application from your device (with the device), then re-installing it (from MonoDevelop).

Did you deploy the application with a beta release of iOS6 (before / initially) ? I've seen this once or twice and I think it's related to this (but I'm not fully sure and cannot duplicate the issue anymore).



回答2:

The way that Mono and XCode work together is less than perfect. MonoDevelop will create project copies that are used by XCode for UI etc and the debugger uses the XCode system too it seems.

I had this problem and remedied it by closing MonoDevelop and dragging the .obj and .bin directories to the trash and emptying the trash before doing a full rebuild of the project.

This also seems to remedy other faults such as when XCode refuses to edit a XIB when invoked by MonoDevelop.