Register FAQ / Rules Forum Spy Search Today's Posts Mark Forums Read
Go Back   MacRumors Forums > Apple Systems and Services > Programming > iPhone/iPad Programming

Reply
 
Thread Tools Search this Thread Display Modes
Old Jul 5, 2010, 02:44 PM   #1
LastLine
macrumors 65816
 
Join Date: Aug 2005
Network Code runs as expected in Simulator but not on Device...any help?

http://cocoa-nut.de/?p=27

Hey everyone, I've been exploring this code with a view to helping me understand the basics of Networking between iPhone and Mac and I've had some fun playing around with it doing silly little things, there is a minor problem though.

If I run it on the simulator it works perfectly allowing syncronisation of the data between simulator and the Mac client.

If I run it on my device (iOS 4.0 if that makes any difference) it won't sync the text to the textfield on the phone, no errors, nothing.

Anyone able to suggest to me what it is I might be missing here as I can't help but feel it's something fairly obvious and that it belongs in the networking code. The Mac client identifies the iPhone and shows up the appropriate name but just doesn't seem to be 'syncing' (I say 'syncing' as it isn't exactly a syncing app per se so much as transferring data.


So anyone able to help me out with this? there don't seem to be many real simple tutorials so I'm trying to learn through reverse engineering

Last edited by LastLine; Jul 6, 2010 at 10:45 AM.
LastLine is offline   0 Reply With Quote

Reply
MacRumors Forums > Apple Systems and Services > Programming > iPhone/iPad Programming

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Similar Threads
thread Thread Starter Forum Replies Last Post
Resolved: "Expected identifier" error when using C code moonman239 iPhone/iPad Programming 4 Jan 23, 2014 01:32 PM
[Free][Game] Truck Simulator 3D - real simulator! MarusacAlexandr iPhone and iPod touch Apps 0 Jan 11, 2014 01:43 AM
Connect Bluetooth between Simulator and Device namanhams iPhone/iPad Programming 0 Sep 20, 2013 03:07 AM
Core data crash on device not on simulator luke3 iPhone/iPad Programming 1 Jul 8, 2012 05:52 PM

Forum Jump

All times are GMT -5. The time now is 07:45 PM.

Mac Rumors | Mac | iPhone | iPhone Game Reviews | iPhone Apps

Mobile Version | Fixed | Fluid | Fluid HD
Copyright 2002-2013, MacRumors.com, LLC