Post

Replies

Boosts

Views

Activity

How to get Internet speed in macOS app
Hello, Is there any way to get the "Internet speed / Network bandwidth" in macOS application? My requirement is to find Internet speed (to know whether Network is slower / faster ). I have checked CWWiFiClient. With CoreWLAN apis we can retrieve : RSSI Value, Transmit speed etc. Transmit Rate is an indication of the speed of your wireless network connection. Whether is it related with Internet speed ? I want to know which parameters can be used to identify whether network is fast / slow? Thanks. Any help is appreciated.
4
0
2.1k
Jul ’20
MAC OS 10.13.6: Kext rejected due to insecure location
Hello,I am using Mac OS 10.13.6 OS. I get following error for loading kext :"Kext rejected due to insecure location for path "/Library/Stagedextensions/Library/Application Support/<Sub folder>/<Kext>"In "System Security" above kext is allowedKext Entry remains in "/Library/Stagedextensions/"Verified with "kextcache --clear-staging" command but still issue persistsAlso observed on some other 10.13.6 machines kext loading is working properlyPlease guide how to load the kext on 10.13.6 system ?Thanks,Simran
1
0
1.3k
May ’19
tccd process stuck with file system filter
Hello,We have file system filter. Recently on Catalina macOS we found that following tccd related files are stuck at open call:/private/var/folders/tb/jjk74dn51p5_vgz844dpvfbw0000gn/T/com.apple.tccd/TemporaryItems/(A Document Being Saved By tccd)/keys/Library/Application Support/com.apple.TCC/AdhocSignatureCache/keysAt the same time, tccd process in Activity monitor also stuck at _NSWriteDataToFileWithExtendedAttributes / _NSReadBytesFromFileWithExtendedAttributes. Please check below samples of tccd process : - Thread_165622 DispatchQueue_24: com.apple.tcc.AdhocSignatureCache (serial) + 2852 start_wqthread (in libsystem_pthread.dylib) + 15 [0x7fff7224857b] + 2852 _pthread_wqthread (in libsystem_pthread.dylib) + 290 [0x7fff7224871b] + 2852 _dispatch_workloop_worker_thread (in libdispatch.dylib) + 598 [0x7fff71ffaa9e] + 2852 _dispatch_lane_invoke (in libdispatch.dylib) + 363 [0x7fff71ff1452] + 2852 _dispatch_lane_serial_drain (in libdispatch.dylib) + 597 [0x7fff71ff0ace] + 2852 _dispatch_client_callout (in libdispatch.dylib) + 8 [0x7fff71feb50e] + 2852 _dispatch_call_block_and_release (in libdispatch.dylib) + 12 [0x7fff71fea583] + 2852 __53-[TCCDAdhocSignatureCache getSignatureForStaticCode:]_block_invoke.114 (in tccd) + 211 [0x10c50462e] + 2852 -[TCCDAdhocSignatureCache saveKeysToDirectory] (in tccd) + 189 [0x10c502fc6] + 2852 _NSWriteDataToFileWithExtendedAttributes (in Foundation) + 1005 [0x7fff3d1d2d41] + 2852 close (in libsystem_kernel.dylib) + 10 [0x7fff721851aa]OR2641 Thread_5755 DispatchQueue_27: com.apple.tcc.AdhocSignatureCache (serial) + 2641 start_wqthread (in libsystem_pthread.dylib) + 15 [0x7fff688a957b] + 2641 _pthread_wqthread (in libsystem_pthread.dylib) + 290 [0x7fff688a971b] + 2641 _dispatch_workloop_worker_thread (in libdispatch.dylib) + 598 [0x7fff6865ba9e] + 2641 _dispatch_mach_invoke (in libdispatch.dylib) + 481 [0x7fff6866263e] + 2641 _dispatch_lane_serial_drain (in libdispatch.dylib) + 263 [0x7fff68651980] + 2641 _dispatch_mach_msg_invoke (in libdispatch.dylib) + 435 [0x7fff68661aeb] + 2641 _dispatch_client_callout4 (in libdispatch.dylib) + 9 [0x7fff6864c5ae] + 2641 _xpc_connection_mach_event (in libxpc.dylib) + 927 [0x7fff688e9158] + 2641 _xpc_connection_call_event_handler (in libxpc.dylib) + 56 [0x7fff688eaf68] + 2641 __main_block_invoke.167 (in tccd) + 55 [0x10e76fcd5] + 2641 handle (in tccd) + 3308 [0x10e770a0d] + 2641 do_TCCAccessRequest (in tccd) + 8508 [0x10e77642c] + 2641 -[TCCDAccessIdentity matchesCodeRequirementData:] (in tccd) + 345 [0x10e787ecb] + 2641 -[TCCDPlatformMacOS adhocSignStaticCode:] (in tccd) + 169 [0x10e7a45b3] + 2641 -[TCCDAdhocSignatureCache getSignatureForStaticCode:] (in tccd) + 199 [0x10e79422d] + 2641 _dispatch_lane_barrier_sync_invoke_and_complete (in libdispatch.dylib) + 60 [0x7fff68658567] + 2641 _dispatch_client_callout (in libdispatch.dylib) + 8 [0x7fff6864c50e] + 2641 __53-[TCCDAdhocSignatureCache getSignatureForStaticCode:]_block_invoke (in tccd) + 312 [0x10e7943d6] + 2641 -[TCCDAdhocSignatureCache loadSignatureWithUUID:] (in tccd) + 124 [0x10e7930db] + 2641 +[NSData(NSData) dataWithContentsOfURL:options:error:] (in Foundation) + 61 [0x7fff3384473a] + 2641 -[NSData(NSData) initWithContentsOfFile:options:maxLength:error:] (in Foundation) + 111 [0x7fff3383e075] + 2641 _NSReadBytesFromFileWithExtendedAttributes (in Foundation) + 160 [0x7fff338265d6] + 2641 __open (in libsystem_kernel.dylib) + 10 [0x7fff687e6192] 2641 Thread_5996 DispatchQueue_11: com.apple.root.default-qos.overcommit (concurrent) + 2641 start_wqthread (in libsystem_pthread.dylib) + 15 [0x7fff688a957b] + 2641 _pthread_wqthread (in libsystem_pthread.dylib) + 290 [0x7fff688a971b] + 2641 _dispatch_workloop_worker_thread (in libdispatch.dylib) + 598 [0x7fff6865ba9e] + 2641 _dispatch_mach_invoke (in libdispatch.dylib) + 481 [0x7fff6866263e] + 2641 _dispatch_lane_serial_drain (in libdispatch.dylib) + 263 [0x7fff68651980] + 2641 _dispatch_mach_msg_invoke (in libdispatch.dylib) + 435 [0x7fff68661aeb] + 2641 _dispatch_client_callout4 (in libdispatch.dylib) + 9 [0x7fff6864c5ae] + 2641 _xpc_connection_mach_event (in libxpc.dylib) + 927 [0x7fff688e9158] + 2641 _xpc_connection_call_event_handler (in libxpc.dylib) + 56 [0x7fff688eaf68] + 2641 __main_block_invoke.167 (in tccd) + 55 [0x10e76fcd5] + 2641 handle (in tccd) + 3308 [0x10e770a0d] + 2641 do_TCCAccessRequest (in tccd) + 8508 [0x10e77642c] + 2641 -[TCCDAccessIdentity matchesCodeRequirementData:] (in tccd) + 345 [0x10e787ecb] + 2641 -[TCCDPlatformMacOS adhocSignStaticCode:] (in tccd) + 169 [0x10e7a45b3] + 2641 -[TCCDAdhocSignatureCache getSignatureForStaticCode:] (in tccd) + 199 [0x10e79422d] + 2641 _dispatch_sync_f_slow (in libdispatch.dylib) + 171 [0x7fff6865840e] + 2641 __DISPATCH_WAIT_FOR_QUEUE__ (in libdispatch.dylib) + 270 [0x7fff686587ab] + 2641 _dispatch_event_loop_wait_for_ownership (in libdispatch.dylib) + 498 [0x7fff686682fe] + 2641 _dispatch_kq_poll (in libdispatch.dylib) + 247 [0x7fff68667844] + 2641 kevent_id (in libsystem_kernel.dylib) + 10 [0x7fff687e6c22]Which process have file handle : tccd or our process trying to open a file?Please suggest document for tccd to analyze the issue.Thanks ,Simran
8
0
2.6k
Jan ’20