Post

Replies

Boosts

Views

Activity

Reply to Crash on libquic.dylib (com.apple.network.connections) EXC_BREAKPOINT (SIGTRAP)
It seems that the issue is still around or a new one creeped in? I can see a number of crashes in Crashlytics on iOS 15.5.0. Crashed: com.apple.network.connections 0 libquic.dylib 0x6b06c qlog_abort_internal + 276 1 libquic.dylib 0x6b058 qlog_abort_internal + 256 2 libquic.dylib 0x239e4 quic_send_frames_for_key_state + 3928 3 libquic.dylib 0x301e0 quic_migration_probe_path + 1532 4 libquic.dylib 0x33010 quic_migration_new_cid + 156 5 libquic.dylib 0x110e0 quic_frame_process_NEW_CONNECTION_ID + 4080 6 libquic.dylib 0x647cc quic_frame_process + 140 7 libquic.dylib 0x169c4 quic_process_inbound + 1376 8 libnetwork.dylib 0x5dd5f0 nw_protocol_data_access_buffer + 1064 9 libquic.dylib 0x157cc __quic_handle_inbound_block_invoke + 152 10 libquic.dylib 0x10bc quic_handle_inbound + 124 11 libnetwork.dylib 0x5c048c __nw_protocol_implementation_get_input_internal_block_invoke + 136 12 libnetwork.dylib 0x5bf60c nw_protocol_implementation_get_input_internal + 252 13 libnetwork.dylib 0x5be7f8 nw_protocol_implementation_read + 436 14 libnetwork.dylib 0x5bdf08 nw_protocol_implementation_input_available + 96 15 libnetwork.dylib 0x514698 nw_channel_add_input_frames + 9236 16 libnetwork.dylib 0x512198 nw_channel_update_input_source + 328 17 libnetwork.dylib 0x5113a4 __nw_channel_create_block_invoke.29 + 72 18 libdispatch.dylib 0x3a30 _dispatch_client_callout + 20 19 libdispatch.dylib 0x6eec _dispatch_continuation_pop + 500 20 libdispatch.dylib 0x1a13c _dispatch_source_invoke + 1596 21 libdispatch.dylib 0xcf80 _dispatch_workloop_invoke + 1784 22 libdispatch.dylib 0x16500 _dispatch_workloop_worker_thread + 648 23 libsystem_pthread.dylib 0x10bc _pthread_wqthread + 288 24 libsystem_pthread.dylib 0xe5c start_wqthread + 8
Jul ’22
Reply to Picture in Picture stops audio when phone locked
You would need something like these functions when the app is backgrounded and then foregrounded:     func enterIntoBackground() {         if #available(iOS 14, *) {             if self.player?.rate == 1 {                 DispatchQueue.main.asyncAfter(deadline: .now() + 0.2) { [weak self] in                     if self?.player?.rate == 0 {                         self?.playerViewController?.player = nil                         self?.player?.play()                     }                 }             }         } else {             self.playerViewController?.player = nil         }     }     func enterIntoForeground() {         if #available(iOS 14, *) {             // When the phone was locked in full screen mode             guard let vc = self.playerViewController else { return }             if vc.player == nil {                 vc.player = self.player             }         } else {             self.playerViewController?.player = self.player         }     }
Topic: Media Technologies SubTopic: Audio Tags:
Jun ’21
Reply to Crash on libquic.dylib (com.apple.network.connections) EXC_BREAKPOINT (SIGTRAP)
It seems that the issue is still around or a new one creeped in? I can see a number of crashes in Crashlytics on iOS 15.5.0. Crashed: com.apple.network.connections 0 libquic.dylib 0x6b06c qlog_abort_internal + 276 1 libquic.dylib 0x6b058 qlog_abort_internal + 256 2 libquic.dylib 0x239e4 quic_send_frames_for_key_state + 3928 3 libquic.dylib 0x301e0 quic_migration_probe_path + 1532 4 libquic.dylib 0x33010 quic_migration_new_cid + 156 5 libquic.dylib 0x110e0 quic_frame_process_NEW_CONNECTION_ID + 4080 6 libquic.dylib 0x647cc quic_frame_process + 140 7 libquic.dylib 0x169c4 quic_process_inbound + 1376 8 libnetwork.dylib 0x5dd5f0 nw_protocol_data_access_buffer + 1064 9 libquic.dylib 0x157cc __quic_handle_inbound_block_invoke + 152 10 libquic.dylib 0x10bc quic_handle_inbound + 124 11 libnetwork.dylib 0x5c048c __nw_protocol_implementation_get_input_internal_block_invoke + 136 12 libnetwork.dylib 0x5bf60c nw_protocol_implementation_get_input_internal + 252 13 libnetwork.dylib 0x5be7f8 nw_protocol_implementation_read + 436 14 libnetwork.dylib 0x5bdf08 nw_protocol_implementation_input_available + 96 15 libnetwork.dylib 0x514698 nw_channel_add_input_frames + 9236 16 libnetwork.dylib 0x512198 nw_channel_update_input_source + 328 17 libnetwork.dylib 0x5113a4 __nw_channel_create_block_invoke.29 + 72 18 libdispatch.dylib 0x3a30 _dispatch_client_callout + 20 19 libdispatch.dylib 0x6eec _dispatch_continuation_pop + 500 20 libdispatch.dylib 0x1a13c _dispatch_source_invoke + 1596 21 libdispatch.dylib 0xcf80 _dispatch_workloop_invoke + 1784 22 libdispatch.dylib 0x16500 _dispatch_workloop_worker_thread + 648 23 libsystem_pthread.dylib 0x10bc _pthread_wqthread + 288 24 libsystem_pthread.dylib 0xe5c start_wqthread + 8
Replies
Boosts
Views
Activity
Jul ’22
Reply to XCode 13 is super slow, build time is 10~20 times longer than Xcode 12
I started to experience slow incremental builds after setting the defaults write com.apple.dt.XCBuild EnableSwiftBuildSystemIntegration 1. Once I set it back to 0, restarted Xcode and removed derived data all is looking good. Will take a closer look later what is the actual issue when it's set to 1.
Replies
Boosts
Views
Activity
Jan ’22
Reply to Picture in Picture stops audio when phone locked
You would need something like these functions when the app is backgrounded and then foregrounded:     func enterIntoBackground() {         if #available(iOS 14, *) {             if self.player?.rate == 1 {                 DispatchQueue.main.asyncAfter(deadline: .now() + 0.2) { [weak self] in                     if self?.player?.rate == 0 {                         self?.playerViewController?.player = nil                         self?.player?.play()                     }                 }             }         } else {             self.playerViewController?.player = nil         }     }     func enterIntoForeground() {         if #available(iOS 14, *) {             // When the phone was locked in full screen mode             guard let vc = self.playerViewController else { return }             if vc.player == nil {                 vc.player = self.player             }         } else {             self.playerViewController?.player = self.player         }     }
Topic: Media Technologies SubTopic: Audio Tags:
Replies
Boosts
Views
Activity
Jun ’21