[INFO] : Application started [DEBUG] : Reading stylesheet from: /Users/fede/Library/Application Support/iPhone Simulator/7.1/Applications/4DE68DA4-9A75-4BF5-BBFB-D130017BCB31/syncServer.app/stylesheet.plist [DEBUG] : 2014-06-10 13:28:09.951 syncServer[75590:70b] You've implemented -[ application:performFetchWithCompletionHandler:], but you still need to add "fetch" to the list of your supported UIBackgroundModes in your Info.plist. [DEBUG] : 2014-06-10 13:28:09.953 syncServer[75590:70b] You've implemented -[ application:didReceiveRemoteNotification:fetchCompletionHandler:], but you still need to add "remote-notification" to the list of your supported UIBackgroundModes in your Info.plist. [INFO] : syncServer/1.0 (3.3.0.a0b9468) [DEBUG] : Loading: /Users/fede/Library/Application Support/iPhone Simulator/7.1/Applications/4DE68DA4-9A75-4BF5-BBFB-D130017BCB31/syncServer.app/app.js, Resource: app_js [DEBUG] : Loading: /Users/fede/Library/Application Support/iPhone Simulator/7.1/Applications/4DE68DA4-9A75-4BF5-BBFB-D130017BCB31/syncServer.app/_app_props_.json, Resource: _app_props__json [DEBUG] : Application booted in 1268.318951 ms [INFO] : Login Progress: { [DEBUG] : : {"message":"Logging in admin@eagentmobile2013.onmicrosoft.com","state":"loginStarted"} [INFO] : "message": "Logging in admin@eagentmobile2013.onmicrosoft.com", [INFO] : "state": "loginStarted" [INFO] : } [DEBUG] : reqUri: http://e80189ea2413d9bb303c7095fc2bde12af543e0f.dev.ace.appcelerator.com/api/1.0/msDynamicsCrm1.0/login [DEBUG] : Sending request (100 bytes) [INFO] : Login Progress: { [INFO] : "message": "Sent 100%", [INFO] : "progress": 1, [INFO] : "state": "sendStream" [INFO] : } [DEBUG] : : {"message":"Sent 100%","progress":1,"state":"sendStream"} [ERROR] : Script Error { [ERROR] : backtrace = "#0 () at :0"; [ERROR] : line = 35; [ERROR] : message = "Invalid type passed to function"; [ERROR] : nativeLocation = "-[TiNetworkHTTPClientProxy setOnsendstream:] (TiNetworkHTTPClientProxy.m:389)"; [ERROR] : nativeReason = "expected: Function, was: (null)"; [ERROR] : sourceId = 308101024; [ERROR] : sourceURL = "file:///Users/fede/Library/Application%20Support/iPhone%20Simulator/7.1/Applications/4DE68DA4-9A75-4BF5-BBFB-D130017BCB31/syncServer.app/appcelerator.syncserver.client"; [ERROR] : } [INFO] : Login Progress: { [DEBUG] : : {"message":"Received -4100%","progress":-41,"state":"dataStream"} [INFO] : "message": "Received -4100%", [INFO] : "progress": -41, [INFO] : "state": "dataStream" [INFO] : } [INFO] : Login Progress: { [INFO] : "message": "Received 100%", [INFO] : "progress": 1, [INFO] : "state": "dataStream" [INFO] : } [DEBUG] : : {"message":"Received 100%","progress":1,"state":"dataStream"} [DEBUG] : Request succeeded (41 bytes, server: 950ms, network: 378ms, total: 1328ms) [INFO] : Login Progress: { [INFO] : "message": "Authenticated", [INFO] : "state": "loginCompleted" [INFO] : } [DEBUG] : : {"message":"Authenticated","state":"loginCompleted"} [INFO] : Successfully authenticated admin@eagentmobile2013.onmicrosoft.com [INFO] : SessionExpires: 2014-06-11T04:28:18Z [DEBUG] : : {"sessionExpires":"2014-06-11T04:28:18Z"}