{"action":"created","issue":{"url":"https://api.github.com/repos/ParsePlatform/Parse-SDK-iOS-OSX/issues/1066","repository_url":"https://api.github.com/repos/ParsePlatform/Parse-SDK-iOS-OSX","labels_url":"https://api.github.com/repos/ParsePlatform/Parse-SDK-iOS-OSX/issues/1066/labels{/name}","comments_url":"https://api.github.com/repos/ParsePlatform/Parse-SDK-iOS-OSX/issues/1066/comments","events_url":"https://api.github.com/repos/ParsePlatform/Parse-SDK-iOS-OSX/issues/1066/events","html_url":"https://github.com/ParsePlatform/Parse-SDK-iOS-OSX/issues/1066","id":186282559,"number":1066,"title":"iOS 10 Xcode 8 : Error with 100% CPU, both Simulator & Device","user":{"login":"cyring","id":11563789,"avatar_url":"https://avatars.githubusercontent.com/u/11563789?v=3","gravatar_id":"","url":"https://api.github.com/users/cyring","html_url":"https://github.com/cyring","followers_url":"https://api.github.com/users/cyring/followers","following_url":"https://api.github.com/users/cyring/following{/other_user}","gists_url":"https://api.github.com/users/cyring/gists{/gist_id}","starred_url":"https://api.github.com/users/cyring/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cyring/subscriptions","organizations_url":"https://api.github.com/users/cyring/orgs","repos_url":"https://api.github.com/users/cyring/repos","events_url":"https://api.github.com/users/cyring/events{/privacy}","received_events_url":"https://api.github.com/users/cyring/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2016-10-31T13:25:34Z","updated_at":"2016-11-18T06:42:07Z","closed_at":null,"body":"Hello,\r\n\r\nSince I have upgraded Xcode to version 8, my app locks in iOS 10 as soon as any Parse-SDK-iOS v1.14.2 network functions are called.\r\nHowever with iOS 9.3 the app is still running fine.\r\nThe code is using legacy Swift 2\r\n\r\nDump of errors:\r\n`objc[5322]: Class PLBuildVersion is implemented in both /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator.sdk/System/Library/PrivateFrameworks/AssetsLibraryServices.framework/AssetsLibraryServices (0x11b577998) and /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator.sdk/System/Library/PrivateFrameworks/PhotoLibraryServices.framework/PhotoLibraryServices (0x11b39cd38). One of the two will be used. Which one is undefined.\r\n2016-10-31 13:52:31.400555 app[5322:105275] [] nw_host_stats_add_src recv too small, received 24, expected 28\r\n2016-10-31 13:52:31.416065 app[5322:105275] [] ____nwlog_simulate_crash_inner_block_invoke dlopen CrashReporterSupport failed\r\n2016-10-31 13:52:31.416978 app[5322:105275] [] __nwlog_err_simulate_crash simulate crash failed \"nw_socket_set_common_sockopts setsockopt SO_NOAPNFALLBK failed: [42] Protocol not available\"\r\n2016-10-31 13:52:31.418207 app[5322:105275] [] nw_socket_set_common_sockopts setsockopt SO_NOAPNFALLBK failed: [42] Protocol not available, dumping backtrace:\r\n        [x86_64] libnetcore-856.20.4\r\n    0   libsystem_network.dylib             0x00000001114db682 __nw_create_backtrace_string + 123\r\n    1   libnetwork.dylib                    0x0000000111748932 nw_socket_add_input_handler + 3100\r\n    2   libnetwork.dylib                    0x00000001117264f4 nw_endpoint_flow_attach_protocols + 3768\r\n    3   libnetwork.dylib                    0x0000000111725511 nw_endpoint_flow_setup_socket + 563\r\n    4   libnetwork.dylib                    0x0000000111724270 -[NWConcrete_nw_endpoint_flow startWithHandler:] + 2612\r\n    5   libnetwork.dylib                    0x000000011173f44d nw_endpoint_handler_path_change + 1261\r\n    6   libnetwork.dylib                    0x000000011173ee7c nw_endpoint_handler_start + 570\r\n    7   libnetwork.dylib                    0x0000000111756ae5 nw_endpoint_resolver_start_next_child + 2240\r\n    8   libdispatch.dylib                   0x0000000111258980 _dispatch_call_block_and_release + 12\r\n    9   libdispatch.dylib                   0x00000001112820cd _dispatch_client_callout + 8\r\n    10  libdispatch.dylib                   0x000000011125fe6b _dispatch_queue_serial_drain + 236\r\n    11  libdispatch.dylib                   0x0000000111260b9f _dispatch_queue_invoke + 1073\r\n    12  libdispatch.dylib                   0x00000001112633b7 _dispatch_root_queue_drain + 720\r\n    13  libdispatch.dylib                   0x000000011126308b _dispatch_worker_thread3 + 123\r\n    14  libsystem_pthread.dylib             0x000000011170e4de _pthread_wqthread + 1129\r\n    15  libsystem_pthread.dylib             0x000000011170c341 start_wqthread + 13\r\n`\r\n\r\nThe app does the following algorithm:\r\n\r\n- Initialization   \r\n```\r\n    let configuration = ParseClientConfiguration {\r\n        $0.applicationId\t= \"xxx\"\r\n        $0.clientKey\t\t= \"xxx\"\r\n        $0.server\t\t\t= \"https://xxx/parse\"\r\n    }\r\n\r\n    Parse.initializeWithConfiguration(configuration)   \r\n```\r\n- Configuration   \r\n```\r\nPFConfig.getConfigInBackgroundWithBlock { (config: PFConfig?, error: NSError?)\r\n```   \r\n1. Reconnection   \r\n ```\r\nlet dbUser = PFUser.currentUser()\r\n```   \r\n_OR_   \r\n2. Connection   \r\n```\r\nPFUser.logInWithUsernameInBackground(...)\r\n```   \r\n"},"comment":{"url":"https://api.github.com/repos/ParsePlatform/Parse-SDK-iOS-OSX/issues/comments/261460646","html_url":"https://github.com/ParsePlatform/Parse-SDK-iOS-OSX/issues/1066#issuecomment-261460646","issue_url":"https://api.github.com/repos/ParsePlatform/Parse-SDK-iOS-OSX/issues/1066","id":261460646,"user":{"login":"fadylateef","id":17549441,"avatar_url":"https://avatars.githubusercontent.com/u/17549441?v=3","gravatar_id":"","url":"https://api.github.com/users/fadylateef","html_url":"https://github.com/fadylateef","followers_url":"https://api.github.com/users/fadylateef/followers","following_url":"https://api.github.com/users/fadylateef/following{/other_user}","gists_url":"https://api.github.com/users/fadylateef/gists{/gist_id}","starred_url":"https://api.github.com/users/fadylateef/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fadylateef/subscriptions","organizations_url":"https://api.github.com/users/fadylateef/orgs","repos_url":"https://api.github.com/users/fadylateef/repos","events_url":"https://api.github.com/users/fadylateef/events{/privacy}","received_events_url":"https://api.github.com/users/fadylateef/received_events","type":"User","site_admin":false},"created_at":"2016-11-18T06:42:07Z","updated_at":"2016-11-18T06:42:07Z","body":"Crying : yes the same here , may we need to upgrade to macOS Sierra !!! \r\nactually idk"}}
{"actor":{"display_login":"fadylateef"}}