[MonoTouch] Error deploying to device

Richard de Zwart mountain at xs4all.nl
Sat Oct 17 08:51:05 EDT 2009


Thanks, this problem was  bothering me too. Could never have come up 
with a solution like this....

Richard

Geoff Norton wrote:
> Phil,
>
>   It appears you have a 0 byte file in your project, which the iPhone 
> doesn't like.  Either remove it from the build or add some content to 
> it and things work fine.
>
> -g
>
> On 12-Sep-09, at 10:03 PM, Phil Jepsen wrote:
>
>> Rebooted iPhone twice, rebooted macbook, no dice...
>>
>> Its something to do with my project as uploading another solution is 
>> fine.
>>
>>
>> On Sat, Sep 12, 2009 at 7:00 PM, Geoff Norton <gnorton at novell.com 
>> <mailto:gnorton at novell.com>> wrote:
>>
>>     Phil,
>>
>>      Are you out of free space on your device?  If not try rebooting
>>     the device.
>>
>>     -g
>>
>>
>>     On 12-Sep-09, at 9:54 PM, Phil Jepsen wrote:
>>
>>         For some reason I can't deploy the latest build of my app to
>>         the iPhone:
>>
>>         Please ensure your device is connected...
>>         Initializing file service...
>>         Uploading application
>>
>>         Unhandled Exception: System.Exception: AFCFileRefWrite
>>         returned: 1
>>         at MonoTouch.Installation.AFCService.UploadDirectory
>>         (string,string) <0x001e8>
>>         at MonoTouch.Installation.Installer.InstallApplication
>>         (object,System.EventArgs) <0x0011e>
>>         at MonoTouch.Installation.Device.NotificationCallback
>>         (MonoTouch.Installation.Device/am_device_notification_callback_info&)
>>         <0x00066>
>>         at (wrapper native-to-managed)
>>         MonoTouch.Installation.Device.NotificationCallback
>>         (MonoTouch.Installation.Device/am_device_notification_callback_info&)
>>         <0x00031>
>>         at (wrapper managed-to-native)
>>         MonoTouch.Installation.Installer.CFRunLoopRun () <0x00004>
>>         at MonoTouch.Installation.Installer.InstallApplication
>>         (string) <0x000af>
>>         at MTouch.Main (string[]) <0x011a1>
>>
>>
>>         Anyone have any idea?
>>
>>         Thanks,
>>
>>         Phil Jepsen
>>         _______________________________________________
>>         MonoTouch mailing list
>>         MonoTouch at lists.ximian.com <mailto:MonoTouch at lists.ximian.com>
>>         http://lists.ximian.com/mailman/listinfo/monotouch
>>
>>
>>
>>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> MonoTouch mailing list
> MonoTouch at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/monotouch
>   


More information about the MonoTouch mailing list