App crashes on launch on iOS 10

I have my app building successfully in Xcode 8 for iOS 10, but as soon as the app launches in the simulator, it crashes without breaking in Xcode. Here is the log output:


2016-06-15 14:40:20.850188 Engagement[70147:1457290] bundleid: com.acstechnologies.Realm.Engagement, enable_level: 0, persist_level: 0, propagate_with_activity: 0
2016-06-15 14:40:20.850685 Engagement[70147:1457290] subsystem: com.apple.UIKit, category: HIDEvents, enable_level: 0, persist_level: 0, default_ttl: 0, info_ttl: 0, debug_ttl: 0, generate_symptoms: 0, enable_oversize: 0, privacy_setting: 0
2016-06-15 14:40:20.854881 Engagement[70147:1457258] Created DB, header sequence number = 252
2016-06-15 14:40:20.878082 Engagement[70147:1457258] Created DB, header sequence number = 252
2016-06-15 14:40:20.887804 Engagement[70147:1457258] subsystem: com.apple.BaseBoard, category: MachPort, enable_level: 0, persist_level: 0, default_ttl: 0, info_ttl: 0, debug_ttl: 0, generate_symptoms: 0, enable_oversize: 0, privacy_setting: 0
2016-06-15 14:40:21.063438 Engagement[70147:1457258] subsystem: com.apple.FrontBoard, category: Common, enable_level: 0, persist_level: 0, default_ttl: 0, info_ttl: 0, debug_ttl: 0, generate_symptoms: 0, enable_oversize: 0, privacy_setting: 0
2016-06-15 14:40:21.141565 Engagement[70147:1456663] subsystem: com.apple.UIKit, category: General, enable_level: 0, persist_level: 0, default_ttl: 0, info_ttl: 0, debug_ttl: 0, generate_symptoms: 0, enable_oversize: 0, privacy_setting: 0
2016-06-15 14:40:21.142159 Engagement[70147:1456663] [General] Splitview controller <UISplitViewControllerClassicImpl: 0x7fc0e1346ce0> is expected to have a view controller at index 0 before it's used!
2016-06-15 14:40:21.182739 Engagement[70147:1456663] subsystem: com.apple.UIKit, category: GestureEnvironment, enable_level: 0, persist_level: 0, default_ttl: 0, info_ttl: 0, debug_ttl: 0, generate_symptoms: 0, enable_oversize: 0, privacy_setting: 0
2016-06-15 14:40:21.255352 Engagement[70147:1457291] subsystem: com.apple.network, category: , enable_level: 0, persist_level: 0, default_ttl: 0, info_ttl: 0, debug_ttl: 0, generate_symptoms: 0, enable_oversize: 0, privacy_setting: 0
2016-06-15 14:40:21.256076 Engagement[70147:1457258] [] nw_endpoint_handler_start [1 e.onrealm.org:443 initial path (null)]
2016-06-15 14:40:21.256436 Engagement[70147:1457258] [] nw_connection_endpoint_report [1 e.onrealm.org:443 initial path (null)] reported event path:start
2016-06-15 14:40:21.257215 Engagement[70147:1457258] [] nw_connection_endpoint_report [1 e.onrealm.org:443 waiting path (satisfied)] reported event path:satisfied
2016-06-15 14:40:21.257981 Engagement[70147:1457258] subsystem: com.apple.SystemConfiguration, category: SCPreferences, enable_level: 0, persist_level: 0, default_ttl: 0, info_ttl: 0, debug_ttl: 0, generate_symptoms: 0, enable_oversize: 0, privacy_setting: 0
2016-06-15 14:40:21.258980 Engagement[70147:1457258] [] nw_connection_endpoint_report [1 e.onrealm.org:443 in_progress resolver (satisfied)] reported event resolver:start_dns
2016-06-15 14:40:21.259926 Engagement[70147:1457258] [] nw_host_stats_add_src recv too small, received 24, expected 28
2016-06-15 14:40:21.260278 Engagement[70147:1457258] [] nw_host_stats_add_src recv too small, received 24, expected 28
2016-06-15 14:40:21.260801 Engagement[70147:1457291] [] nw_endpoint_resolver_update [1 e.onrealm.org:443 in_progress resolver (satisfied)] Adding endpoint handler for 52.87.111.146:443
2016-06-15 14:40:21.261158 Engagement[70147:1457291] [] nw_endpoint_resolver_update [1 e.onrealm.org:443 in_progress resolver (satisfied)] Adding endpoint handler for 52.201.206.38:443
2016-06-15 14:40:21.261545 Engagement[70147:1457291] [] nw_connection_endpoint_report [1 e.onrealm.org:443 in_progress resolver (satisfied)] reported event resolver:receive_dns
2016-06-15 14:40:21.261902 Engagement[70147:1457291] [] nw_endpoint_resolver_start_next_child [1 e.onrealm.org:443 in_progress resolver (satisfied)] starting child endpoint 52.87.111.146:443
2016-06-15 14:40:21.262226 Engagement[70147:1457291] [] nw_host_stats_add_src recv too small, received 24, expected 28
2016-06-15 14:40:21.262524 Engagement[70147:1457291] [] nw_endpoint_resolver_start_next_child [1 e.onrealm.org:443 in_progress resolver (satisfied)] starting next child endpoint in 250ms
2016-06-15 14:40:21.262820 Engagement[70147:1457291] [] nw_endpoint_handler_start [1.1 52.87.111.146:443 initial path (null)]
2016-06-15 14:40:21.263124 Engagement[70147:1457291] [] nw_connection_endpoint_report [1.1 52.87.111.146:443 initial path (null)] reported event path:start
2016-06-15 14:40:21.263664 Engagement[70147:1457291] [] nw_connection_endpoint_report [1.1 52.87.111.146:443 waiting path (satisfied)] reported event path:satisfied
2016-06-15 14:40:21.263936 Engagement[70147:1457291] [] __nwlog_err_simulate_crash_libsystem libsystem simulate crash unavailable, [libsystem_network.dylib: nw_endpoint_get_hostname :: incorrect endpoint type 1]
2016-06-15 14:40:21.264343 Engagement[70147:1457291] [] nw_endpoint_get_hostname incorrect endpoint type 1, dumping backtrace:
        [x86_64] libnetcore-805.0.0.2.2
    0   libsystem_network.dylib             0x000000010cc7437f __nw_create_backtrace_string + 123
    1   libsystem_network.dylib             0x000000010cc7646e nw_endpoint_get_hostname + 75
    2   libnetwork.dylib                    0x000000010dc08be7 nw_endpoint_proxy_handler_should_use_proxy + 125
    3   libnetwork.dylib                    0x000000010dc1604f nw_endpoint_handler_path_change + 1509
    4   libnetwork.dylib                    0x000000010dc158a2 nw_endpoint_handler_start + 570
    5   libnetwork.dylib                    0x000000010dc2c026 nw_endpoint_resolver_start_next_child + 2050
    6   libdispatch.dylib                   0x000000010c9cd1e8 _dispatch_call_block_and_release + 12
    7   libdispatch.dylib                   0x000000010c9f9dee _dispatch_client_callout + 8
    8   libdispatch.dylib                   0x000000010c9d4a1d _dispatch_queue_serial_drain + 239
    9   libdi
