Hi,
I have successfully established a connection between an iPhone and the simulator, via the use of NSStream.
I use a "packet" size of 512kb. While the stream content stays below this value, everything runs smoothly. I can send stream content from the iPhone to the simulator and vice versa. When the stream content exceeds te aforementioned size, I can successfully send FROM the simulator TO the iPhone, but NOT vice versa i.e. I cannot send FROMthe iPhone to the simulator. Instead, the simulator crashes and posts the following message:
*** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '*** -[NSKeyedUnarchiver initForReadingWithData:]: incomprehensible archive (0x62, 0x70, 0x6c, 0x69, 0x73, 0x74, 0x30, 0x30)'
I am using OSX Yosemite 10.10.3, and iOS 8.3.
Could someone please help?