The actual connect and handshake code is identical to the previous API code with one exception: the handshake now allows for OSX devices to connect so there are preprocessor directives to include certain frameworks and device identifiers.
The new API includes:
Code: Select all
#if TARGET_OS_EMBEDDED || TARGET_IPHONE_SIMULATOR
//get device system version
...
#else
//piece together the version of the OS
...
#endif
So for it to work in the simulator but not the device is puzzling, since they are routed through the same logic. Otherwise, the handshake request is identical. We'll continue to debug the application to see if we can determine the issue. If anything else comes to mind or arises, please let us know.