Posts

Post not yet marked as solved
4 Replies
1.8k Views
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.
Posted
by simran21.
Last updated
.
Post not yet marked as solved
1 Replies
1.2k Views
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
Posted
by simran21.
Last updated
.
Post not yet marked as solved
8 Replies
2.3k Views
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
Posted
by simran21.
Last updated
.
Post not yet marked as solved
0 Replies
378 Views
Hello,macOS Catalina introduced new feature “Users Data protection”, where data (like Desktop, download folder etc.) requires user consent to access (data like Desktop, download folder etc. )Executable that denied access to the file due to lack of access approval Or not pre populate the prompt are remains un-checked in privacy .I have following query regarding "executables not pre populate the prompt":How to make sure that executable /daemon always populate prompt for the first access to protected folders ?ORAt the time of installation of software is it possible to provide full access to the executable /daemons ? (with user's permission)Thanks ,Simran
Posted
by simran21.
Last updated
.
Post not yet marked as solved
2 Replies
685 Views
Hello,I am using NSPrintOperation with runOperationModalForWindow as following :NSPrintOperation *op; NSPrintInfo *myPrintInfo; myPrintInfo = [[NSPrintInfo alloc] init]; // // Set attributes of myPrintInfo // op = [NSPrintOperation printOperationWithView: detailsTextView printInfo:myPrintInfo]; [op runOperationModalForWindow:[self window] delegate:nil didRunSelector:NULL contextInfo: NULL];With the above code, It is working fine for all OS , except 10.13. On 10.13 OS for remote type Printer, execution hangs at runOperationModalForWindow. Following is sample where it hang:Here what cares needs to take? --------------------------------------------------------runOperationModalForWindow:delegate:didRunSelector:contextInfo:] (in AppKit) + 536 [0x7fff4a00441a] + 2760 __91-[NSConcretePrintOperation runOperationModalForWindow:delegate:didRunSelector:contextInfo:]_block_invoke.385 (in AppKit) + 149 [0x7fff4a462967] + 2760 -[NSPrintPanel beginSheetWithPrintInfo:modalForWindow:delegate:didEndSelector:contextInfo:] (in AppKit) + 576 [0x7fff4a005a2f] + 2760 -[NSWindowController window] (in AppKit) + 110 [0x7fff49d8cd0f] + 2760 -[NSWindowController _windowDidLoad] (in AppKit) + 547 [0x7fff49de8e8c] + 2760 ??? (in PrintCocoaUI) load address 0x117153000 + 0x15e40 [0x117168e40] + 2760 ??? (in PrintCocoaUI) load address 0x117153000 + 0x15f88 [0x117168f88] + 2760 ??? (in PrintCocoaUI) load address 0x117153000 + 0xabcb [0x11715dbcb] + 2760 ??? (in PrintCocoaUI) load address 0x117153000 + 0xb0a6 [0x11715e0a6] + 2760 ??? (in PrintCocoaUI) load address 0x117153000 + 0xaa1d [0x11715da1d] + 2760 ??? (in PrintCocoaUI) load address 0x117153000 + 0x1d251 [0x117170251] + 2760 CUPSPrinter::GetPPD(ppd_file_s**) (in PrintCore) + 270 [0x7fff4b0a4562] + 2760 cupsGetPPD (in libcups.2.dylib) + 58 [0x7fff72ea56d4] + 2760 cupsGetPPD3 (in libcups.2.dylib) + 479 [0x7fff72ea58ca] + 2760 ??? (in libcups.2.dylib) load address 0x7fff72e6c000 + 0x3a28f [0x7fff72ea628f] + 2760 _httpResolveURI (in libcups.2.dylib) + 1002 [0x7fff72e87887] + 2760 poll (in libsystem_kernel.dylib) + 10 [0x7fff7483209a]........... ....Thanks ,Simran
Posted
by simran21.
Last updated
.