2016-06-15 14:40:21.265623 Engagement[70147:1457291] [] nw_connection_endpoint_report [1.1 52.87.111.146:443 in_progress socket-flow (satisfied)] reported event flow:start_connect
2016-06-15 14:40:21.313958 Engagement[70147:1457291] [] nw_endpoint_handler_start [2 media.onrealm.org:443 initial path (null)]
2016-06-15 14:40:21.314326 Engagement[70147:1457291] [] nw_connection_endpoint_report [2 media.onrealm.org:443 initial path (null)] reported event path:start
2016-06-15 14:40:21.314943 Engagement[70147:1457291] [] nw_connection_endpoint_report [2 media.onrealm.org:443 waiting path (satisfied)] reported event path:satisfied
2016-06-15 14:40:21.315815 Engagement[70147:1457291] [] nw_connection_endpoint_report [2 media.onrealm.org:443 in_progress resolver (satisfied)] reported event resolver:start_dns
2016-06-15 14:40:21.361667 Engagement[70147:1457291] [] nw_endpoint_flow_protocol_connected [1.1 52.87.111.146:443 in_progress socket-flow (satisfied)] Output protocol connected
2016-06-15 14:40:21.362672 Engagement[70147:1457291] [] nw_endpoint_flow_connected_path_change [1.1 52.87.111.146:443 ready socket-flow (satisfied)] Connected path is satisfied
2016-06-15 14:40:21.363108 Engagement[70147:1457291] [] nw_connection_endpoint_report [1.1 52.87.111.146:443 ready socket-flow (satisfied)] reported event flow:finish_connect
2016-06-15 14:40:21.363603 Engagement[70147:1457291] [] nw_connection_endpoint_report [1 e.onrealm.org:443 ready resolver (satisfied)] reported event flow:finish_connect
2016-06-15 14:40:21.364459 Engagement[70147:1457291] [] nw_connection_endpoint_report [1.1 52.87.111.146:443 ready socket-flow (satisfied)] reported event flow:changed_viability
2016-06-15 14:40:21.364845 Engagement[70147:1457291] [] nw_connection_endpoint_report [1 e.onrealm.org:443 ready resolver (satisfied)] reported event flow:changed_viability
2016-06-15 14:40:21.365566 Engagement[70147:1457291] [] nw_endpoint_start_tls_while_connected [1.1 52.87.111.146:443 ready socket-flow (satisfied)]
2016-06-15 14:40:21.366889 Engagement[70147:1457291] [] nw_connection_endpoint_report [1.1 52.87.111.146:443 in_progress socket-flow (satisfied)] reported event flow:start_secondary_connect
2016-06-15 14:40:21.367307 Engagement[70147:1457291] [] nw_connection_endpoint_report [1 e.onrealm.org:443 in_progress resolver (satisfied)] reported event flow:start_secondary_connect
2016-06-15 14:40:21.367675 Engagement[70147:1457291] [] nw_connection_endpoint_report [1.1 52.87.111.146:443 in_progress socket-flow (satisfied)] reported event flow:start_connect
2016-06-15 14:40:21.368072 Engagement[70147:1457291] [] nw_connection_endpoint_report [1 e.onrealm.org:443 in_progress resolver (satisfied)] reported event flow:start_connect
2016-06-15 14:40:21.368396 Engagement[70147:1457291] [] nw_endpoint_flow_protocol_connected [1.1 52.87.111.146:443 in_progress socket-flow (satisfied)] Transport protocol connected
2016-06-15 14:40:21.368745 Engagement[70147:1457291] [] nw_connection_endpoint_report [1.1 52.87.111.146:443 in_progress socket-flow (satisfied)] reported event flow:finish_transport
2016-06-15 14:40:21.369120 Engagement[70147:1457291] [] nw_connection_endpoint_report [1 e.onrealm.org:443 in_progress resolver (satisfied)] reported event flow:finish_transport
[fg127,127,127;2016-06-15 14:40:21:388 Engagement[70147:1457289] GET 'https:/ 
[;[fg127,127,127;2016-06-15 14:40:21:389 Engagement[70147:1457289] ["User-Agent": "Engagement/1.0.0 (iPhone; iOS 10.0; Scale/1.00)", "X-CLIENT-KEY": "3e512f7a-c9c2-4b67-b23e-c7032c1996d0", "Accept-Language": "en;q=1"]
[;[fg214,57,30;2016-06-15 14:40:21:388 Engagement[70147:1456663] didFailToRegisterForRemoteNotificationsWithError: Error Domain=NSCocoaErrorDomain Code=3010 "remote notifications are not supported in the simulator" UserInfo={NSLocalizedDescription=remote notifications are not supported in the simulator}
[;[fg127,127,127;2016-06-15 14:40:21:392 Engagement[70147:1456663] didRegisterUserNotificationSettings: <UIUserNotificationSettings: 0x7fc0dbf0a230; types: (UIUserNotificationTypeAlert UIUserNotificationTypeBadge UIUserNotificationTypeSound);>
[;[fg127,127,127;2016-06-15 14:40:21:392 Engagement[70147:1457289] GET 'https:/ 
[;[fg127,127,127;2016-06-15 14:40:21:393 Engagement[70147:1457289] ["User-Agent": "Engagement/1.0.0 (iPhone; iOS 10.0; Scale/1.00)", "X-CLIENT-KEY": "3e512f7a-c9c2-4b67-b23e-c7032c1996d0", "Accept-Language": "en;q=1"]
[;[fg127,127,127;2016-06-15 14:40:21:393 Engagement[70147:1457289] GET 'https:/ 
[;[fg127,127,127;2016-06-15 14:40:21:393 Engagement[70147:1457289] ["Accept": "image/"]
[;2016-06-15 14:40:21.399933 Engagement[70147:1456663] subsystem: com.apple.photos, category: Generic, enable_level: 0, persist_level: 0, default_ttl: 0, info_ttl: 0, debug_ttl: 0, generate_symptoms: 0, enable_oversize: 0, privacy_setting: 0
[fg127,127,127;2016-06-15 14:40:21:404 Engagement[70147:1457289] GET 'https:/ 
[;[fg127,127,127;2016-06-15 14:40:21:404 Engagement[70147:1457289] GET 'https:/ 
[;[fg127,127,127;2016-06-15 14:40:21:404 Engagement[70147:1457349] GET 'https:/ 
[;2016-06-15 14:40:21.405485 Engagement[70147:1457351] [] nw_endpoint_handler_start [3 unity-stg-content.s3.amazonaws.com:443 initial path (null)]
[fg127,127,127;2016-06-15 14:40:21:405 Engagement[70147:1457350] GET 'https:/ 
[;2016-06-15 14:40:21.406171 Engagement[70147:1457351] [] nw_connection_endpoint_report [3 unity-stg-content.s3.amazonaws.com:443 initial path (null)] reported event path:start
2016-06-15 14:40:21.406868 Engagement[70147:1457351] [] nw_connection_endpoint_report [3 unity-stg-content.s3.amazonaws.com:443 waiting path (satisfied)] reported event path:satisfied
2016-06-15 14:40:21.407826 Engagement[70147:1457351] [] nw_connection_endpoint_report [3 unity-stg-content.s3.amazonaws.com:443 in_progress resolver (satisfied)] reported event resolver:start_dns

Replies

I knew ur way...but I added all keys relate to privacy key included urs, still not working, ***....I wanna cry


<key>NSRemindersUsageDescription</key>

<string>&quot;Do u allow us to use it?&quot;</string>

<key>NSPhotoLibraryUsageDescription</key>

<string>&quot;Do u allow us to use it?&quot;</string>

<key>kTCCServiceMediaLibrary</key>

<string>&quot;Do u allow us to use it?&quot;</string>

<key>NSMotionUsageDescription</key>

<string>&quot;Do u allow us to use it?&quot;</string>

<key>NSMicrophoneUsageDescription</key>

<string>&quot;Do u allow us to use it?&quot;</string>

<key>NSAppleMusicUsageDescription</key>

<string>&quot;Do u allow us to use it?&quot;</string>

<key>NSLocationWhenInUseUsageDescription</key>

<string>&quot;Do u allow us to use it?&quot;</string>

<key>NSLocationUsageDescription</key>

<string>&quot;Do u allow us to use it?&quot;</string>

<key>NSLocationAlwaysUsageDescription</key>

<string>&quot;Do u allow us to use it?&quot;</string>

<key>NSHomeKitUsageDescription</key>

<string>&quot;Do u allow us to use it?&quot;</string>

<key>NSHealthUpdateUsageDescription</key>

<string>&quot;Do u allow us to use it?&quot;</string>

<key>NSHealthShareUsageDescription</key>

<string>&quot;Do u allow us to use it?&quot;</string>

<key>NSContactsUsageDescription</key>

<string>&quot;Do u allow us to use it?&quot;</string>

<key>NSCameraUsageDescription</key>

<string>&quot;Do u allow us to use it?&quot;</string>

<key>NSCalendarsUsageDescription</key>

<string>&quot;Do u allow us to use it?&quot;</string>

<key>NSBluetoothPeripheralUsageDescription</key>

<string>&quot;Do u allow us to use it?&quot;</string>

Are you using the latest XCode on OS X 10.12?

Hi all!

Pretty the same case. My app works fine on ios 9.3 and XCode 7.3.x

But running under XCode 8 and iOS 10 simulator (and on my device with ios 10 beta 1 as well) is causing almost immediate crash. I have the login screen with two text fields: tap on the first one and typing within it is ok, but when I tap the second one - the app crashes.

Tryed to add needed privacy keys like Photo Library and Camera usage.. still have a problem. Logs are below (sorry for long input):


2016-06-29 22:16:42.833068 Sidekick[7062:180805] [] nw_connection_endpoint_report [2.1 74.6.34.30:443 in_progress socket-flow (satisfied)] reported event flow:start_connect
2016-06-29 22:16:42.979942 Sidekick[7062:180805] [] nw_endpoint_flow_protocol_connected [3.1 23.23.120.42:443 in_progress socket-flow (satisfied)] Output protocol connected
2016-06-29 22:16:42.982022 Sidekick[7062:180805] [] nw_endpoint_flow_connected_path_change [3.1 23.23.120.42:443 ready socket-flow (satisfied)] Connected path is satisfied
2016-06-29 22:16:42.982965 Sidekick[7062:180805] [] nw_connection_endpoint_report [3.1 23.23.120.42:443 ready socket-flow (satisfied)] reported event flow:finish_connect
2016-06-29 22:16:42.983925 Sidekick[7062:180805] [] nw_connection_endpoint_report [3 api.smooch.io:443 ready resolver (satisfied)] reported event flow:finish_connect
2016-06-29 22:16:43.049203 Sidekick[7062:180805] [] nw_endpoint_flow_protocol_connected [2.1 74.6.34.30:443 in_progress socket-flow (satisfied)] Output protocol connected
2016-06-29 22:16:43.050896 Sidekick[7062:180805] [] nw_endpoint_flow_connected_path_change [2.1 74.6.34.30:443 ready socket-flow (satisfied)] Connected path is satisfied
2016-06-29 22:16:43.051736 Sidekick[7062:180805] [] nw_connection_endpoint_report [2.1 74.6.34.30:443 ready socket-flow (satisfied)] reported event flow:finish_connect
2016-06-29 22:16:43.052865 Sidekick[7062:180805] [] nw_connection_endpoint_report [2 data.flurry.com:443 ready resolver (satisfied)] reported event flow:finish_connect
2016-06-29 22:16:43.053630 Sidekick[7062:180805] [] nw_connection_endpoint_report [2.1 74.6.34.30:443 ready socket-flow (satisfied)] reported event flow:changed_viability
2016-06-29 22:16:43.054093 Sidekick[7062:180805] [] nw_connection_endpoint_report [2 data.flurry.com:443 ready resolver (satisfied)] reported event flow:changed_viability
2016-06-29 22:16:43.054750 Sidekick[7062:180698] [] nw_endpoint_start_tls_while_connected [2.1 74.6.34.30:443 ready socket-flow (satisfied)]
2016-06-29 22:16:43.055578 Sidekick[7062:180698] [] nw_connection_endpoint_report [2.1 74.6.34.30:443 in_progress socket-flow (satisfied)] reported event flow:start_secondary_connect
2016-06-29 22:16:43.056088 Sidekick[7062:180698] [] nw_connection_endpoint_report [2 data.flurry.com:443 in_progress resolver (satisfied)] reported event flow:start_secondary_connect
2016-06-29 22:16:43.056542 Sidekick[7062:180698] [] nw_connection_endpoint_report [2.1 74.6.34.30:443 in_progress socket-flow (satisfied)] reported event flow:start_connect
2016-06-29 22:16:43.057036 Sidekick[7062:180698] [] nw_connection_endpoint_report [2 data.flurry.com:443 in_progress resolver (satisfied)] reported event flow:start_connect
2016-06-29 22:16:43.057411 Sidekick[7062:180698] [] nw_endpoint_flow_protocol_connected [2.1 74.6.34.30:443 in_progress socket-flow (satisfied)] Transport protocol connected
2016-06-29 22:16:43.057940 Sidekick[7062:180698] [] nw_connection_endpoint_report [2.1 74.6.34.30:443 in_progress socket-flow (satisfied)] reported event flow:finish_transport
2016-06-29 22:16:43.058418 Sidekick[7062:180698] [] nw_connection_endpoint_report [2 data.flurry.com:443 in_progress resolver (satisfied)] reported event flow:finish_transport
2016-06-29 22:16:44.035691 Sidekick[7062:180805] [] nw_endpoint_flow_protocol_connected [2.1 74.6.34.30:443 in_progress socket-flow (satisfied)] Output protocol connected
2016-06-29 22:16:44.037861 Sidekick[7062:180805] [] nw_endpoint_flow_connected_path_change [2.1 74.6.34.30:443 ready socket-flow (satisfied)] Connected path is satisfied
2016-06-29 22:16:44.038808 Sidekick[7062:180805] [] nw_connection_endpoint_report [2.1 74.6.34.30:443 ready socket-flow (satisfied)] reported event flow:finish_connect
2016-06-29 22:16:44.039536 Sidekick[7062:180805] [] nw_connection_endpoint_report [2 data.flurry.com:443 ready resolver (satisfied)] reported event flow:finish_connect
2016-06-29 22:16:44.132928 Sidekick[7062:180698] [] nw_endpoint_handler_start [4 data.flurry.com:443 initial path (null)]
2016-06-29 22:16:44.133591 Sidekick[7062:180698] [] nw_connection_endpoint_report [4 data.flurry.com:443 initial path (null)] reported event path:start
2016-06-29 22:16:44.135053 Sidekick[7062:180698] [] nw_connection_endpoint_report [4 data.flurry.com:443 waiting path (satisfied)] reported event path:satisfied
2016-06-29 22:16:44.136151 Sidekick[7062:180698] [] nw_connection_endpoint_report [4 data.flurry.com:443 in_progress resolver (satisfied)] reported event resolver:start_dns
2016-06-29 22:16:44.137216 Sidekick[7062:180805] [] nw_endpoint_resolver_update [4 data.flurry.com:443 in_progress resolver (satisfied)] Adding endpoint handler for 74.6.34.30:443
2016-06-29 22:16:44.137736 Sidekick[7062:180805] [] nw_connection_endpoint_report [4 data.flurry.com:443 in_progress resolver (satisfied)] reported event resolver:receive_dns
2016-06-29 22:16:44.138167 Sidekick[7062:180805] [] nw_endpoint_resolver_start_next_child [4 data.flurry.com:443 in_progress resolver (satisfied)] starting child endpoint 74.6.34.30:443
2016-06-29 22:16:44.138615 Sidekick[7062:180805] [] nw_host_stats_add_src recv too small, received 24, expected 28
2016-06-29 22:16:44.138971 Sidekick[7062:180805] [] nw_endpoint_resolver_start_next_child [4 data.flurry.com:443 in_progress resolver (satisfied)] starting next child endpoint in 250ms
2016-06-29 22:16:44.139445 Sidekick[7062:180805] [] nw_endpoint_handler_start [4.1 74.6.34.30:443 initial path (null)]
2016-06-29 22:16:44.139930 Sidekick[7062:180805] [] nw_connection_endpoint_report [4.1 74.6.34.30:443 initial path (null)] reported event path:start
2016-06-29 22:16:44.140738 Sidekick[7062:180805] [] nw_connection_endpoint_report [4.1 74.6.34.30:443 waiting path (satisfied)] reported event path:satisfied
2016-06-29 22:16:44.141174 Sidekick[7062:180805] [] __nwlog_err_simulate_crash_libsystem libsystem simulate crash unavailable, [libsystem_network.dylib: nw_endpoint_get_hostname :: incorrect endpoint type 1]
2016-06-29 22:16:44.141662 Sidekick[7062:180805] [] nw_endpoint_get_hostname incorrect endpoint type 1, dumping backtrace:
        [x86_64] libnetcore-805.0.0.2.2
    0   libsystem_network.dylib             0x0000000111a8c37f __nw_create_backtrace_string + 123
    1   libsystem_network.dylib             0x0000000111a8e46e nw_endpoint_get_hostname + 75
    2   libnetwork.dylib                    0x00000001142d9be7 nw_endpoint_proxy_handler_should_use_proxy + 125
    3   libnetwork.dylib                    0x00000001142e704f nw_endpoint_handler_path_change + 1509
    4   libnetwork.dylib                    0x00000001142e68a2 nw_endpoint_handler_start + 570
    5   libnetwork.dylib                    0x00000001142fd026 nw_endpoint_resolver_start_next_child + 2050
    6   libdispatch.dylib                   0x00000001117e51e8 _dispatch_call_block_and_release + 12
    7   libdispatch.dylib                   0x0000000111811dee _dispatch_client_callout + 8
    8   libdispatch.dylib                   0x00000001117eca1d _dispatch_queue_serial_drain + 239
    9   libdi
2016-06-29 22:16:44.142940 Sidekick[7062:180805] [] nw_connection_endpoint_report [4.1 74.6.34.30:443 in_progress socket-flow (satisfied)] reported event flow:start_connect
2016-06-29 22:16:44.445091 Sidekick[7062:180805] [] nw_endpoint_flow_protocol_connected [4.1 74.6.34.30:443 in_progress socket-flow (satisfied)] Output protocol connected
2016-06-29 22:16:44.446532 Sidekick[7062:180805] [] nw_endpoint_flow_connected_path_change [4.1 74.6.34.30:443 ready socket-flow (satisfied)] Connected path is satisfied
2016-06-29 22:16:44.452321 Sidekick[7062:180805] [] nw_connection_endpoint_report [4.1 74.6.34.30:443 ready socket-flow (satisfied)] reported event flow:finish_connect
2016-06-29 22:16:44.453658 Sidekick[7062:180805] [] nw_connection_endpoint_report [4 data.flurry.com:443 ready resolver (satisfied)] reported event flow:finish_connect
2016-06-29 22:16:44.454927 Sidekick[7062:180805] [] nw_connection_endpoint_report [4.1 74.6.34.30:443 ready socket-flow (satisfied)] reported event flow:changed_viability
2016-06-29 22:16:44.455358 Sidekick[7062:180805] [] nw_connection_endpoint_report [4 data.flurry.com:443 ready resolver (satisfied)] reported event flow:changed_viability
2016-06-29 22:16:44.456895 Sidekick[7062:180733] [] nw_endpoint_flow_protocol_disconnected [2.1 74.6.34.30:443 ready socket-flow (satisfied)] Output protocol disconnected
2016-06-29 22:16:44.457657 Sidekick[7062:180733] [] nw_endpoint_handler_cancel [2 data.flurry.com:443 ready resolver (satisfied)]
2016-06-29 22:16:44.462074 Sidekick[7062:180733] [] nw_endpoint_handler_cancel [2.1 74.6.34.30:443 ready socket-flow (satisfied)]
2016-06-29 22:16:44.462949 Sidekick[7062:180733] [] __nw_socket_service_writes_block_invoke sendmsg(fd 10, 31 bytes): socket has been closed
2016-06-29 22:16:44.464615 Sidekick[7062:180733] [] nw_endpoint_flow_protocol_disconnected [2.1 74.6.34.30:443 cancelled socket-flow (null)] Output protocol disconnected
2016-06-29 22:16:44.468501 Sidekick[7062:180698] [] nw_endpoint_start_tls_while_connected [4.1 74.6.34.30:443 ready socket-flow (satisfied)]
2016-06-29 22:16:44.473658 Sidekick[7062:180698] [] nw_connection_endpoint_report [4.1 74.6.34.30:443 in_progress socket-flow (satisfied)] reported event flow:start_secondary_connect
2016-06-29 22:16:44.474341 Sidekick[7062:180698] [] nw_connection_endpoint_report [4 data.flurry.com:443 in_progress resolver (satisfied)] reported event flow:start_secondary_connect
2016-06-29 22:16:44.474969 Sidekick[7062:180698] [] nw_connection_endpoint_report [4.1 74.6.34.30:443 in_progress socket-flow (satisfied)] reported event flow:start_connect
2016-06-29 22:16:44.475398 Sidekick[7062:180698] [] nw_connection_endpoint_report [4 data.flurry.com:443 in_progress resolver (satisfied)] reported event flow:start_connect
2016-06-29 22:16:44.475751 Sidekick[7062:180698] [] nw_endpoint_flow_protocol_connected [4.1 74.6.34.30:443 in_progress socket-flow (satisfied)] Transport protocol connected
2016-06-29 22:16:44.476236 Sidekick[7062:180698] [] nw_connection_endpoint_report [4.1 74.6.34.30:443 in_progress socket-flow (satisfied)] reported event flow:finish_transport
2016-06-29 22:16:44.476708 Sidekick[7062:180698] [] nw_connection_endpoint_report [4 data.flurry.com:443 in_progress resolver (satisfied)] reported event flow:finish_transport
2016-06-29 22:16:45.061315 Sidekick[7062:180805] [] nw_endpoint_flow_protocol_connected [4.1 74.6.34.30:443 in_progress socket-flow (satisfied)] Output protocol connected
2016-06-29 22:16:45.063441 Sidekick[7062:180805] [] nw_endpoint_flow_connected_path_change [4.1 74.6.34.30:443 ready socket-flow (satisfied)] Connected path is satisfied
2016-06-29 22:16:45.064443 Sidekick[7062:180805] [] nw_connection_endpoint_report [4.1 74.6.34.30:443 ready socket-flow (satisfied)] reported event flow:finish_connect
2016-06-29 22:16:45.065409 Sidekick[7062:180805] [] nw_connection_endpoint_report [4 data.flurry.com:443 ready resolver (satisfied)] reported event flow:finish_connect
2016-06-29 22:16:45.367302 Sidekick[7062:180698] [] nw_endpoint_handler_cancel [4 data.flurry.com:443 ready resolver (satisfied)]
2016-06-29 22:16:45.368942 Sidekick[7062:180698] [] nw_endpoint_handler_cancel [4.1 74.6.34.30:443 ready socket-flow (satisfied)]
2016-06-29 22:16:45.369876 Sidekick[7062:180698] [] __nw_socket_service_writes_block_invoke sendmsg(fd 13, 31 bytes): socket has been closed
2016-06-29 22:16:45.370448 Sidekick[7062:180698] [] nw_endpoint_flow_protocol_disconnected [4.1 74.6.34.30:443 cancelled socket-flow (null)] Output protocol disconnected
2016-06-29 22:16:52.589863 Sidekick[7062:180805] [] nw_endpoint_flow_protocol_disconnected [1.1 192.30.253.117:443 ready socket-flow (satisfied)] Output protocol disconnected
2016-06-29 22:16:52.591700 Sidekick[7062:180805] [] nw_connection_endpoint_report [1.1 192.30.253.117:443 failed socket-flow (satisfied)] reported event flow:disconnect, error Error Domain=kNWErrorDomainPOSIX Code=54 "Connection reset by peer" UserInfo={NSDescription=Connection reset by peer}
2016-06-29 22:16:52.593154 Sidekick[7062:180805] [] nw_connection_endpoint_report [1 api.github.com:443 failed resolver (satisfied)] reported event flow:disconnect
2016-06-29 22:16:52.594190 Sidekick[7062:180698] [] nw_connection_write_close 1 Connection is not ready, sending error callback
2016-06-29 22:16:52.595151 Sidekick[7062:180805] [] nw_endpoint_handler_cancel [1 api.github.com:443 failed resolver (satisfied)]
2016-06-29 22:16:52.595862 Sidekick[7062:180698] [] __tcp_connection_write_eof_block_invoke Write close callback received error: [57] Socket is not connected
2016-06-29 22:16:52.596926 Sidekick[7062:180805] [] nw_endpoint_handler_cancel [1.1 192.30.253.117:443 failed socket-flow (satisfied)]
2016-06-29 22:17:03.128506 Sidekick[7062:180519] subsystem: com.apple.UIKit, category: Touch, enable_level: 0, persist_level: 0, default_ttl: 0, info_ttl: 0, debug_ttl: 0, generate_symptoms: 0, enable_oversize: 0, privacy_setting: 0
2016-06-29 22:17:03.134627 Sidekick[7062:180519] subsystem: com.apple.UIKit, category: Gesture, enable_level: 0, persist_level: 0, default_ttl: 0, info_ttl: 0, debug_ttl: 0, generate_symptoms: 0, enable_oversize: 0, privacy_setting: 0
2016-06-29 22:17:03.145885 Sidekick[7062:180519] subsystem: com.apple.UIKit, category: GestureEnvironment, enable_level: 0, persist_level: 0, default_ttl: 0, info_ttl: 0, debug_ttl: 0, generate_symptoms: 0, enable_oversize: 0, privacy_setting: 0
2016-06-29 22:17:03.146925 Sidekick[7062:180519] subsystem: com.apple.UIKit, category: GestureExclusion, enable_level: 0, persist_level: 0, default_ttl: 0, info_ttl: 0, debug_ttl: 0, generate_symptoms: 0, enable_oversize: 0, privacy_setting: 0
2016-06-29 22:17:05.093310 Sidekick[7062:180519] subsystem: com.apple.ManagedConfiguration, category: MC, enable_level: 0, persist_level: 0, default_ttl: 0, info_ttl: 0, debug_ttl: 0, generate_symptoms: 0, enable_oversize: 0, privacy_setting: 0
2016-06-29 22:17:05.094127 Sidekick[7062:180519] subsystem: com.apple.ManagedConfiguration, category: MDM, enable_level: 0, persist_level: 0, default_ttl: 0, info_ttl: 0, debug_ttl: 0, generate_symptoms: 0, enable_oversize: 0, privacy_setting: 0
2016-06-29 22:17:05.094749 Sidekick[7062:180812] subsystem: com.apple.calls.callkit, category: Default, enable_level: 0, persist_level: 0, default_ttl: 0, info_ttl: 0, debug_ttl: 0, generate_symptoms: 0, enable_oversize: 0, privacy_setting: 0
2016-06-29 22:17:05.095346 Sidekick[7062:180519] subsystem: com.apple.ManagedConfiguration, category: profiled, enable_level: 0, persist_level: 0, default_ttl: 0, info_ttl: 0, debug_ttl: 0, generate_symptoms: 0, enable_oversize: 0, privacy_setting: 0
2016-06-29 22:17:05.095371 Sidekick[7062:180812] [Default] Requesting calls from host
2016-06-29 22:17:05.096043 Sidekick[7062:180519] subsystem: com.apple.ManagedConfiguration, category: teslad, enable_level: 0, persist_level: 0, default_ttl: 0, info_ttl: 0, debug_ttl: 0, generate_symptoms: 0, enable_oversize: 0, privacy_setting: 0
2016-06-29 22:17:05.096728 Sidekick[7062:180519] subsystem: com.apple.ManagedConfiguration, category: PIH, enable_level: 0, persist_level: 0, default_ttl: 0, info_ttl: 0, debug_ttl: 0, generate_symptoms: 0, enable_oversize: 0, privacy_setting: 0
2016-06-29 22:17:05.097327 Sidekick[7062:180519] subsystem: com.apple.ManagedConfiguration, category: MPJ, enable_level: 0, persist_level: 0, default_ttl: 0, info_ttl: 0, debug_ttl: 0, generate_symptoms: 0, enable_oversize: 0, privacy_setting: 0
2016-06-29 22:17:05.168359 Sidekick[7062:180519] [MC] Reading from private effective user settings.
2016-06-29 22:17:05.187436 Sidekick[7062:180812] [Default] Received requested calls from host: (
)
2016-06-29 22:17:09.633523 Sidekick[7062:180519] subsystem: com.apple.BaseBoard, category: Common, enable_level: 0, persist_level: 0, default_ttl: 0, info_ttl: 0, debug_ttl: 0, generate_symptoms: 0, enable_oversize: 0, privacy_setting: 0
2016-06-29 22:17:09.634126 Sidekick[7062:180519] [Common] _BSMachError: port 9c03; (os/kern) invalid capability (0x14) "Unable to insert COPY_SEND"
2016-06-29 22:17:09.634933 Sidekick[7062:180519] [Common] _BSMachError: port 9c03; (os/kern) invalid name (0xf) "Unable to deallocate send right"
2016-06-29 22:17:09.882754 Sidekick[7062:180698] subsystem: com.apple.coreaudio, category: ssc, enable_level: 0, persist_level: 0, default_ttl: 0, info_ttl: 0, debug_ttl: 0, generate_symptoms: 0, enable_oversize: 0, privacy_setting: 0
2016-06-29 22:17:13.535566 Sidekick[7062:180812] [] nw_endpoint_handler_cancel [3 api.smooch.io:443 ready resolver (satisfied)]
2016-06-29 22:17:13.564754 Sidekick[7062:180812] [] nw_endpoint_handler_cancel [3.1 23.23.120.42:443 ready socket-flow (satisfied)]
2016-06-29 22:17:13.627573 Sidekick[7062:180812] [] __nw_socket_service_writes_block_invoke sendmsg(fd 11, 31 bytes): socket has been closed
2016-06-29 22:17:13.634872 Sidekick[7062:180812] [] nw_endpoint_flow_protocol_disconnected [3.1 23.23.120.42:443 cancelled socket-flow (null)] Output protocol disconnected
2016-06-29 22:17:13.637111 Sidekick[7062:180812] [] nw_endpoint_handler_cancel [3.2 50.19.221.239:443 initial path (null)]
2016-06-29 22:17:13.641827 Sidekick[7062:180812] [] nw_endpoint_handler_cancel [3.3 23.23.223.46:443 initial path (null)]
2016-06-29 22:17:13.642637 Sidekick[7062:180812] [] nw_endpoint_flow_protocol_disconnected [3.1 23.23.120.42:443 cancelled socket-flow (null)] Output protocol disconnected
libc++abi.dylib: terminating with uncaught exception of type NSException

That's very unfortunate. Such a severe issue like this either warranted delaying the seed or releasing an immediate second seed. With no consistent workaround working, I can't keep testing/developing tvOS 10 stuff. I'm pretty certain my issue is networking related, so none of the privacy key workarounds suggested work for me.

Hi,


I am also facing the same issue, this happens for a popup asking for allow notification. Adding privacy setting didn’t work.

Does your app read or write anything from an App Group container on launch? I was having a crash on launch in beta 1. In beta 2, I still crashed on launch, but with a useful error message this time. I was trying to create a new Core Data persistent store in my App Group container, but Xcode 8 beta had turned off that entitlement. I flipped it back on, and it launches normally.

Is this issue resolved in Xcode 8 beta 2?

I don't think so

Very nice! My app is running now.

"Privacy - Photo Library Usage Description" is string key not Boolean, In fact, you jsut fill any strings in value。

One of methods how to resolve that is:

  1. Close Xcode
  2. Go to: /Users/YourOSXUserName/Library/Developer/Xcode/DerivedData
  3. Delete all folders from "Driver Data"
  4. Open Xcode, open project and build again.


Good luck all!

Hi ArtBoiko,


I am facing same issue.


2016-09-30 12:41:13.489922 VideoPlugin[278:10287] [] nw_connection_read 33 Connection is not ready, sending error callback

2016-09-30 12:41:13.490507 VideoPlugin[278:10224] [] nw_connection_write_close 33 Connection is not ready, sending error callback

2016-09-30 12:41:13.492053 VideoPlugin[278:10287] [] __tcp_connection_write_eof_block_invoke Write close callback received error: [57] Socket is not connected


have you get any solution?

Please let me know solution


Thanks,

Punita

I also have the same issue,and I had soved the problem.

Edit Scheme

Run(Environment Variables) add variables, NS_ACTIVITY_MODE-disable

but it would be leads to next problem:


One of the two will be used. Which one is undefined.