Saturday, April 17, 2021

Recent Questions - Ask Different

Recent Questions - Ask Different


MacOSX Big Sur - Terminal ZSH Shell Command's Execute Sometimes With "!" Exclamation Symbol In Front

Posted: 17 Apr 2021 11:40 PM PDT

Is this normal behavior for MacOS Big Sur ZSH (Z Shell) terminal behavior? Sometime's shell commands such as find and or launchd as just a simple example execute properly. This is with the exclamation symbol "!" in front, leading with the expected output and no privilege escalation.

For example, running: !find / will still work. Or !sudo will execute.

But !echo '@' will not. But lead to the next command sometimes.

Output for !echo

zsh: event not found: echo

Output for !launchd

launchd

launchd cannot be run directly.

It seem's weird !sudo output's sudo syscallbypid.d

Delete picture prompt in Keynote

Posted: 17 Apr 2021 11:24 PM PDT

Hi I am creating Keynote masters and every time I insert a picture it puts an icon on it, helpfully to allow you to insert a photo from your file. It doesn't show up in the final keynote but it is a pain in the neck. How do I delete it enter image description here

iOS Simulator is not simulator technically on Apple Silicon M1 Machine

Posted: 17 Apr 2021 08:40 PM PDT

iOS simulator available in Xcode is not simulator technically on Apple Silicon M1 Machine. As it builds ARM build on it. Am I right?

Where in System Preferences do I find how to enable extensions?

Posted: 17 Apr 2021 08:00 PM PDT

A friend of mine has a Mid 2012 MacBook Air running Catalina, and he's trying to get the Android emulator BlueStacks running on it. He gets an error saying "System extension blocked. Enable the extension from Security & Privacy System Preferences pane by clicking 'Allow' button and BlueStacks will launch again." I looked in that pane, and couldn't find anything like that. I'm obviously missing something here but I don't know what!

A screenshot of the error is attached:

enter image description here

iCloud Notes - back up to Time Machine or Optimise Mac storage

Posted: 17 Apr 2021 06:59 PM PDT

my original question was,

are my iCloud notes automatically backed up to Time Machine?

online I came upon the answer, yes, as long as Optimise Mac Storage is turned off

is this true?

But Optimise Mac Storage means full content of the iCloud Drive will be stored on the Mac

So it seems that's already a way to backup the iCloud

Does this mean I have to choose whether to back it up to the Mac or to Time Machine ?

Which would be better ?

Thank you !

My Apple Script Editor code doesn't work gives "Syntax Error Expected end of line but found identifier."

Posted: 17 Apr 2021 06:48 PM PDT

I insert this code:

tell application "Notes"    set theMessages to every note    repeat with thisMessage in theMessages      set myTitle to the name of thisMessage      set myText to the body of thisMessage      set myCreateDate to the creation date of thisMessage      set myModDate to the modification date of thisMessage      tell application "Evernote"        set myNote to create note1 with text myTitle title myTitle notebook "Imported Notes" tags ["imported_from_notes"]        set the HTML content of myNote to myText        set the creation date of myNote to myCreateDate        set the modification date of myNote to myModDate      end tell    end repeat   end tell  

And it gives me the error: Syntax Error Expected end of line but found identifier.

Any idea what the problem with the code is?

How to tell what Safari tab requires high performance GPU?

Posted: 17 Apr 2021 04:28 PM PDT

I'm experiencing lower than expected battery life on my 2015 Macbook Pro. I believe that part of the problem is that the High Performance GPU is being activated when not needed by some tab in Safari: Activity Monitor Energy Pane

This is NOT a CPU related problem, as the CPU tab in Activity Monitor shows little activity: Activity Monitor CPU pane

How can I tell which tab is requiring the high-performance GPU?

macOS 11: Get system information (GPU, resolution) programmatically (in C)

Posted: 17 Apr 2021 04:14 PM PDT

I need to access data about GPU and screen resolution in C, not using system_profiler, because it takes too long(.3s-.5s system_profiler SPDisplaysDataType), and needs greping and cutting, which is not that fast either.

Caching would be answer, but very short-sighted as someone can use different monitors etc.

Unfortunately system_profiler is closed source.

Contacts and calendars only sync from iPhone to Mac, not Mac to iPhone

Posted: 17 Apr 2021 03:03 PM PDT

When my friend syncs their iPhone over USB with their Mac, contacts and calendar entries they create on their Mac are not copied to their iPhone, but contacts and calendar entries they create on their iPhone do get copied to their Mac. How can we get this data syncing bidirectionally again?

This data used to sync in both directions correctly, but stopped doing so around the time they updated to iOS 14.4.2 (it may very well have started before the update; they first noticed about a day after updating). It's hard to tell when exactly it started exhibiting this behavior because there's no error message when they sync. The behavior we do observe is that once the sync gets to the calendar step, it sits there indefinitely until the sync is cancelled. If we turn off calendar sync, it gets to the contacts step and similarly sits there indefinitely until the sync is cancelled.

They do not use iCloud. They're running macOS Big Sur 11.2.3 and sync using the Finder. They use Apple's Contacts and Calendar apps on both their phone and computer. "Sync contacts onto iPhone", Sync "All Groups" is selected, and "Sync Calendars onto iPhone", Sync "All Calendars" is selected.

We've tried booting the Mac into safe mode, but this appears to completely disable whatever Finder component handles iOS syncing. We also tried performing a sync while streaming the AMPDevicesAgent logs, but when the sync hangs, the logs just show a bunch of "sending Ping for device" and "got Ping message for device" messages with no errors until we cancel or disconnect the phone.

Something strange we noticed that may or may not be relevant is that in the Finder sync settings, the box for "Add new contacts from this phone to 'ALC Board'" is checked (this is one of their groups in Contacts) even though they never chose it. However, when they try to pick a different group for the destination, it only shows a list containing their other groups but not the All Contacts folder. If they uncheck this box, and click Apply, after syncing the box comes back checked (sometimes a different group name will appear). I am unsure whether this is relevant because they can sync from their phone to their Mac.

Similarly strange, in the settings from Calendar sync, the 'Do not sync events older that — days' is currently unchecked. However, originally it was checked and set to 730 days. When they set it to 0, it was supposed to transfer all calendar entries from Mac to phone, but it did not (and did not show an error message).

Thank you for your help!

MacBook M1 Big Sur crashes every time when I open "About This Mac -> Storage -> Manage"

Posted: 17 Apr 2021 10:41 PM PDT

Background: I'm using a MacBook Pro with M1 chip and Big Sur V11.1 (got it last month). One thing really annoys me is that when I connect my iphone, sync starts automatically and it takes up 20GB to when all iphone files are backed up.

Issue: So I wanted to delete the sync files using "Reduce Clutter" in "About This Mac -> Storage". It worked fine for two weeks after I purchased the MacBook, but recently it starts to crash every time when I open "About This Mac -> Storage -> Manage" and I wasn't even able to get the time to click "Review Files" under "Manage". I tried to restart the system but had no luck at all. See screenshots below for crash report.

screenshot1

screenshot2

Help: Does anyone else encounter the same issue? How to resolve it? Is there a way (say, command line) to delete synced iphone files without clicking "About This Mac -> Storage"?

"Manage-> Review Files" is a really convenient way to view and remove redundant files to save storage. It would be great if there is a way to revive that functionality if possible.

Thanks in advance!

Gamepad Button Mapping

Posted: 17 Apr 2021 02:23 PM PDT

For some reason, my gamepad has wrong mappings, and I need a software to remap the joystick. Is there any free tool for that? Or a workaround maybe?

macOS error: The application is not open anymore

Posted: 17 Apr 2021 11:51 PM PDT

I'm attempting to launch a macOS application.

When I select the file from Applications, or double-click the app's icon, I get the alert message:

The application "APP_NAME.app" is not open anymore.

The application "APP_NAME.app" is not open anymore.

I know it's not open... I want to launch the app!

What is the meaning of this error? How can I launch the application?

How to replace newline in Excel for Mac

Posted: 17 Apr 2021 11:45 PM PDT

As it seems there are suggestions for how to replace a character or a string with newline in Excel for Mac, like this one. But trying to reverse the process does not work; e.g., to type CTRL+J or ALT+0010 etc. Any advice on how to replace newlines in cells with, for example, space?

Mirroring display in Recovery Mode with faulty lid sensor and LCD?

Posted: 17 Apr 2021 11:08 PM PDT

Today I bought a 2017 Macbook that has a water damaged LCD and a faulty closed-lid sensor. My intention is to factory reset it and use it as a build system (i.e. develop my app on my desktop, then remotely connect into the machine to compile / distribute).

When in MacOS, I can ⌘ Command+F1 to mirror to an external display, but obviously that doesn't work in recovery mode. One suggestion was to boot to recovery, then simply close the lid to make the external display the primary display, but with a faulty "lid closed" sensor, I can't do that.

Another suggestion was to close the lid, then run a fridge magnet over the corner of the unit to activate the closed-lid sensor. I tried this, but it just puts the unit to sleep, and I need to open the lid to start it back up.

Someone else suggested attempting to drag the window over from one screen to another, but I tried a bunch of times and had no luck because it's a bit of a stab in the dark to hit something that thin.

I have a dock at work that I intend to try (so I can close the lid, do the magnet, then use an external keyboard to try and wake the device), but until I can get to it, I'm wondering if there's a way to mirror the display, or at least move the window so I can proceed with reinstallation of MacOS?

What exactly are the files . and .. on mac?

Posted: 17 Apr 2021 06:51 PM PDT

Anecdotally, files called . and .. seem to often (always?) be present inside otherwise 'empty' directories on macOS.

Example

Create a new directory (with nothing in it)

mkdir test  

cd into it

cd test  

and list its contents

ls -a  .   ..  

What exactly are these files . and ..?

Transfer accounts from Mac or iPhone to new iPad?

Posted: 17 Apr 2021 05:11 PM PDT

I have 8 different email accounts configured on my iPhone. It's a pain to move them one-by-one to the iPad. If I wipe the iPad I can move them all over at the same time. Is there any way to do this without wiping the iPad? I just got a new email account and don't want to manually configure each device.

Unity: How can I run Unity builds created in High Sierra & Verify they run on Mojave without a Mojave computer?

Posted: 17 Apr 2021 07:43 PM PDT

I have Unity 2020.3.0f1 Mac apps that were created on end-of-life High Sierra computers. I recently purchased a Mac Mini M1 computer. The apps run on both computers. I have to execute a terminal command on them to get them to open on the M1 computer.

Apple changed the App Store Upload process so that now we have to notarize that new apps will run on Mojave. I don't have a computer that runs Mojave. From my understanding you can't test Unity builds using the Apple Simulators. Is there another option to test my apps to see if they will run on Mojave?

Connecting a MacBook Air with Thunderbolt 2 to a Monitor with HDMI and USB-C

Posted: 17 Apr 2021 06:48 PM PDT

I have a 13-inch MacBook Air Early 2015, resolution 1440 × 900 with thunderbolt 2 and USB-A. I want to connect it to a bigger display. Right now I am considering to buy an LG 27UK850-W 4K 27 inch Monitor (resolution 3840x2160) which has HDMI, USB-C, DisplayPort and USB Downstream Port. Can I connect my MacBook and the monitor with the following connections:

  1. MacBook Air -> Thunderbolt 2 Cable -> Thunderbolt 3 (USB-C) to Thunderbolt 2 adapter -> LG 27UK850-W 4K Monitor

  2. MacBook Air -> USB-A to HDMI adapter -> HDMI -> LG 27UK850-W 4K Monitor

Would there be any limitations with the display quality? Which one is the best way to connect the devices or do you have any other suggestions?

Permanently allow Chrome to access location

Posted: 17 Apr 2021 02:33 PM PDT

Recently, Google Chrome keeps loosing the ability to detect my location. When I open Google Maps, it has the icon indicating This site has been blocked from accessing your location and when I click it, a dialog containing Location is turned off in Mac system preferences is shown:

Location is turned off in Mac system preferences, This site has been blocked from accessing your location

So I have to go to Enable Location Services:

Need to Enable Location Services for Google Chrome again

But I am sure that I have done this several times recently. It seems that this setting is lost regularly (maybe for every Chrome auto-update?). How can I make this setting permanent?

Chrome's location setting constantly disabled

Posted: 17 Apr 2021 03:23 PM PDT

Whenever I open Google Chrome (including Chromium and Canary) on my Mac the location is set to off. So I must go to Preferences -> Security & Privacy -> Privacy -> Location Services and set Canary's location setting on.

However, I'm not sure why Chrome's location setting is set to off whenever I quit the app. How can I make the location setting permanent?

I lock the key icon on the privacy setting once I checked on the Chrome's location setting but it didn't work... I use macOS 11.0.1 (updated to 11.2 now) and found this is true on multiple macs.


UPDATE

I found out that this problem happens on all Chrome variants. Also, this even happened while I'm running the app.

How do I add the chapters title in Pages (Mac)?

Posted: 17 Apr 2021 04:49 PM PDT

I can add date, links, page numbers, but I would like to display as well the chapter titles in the header and it should be updated automatically when a chapter's title changes. Any ideas? I'm using pages 10.2 (7028.0.88)

How copy text into Terminal command line zsh?

Posted: 17 Apr 2021 02:43 PM PDT

Somehow something seems to have been changed with my Zsh configuration or Terminal settings under macOS Catalina (10.15.7). If I copy some text, say from a TextEdit window, the usual paste command and shortcut-key (⌘ CommandV) no longer paste that text onto the command line in Terminal.

How to fix this so it works as expected?

Why are some PDFs scrambled when opened with Preview on Mac?

Posted: 17 Apr 2021 08:30 PM PDT

Consider this PDF file for example. The text in this file appears scrambled when opened with Safari or Preview. However, the PDF is formatted fine when opened with Adobe Acrobat Reader DC or most 3rd party web browsers including but not limited to Gecko-based Firefox and Chromium-based Google Chrome, Microsoft Edge and Opera.

I wondered if it is because of some of the embedded fonts in the PDF file which perhaps I needed to install on my mac. So, I searched for these fonts and installed them on my system but to no avail. Perhaps it is a bug?

How would you deal with such PDF files when you want to primarily use Preview?


EDIT: I am using macOS Catalina 10.15.6 and Preview 11.0. In the attached screenshot, the left rendering is by Preview and the right one is by Adobe Acrobat Reader DC.

Comparison of Preview and Acrobat Reader DC

XCode crashes at start (at launch)

Posted: 17 Apr 2021 03:42 PM PDT

My XCode crashes with the following error

Process:               Xcode [972]  Path:                  /Applications/Xcode.app/Contents/MacOS/Xcode  Identifier:            com.apple.dt.Xcode  Version:               11.2.1 (15526.1)  Build Info:            IDEFrameworks-15526001000000000~4 (11B500)  Code Type:             X86-64 (Native)  Parent Process:        ??? [1]  Responsible:           Xcode [972]  User ID:               167860746    Date/Time:             2020-07-20 16:14:09.203 +0300  OS Version:            Mac OS X 10.15.5 (19F101)  Report Version:        12  Anonymous UUID:        0B196765-5F42-FDBE-EF0C-E0879215BB57    Sleep/Wake UUID:       EF4EEF31-7B40-43FF-B0D2-316C16B8E1AE    Time Awake Since Boot: 970 seconds  Time Since Wake:       270 seconds    System Integrity Protection: enabled    Crashed Thread:        28  Dispatch queue: Diff queue for DVTDiffContext <0x7fe80b26e9a0>    Exception Type:        EXC_BAD_ACCESS (SIGBUS)  Exception Codes:       KERN_PROTECTION_FAILURE at 0x0000700003400000  Exception Note:        EXC_CORPSE_NOTIFY    Termination Signal:    Bus error: 10  Termination Reason:    Namespace SIGNAL, Code 0xa  Terminating Process:   exc handler [972]    VM Regions Near 0x700003400000:      Stack                  000070000337e000-0000700003400000 [  520K] rw-/rwx SM=COW  thread 28  --> STACK GUARD            0000700003400000-0000700003401000 [    4K] ---/rwx SM=NUL  stack guard for thread 25      Stack                  0000700003401000-0000700003483000 [  520K] rw-/rwx SM=COW  thread 25    Application Specific Information:  ProductBuildVersion: 11B500    Thread 0:: Dispatch queue: com.apple.main-thread  0   libsystem_kernel.dylib          0x00007fff6777ddfa mach_msg_trap + 10  1   libsystem_kernel.dylib          0x00007fff6777e170 mach_msg + 60  2   com.apple.CoreFoundation        0x00007fff2d641f85 __CFRunLoopServiceMachPort + 247  3   com.apple.CoreFoundation        0x00007fff2d640a52 __CFRunLoopRun + 1319  4   com.apple.CoreFoundation        0x00007fff2d63fece CFRunLoopRunSpecific + 462  5   com.apple.HIToolbox             0x00007fff2c26eabd RunCurrentEventLoopInMode + 292  6   com.apple.HIToolbox             0x00007fff2c26e7d5 ReceiveNextEventCommon + 584  7   com.apple.HIToolbox             0x00007fff2c26e579 _BlockUntilNextEventMatchingListInModeWithFilter + 64  8   com.apple.AppKit                0x00007fff2a8b6829 _DPSNextEvent + 883  9   com.apple.AppKit                0x00007fff2a8b5070 -[NSApplication(NSEvent) _nextEventMatchingEventMask:untilDate:inMode:dequeue:] + 1352  10  com.apple.dt.DVTKit             0x0000000102f8dfeb -[DVTApplication nextEventMatchingMask:untilDate:inMode:dequeue:] + 390  11  com.apple.AppKit                0x00007fff2a8a6d7e -[NSApplication run] + 658  12  com.apple.AppKit                0x00007fff2a878b86 NSApplicationMain + 777  13  com.apple.dt.Xcode              0x0000000102667e8d main + 541  14  libdyld.dylib                   0x00007fff6763ccc9 start + 1    Thread 1:  0   libsystem_pthread.dylib         0x00007fff6783cb68 start_wqthread + 0    Thread 2:  0   libsystem_pthread.dylib         0x00007fff6783cb68 start_wqthread + 0    Thread 3:: Dispatch queue: <IDEXCBuildSupport.IDEXCBuildServiceBuildOperation:0x7fe80b473cd0:REfc>-builder-queue (QOS: UNSPECIFIED)  0   libsystem_kernel.dylib          0x00007fff6777de36 semaphore_wait_trap + 10  1   libdispatch.dylib               0x00007fff675e3aed _dispatch_sema4_wait + 16  2   libdispatch.dylib               0x00007fff675e3fbf _dispatch_semaphore_wait_slow + 98  3   libswiftDispatch.dylib          0x00007fff670ab17f OS_dispatch_semaphore.wait(wallTimeout:) + 15  4   com.apple.dt.IDE.XCBuildSupport 0x000000012900b8a2 closure #1 in IDEXCBuildServiceBuildOperation.addOperations(to:) + 306  5   com.apple.dt.IDE.XCBuildSupport 0x0000000129002829 thunk for @escaping @callee_guaranteed () -> () + 25  6   com.apple.Foundation            0x00007fff2fcb9ac5 __NSBLOCKOPERATION_IS_CALLING_OUT_TO_A_BLOCK__ + 7  7   com.apple.Foundation            0x00007fff2fcb99e6 -[NSBlockOperation main] + 80  8   com.apple.Foundation            0x00007fff2fcb9981 __NSOPERATION_IS_INVOKING_MAIN__ + 17  9   com.apple.Foundation            0x00007fff2fcb8bb3 -[NSOperation start] + 722  10  com.apple.Foundation            0x00007fff2fcb88d9 __NSOPERATIONQUEUE_IS_STARTING_AN_OPERATION__ + 17  11  com.apple.Foundation            0x00007fff2fcb87a9 __NSOQSchedule_f + 182  12  libdispatch.dylib               0x00007fff675ef2b9 _dispatch_block_async_invoke2 + 83  13  libdispatch.dylib               0x00007fff675e3658 _dispatch_client_callout + 8  14  libdispatch.dylib               0x00007fff675e5818 _dispatch_continuation_pop + 414  15  libdispatch.dylib               0x00007fff675e4f16 _dispatch_async_redirect_invoke + 703  16  libdispatch.dylib               0x00007fff675f1957 _dispatch_root_queue_drain + 326  17  libdispatch.dylib               0x00007fff675f2097 _dispatch_worker_thread2 + 92  18  libsystem_pthread.dylib         0x00007fff6783d9f7 _pthread_wqthread + 220  19  libsystem_pthread.dylib         0x00007fff6783cb77 start_wqthread + 15    Thread 4:  0   libsystem_pthread.dylib         0x00007fff6783cb68 start_wqthread + 0    Thread 5:  0   libsystem_pthread.dylib         0x00007fff6783cb68 start_wqthread + 0    Thread 6:: Dispatch queue: -[IDEExecutionEnvironment initWithWorkspaceArena:] (QOS: UNSPECIFIED)  0   libsystem_kernel.dylib          0x00007fff67780882 __psynch_cvwait + 10  1   libsystem_pthread.dylib         0x00007fff67841425 _pthread_cond_wait + 698  2   com.apple.Foundation            0x00007fff2fcc8ecb -[NSOperation waitUntilFinished] + 697  3   com.apple.Foundation            0x00007fff2fe5b270 __NSOPERATIONQUEUE_IS_WAITING_ON_AN_OPERATION__ + 17  4   com.apple.Foundation            0x00007fff2fd87df0 -[NSOperationQueue waitUntilAllOperationsAreFinished] + 229  5   com.apple.dt.IDEFoundation      0x000000010352738f __61-[IDEScheme _groupAndImposeDependenciesForOrderedOperations:]_block_invoke + 10  6   com.apple.dt.DVTFoundation      0x000000010280bf2d __DVTOPERATIONGROUP_CREATED_BY_CALLEE_IS_WAITING_ON_SUBOPERATIONS__ + 164  7   com.apple.dt.DVTFoundation      0x000000010280c196 -[DVTOperationGroup main] + 69  8   com.apple.Foundation            0x00007fff2fcb9981 __NSOPERATION_IS_INVOKING_MAIN__ + 17  9   com.apple.Foundation            0x00007fff2fcb8bb3 -[NSOperation start] + 722  10  com.apple.dt.DVTFoundation      0x000000010280c146 -[DVTOperationGroup start] + 113  11  com.apple.Foundation            0x00007fff2fcb88d9 __NSOPERATIONQUEUE_IS_STARTING_AN_OPERATION__ + 17  12  com.apple.Foundation            0x00007fff2fcb87a9 __NSOQSchedule_f + 182  13  libdispatch.dylib               0x00007fff675ef2b9 _dispatch_block_async_invoke2 + 83  14  libdispatch.dylib               0x00007fff675e3658 _dispatch_client_callout + 8  15  libdispatch.dylib               0x00007fff675e5818 _dispatch_continuation_pop + 414  16  libdispatch.dylib               0x00007fff675e4f16 _dispatch_async_redirect_invoke + 703  17  libdispatch.dylib               0x00007fff675f1957 _dispatch_root_queue_drain + 326  18  libdispatch.dylib               0x00007fff675f2097 _dispatch_worker_thread2 + 92  19  libsystem_pthread.dylib         0x00007fff6783d9f7 _pthread_wqthread + 220  20  libsystem_pthread.dylib         0x00007fff6783cb77 start_wqthread + 15    Thread 7:  0   libsystem_pthread.dylib         0x00007fff6783cb68 start_wqthread + 0    Thread 8:: Dispatch queue: NSOperationQueue 0x7fe80b4709b0 (QOS: UNSPECIFIED)  0   libsystem_kernel.dylib          0x00007fff67780882 __psynch_cvwait + 10  1   libsystem_pthread.dylib         0x00007fff67841425 _pthread_cond_wait + 698  2   com.apple.Foundation            0x00007fff2fcc8ecb -[NSOperation waitUntilFinished] + 697  3   com.apple.Foundation            0x00007fff2fe5b270 __NSOPERATIONQUEUE_IS_WAITING_ON_AN_OPERATION__ + 17  4   com.apple.Foundation            0x00007fff2fd87df0 -[NSOperationQueue waitUntilAllOperationsAreFinished] + 229  5   com.apple.dt.IDEFoundation      0x00000001035a0c2f __75-[IDEBuildOperationGroup initWithBuildOperations:otherOperations:buildLog:]_block_invoke + 10  6   com.apple.dt.DVTFoundation      0x000000010280bf2d __DVTOPERATIONGROUP_CREATED_BY_CALLEE_IS_WAITING_ON_SUBOPERATIONS__ + 164  7   com.apple.dt.DVTFoundation      0x000000010280c196 -[DVTOperationGroup main] + 69  8   com.apple.Foundation            0x00007fff2fcb9981 __NSOPERATION_IS_INVOKING_MAIN__ + 17  9   com.apple.Foundation            0x00007fff2fcb8bb3 -[NSOperation start] + 722  10  com.apple.dt.DVTFoundation      0x000000010280c146 -[DVTOperationGroup start] + 113  11  com.apple.Foundation            0x00007fff2fcb88d9 __NSOPERATIONQUEUE_IS_STARTING_AN_OPERATION__ + 17  12  com.apple.Foundation            0x00007fff2fcb87a9 __NSOQSchedule_f + 182  13  libdispatch.dylib               0x00007fff675ef2b9 _dispatch_block_async_invoke2 + 83  14  libdispatch.dylib               0x00007fff675e3658 _dispatch_client_callout + 8  15  libdispatch.dylib               0x00007fff675e5818 _dispatch_continuation_pop + 414  16  libdispatch.dylib               0x00007fff675e4f16 _dispatch_async_redirect_invoke + 703  17  libdispatch.dylib               0x00007fff675f1957 _dispatch_root_queue_drain + 326  18  libdispatch.dylib               0x00007fff675f2097 _dispatch_worker_thread2 + 92  19  libsystem_pthread.dylib         0x00007fff6783d9f7 _pthread_wqthread + 220  20  libsystem_pthread.dylib         0x00007fff6783cb77 start_wqthread + 15    Thread 9:  0   libsystem_kernel.dylib          0x00007fff6777ddfa mach_msg_trap + 10  1   libsystem_kernel.dylib          0x00007fff6777e170 mach_msg + 60  2   com.apple.CoreFoundation        0x00007fff2d641f85 __CFRunLoopServiceMachPort + 247  3   com.apple.CoreFoundation        0x00007fff2d640a52 __CFRunLoopRun + 1319  4   com.apple.CoreFoundation        0x00007fff2d63fece CFRunLoopRunSpecific + 462  5   com.apple.Foundation            0x00007fff2fcd81c8 -[NSRunLoop(NSRunLoop) runMode:beforeDate:] + 212  6   com.apple.DTDeviceKitBase       0x000000011acd844e +[DTDKRemoteDeviceConnection startServiceBrowsers] + 204  7   com.apple.Foundation            0x00007fff2fcd07a2 __NSThread__start__ + 1064  8   libsystem_pthread.dylib         0x00007fff67841109 _pthread_start + 148  9   libsystem_pthread.dylib         0x00007fff6783cb8b thread_start + 15    Thread 10:  0   libsystem_kernel.dylib          0x00007fff6777ddfa mach_msg_trap + 10  1   libsystem_kernel.dylib          0x00007fff6777e170 mach_msg + 60  2   com.apple.CoreFoundation        0x00007fff2d641f85 __CFRunLoopServiceMachPort + 247  3   com.apple.CoreFoundation        0x00007fff2d640a52 __CFRunLoopRun + 1319  4   com.apple.CoreFoundation        0x00007fff2d63fece CFRunLoopRunSpecific + 462  5   com.apple.Foundation            0x00007fff2fcd81c8 -[NSRunLoop(NSRunLoop) runMode:beforeDate:] + 212  6   com.apple.DTDeviceKitBase       0x000000011ace5f7d -[DTDKRemoteDeviceDataListener listenerThreadImplementation] + 636  7   com.apple.Foundation            0x00007fff2fcd07a2 __NSThread__start__ + 1064  8   libsystem_pthread.dylib         0x00007fff67841109 _pthread_start + 148  9   libsystem_pthread.dylib         0x00007fff6783cb8b thread_start + 15    Thread 11:: com.apple.CFSocket.private  0   libsystem_kernel.dylib          0x00007fff677860fe __select + 10  1   com.apple.CoreFoundation        0x00007fff2d66ace3 __CFSocketManager + 641  2   libsystem_pthread.dylib         0x00007fff67841109 _pthread_start + 148  3   libsystem_pthread.dylib         0x00007fff6783cb8b thread_start + 15    Thread 12:: JavaScriptCore bmalloc scavenger  0   libsystem_kernel.dylib          0x00007fff67780882 __psynch_cvwait + 10  1   libsystem_pthread.dylib         0x00007fff67841425 _pthread_cond_wait + 698  2   libc++.1.dylib                  0x00007fff64910592 std::__1::condition_variable::wait(std::__1::unique_lock<std::__1::mutex>&) + 18  3   com.apple.JavaScriptCore        0x00007fff31e3c224 void std::__1::condition_variable_any::wait<std::__1::unique_lock<bmalloc::Mutex> >(std::__1::unique_lock<bmalloc::Mutex>&) + 84  4   com.apple.JavaScriptCore        0x00007fff31e40a2b bmalloc::Scavenger::threadRunLoop() + 299  5   com.apple.JavaScriptCore        0x00007fff31e405f9 bmalloc::Scavenger::threadEntryPoint(bmalloc::Scavenger*) + 9  6   com.apple.JavaScriptCore        0x00007fff31e42cd7 void* std::__1::__thread_proxy<std::__1::tuple<std::__1::unique_ptr<std::__1::__thread_struct, std::__1::default_delete<std::__1::__thread_struct> >, void (*)(bmalloc::Scavenger*), bmalloc::Scavenger*> >(void*) + 39  7   libsystem_pthread.dylib         0x00007fff67841109 _pthread_start + 148  8   libsystem_pthread.dylib         0x00007fff6783cb8b thread_start + 15    Thread 13:: com.apple.NSEventThread  0   libsystem_kernel.dylib          0x00007fff6777ddfa mach_msg_trap + 10  1   libsystem_kernel.dylib          0x00007fff6777e170 mach_msg + 60  2   com.apple.CoreFoundation        0x00007fff2d641f85 __CFRunLoopServiceMachPort + 247  3   com.apple.CoreFoundation        0x00007fff2d640a52 __CFRunLoopRun + 1319  4   com.apple.CoreFoundation        0x00007fff2d63fece CFRunLoopRunSpecific + 462  5   com.apple.AppKit                0x00007fff2aa58144 _NSEventThread + 132  6   libsystem_pthread.dylib         0x00007fff67841109 _pthread_start + 148  7   libsystem_pthread.dylib         0x00007fff6783cb8b thread_start + 15    Thread 14:: Dispatch queue: NSOperationQueue 0x7fe80b46bfb0 (QOS: UNSPECIFIED)  0   libsystem_kernel.dylib          0x00007fff67780882 __psynch_cvwait + 10  1   libsystem_pthread.dylib         0x00007fff67841425 _pthread_cond_wait + 698  2   com.apple.Foundation            0x00007fff2fcc8ecb -[NSOperation waitUntilFinished] + 697  3   com.apple.Foundation            0x00007fff2fe5b270 __NSOPERATIONQUEUE_IS_WAITING_ON_AN_OPERATION__ + 17  4   com.apple.Foundation            0x00007fff2fd87df0 -[NSOperationQueue waitUntilAllOperationsAreFinished] + 229  5   com.apple.dt.IDEFoundation      0x00000001035a0c3b __75-[IDEBuildOperationGroup initWithBuildOperations:otherOperations:buildLog:]_block_invoke_2 + 10  6   com.apple.dt.DVTFoundation      0x000000010280bf2d __DVTOPERATIONGROUP_CREATED_BY_CALLEE_IS_WAITING_ON_SUBOPERATIONS__ + 164  7   com.apple.dt.DVTFoundation      0x000000010280c196 -[DVTOperationGroup main] + 69  8   com.apple.Foundation            0x00007fff2fcb9981 __NSOPERATION_IS_INVOKING_MAIN__ + 17  9   com.apple.Foundation            0x00007fff2fcb8bb3 -[NSOperation start] + 722  10  com.apple.dt.DVTFoundation      0x000000010280c146 -[DVTOperationGroup start] + 113  11  com.apple.Foundation            0x00007fff2fcb88d9 __NSOPERATIONQUEUE_IS_STARTING_AN_OPERATION__ + 17  12  com.apple.Foundation            0x00007fff2fcb87a9 __NSOQSchedule_f + 182  13  libdispatch.dylib               0x00007fff675ef2b9 _dispatch_block_async_invoke2 + 83  14  libdispatch.dylib               0x00007fff675e3658 _dispatch_client_callout + 8  15  libdispatch.dylib               0x00007fff675e5818 _dispatch_continuation_pop + 414  16  libdispatch.dylib               0x00007fff675e4f16 _dispatch_async_redirect_invoke + 703  17  libdispatch.dylib               0x00007fff675f1957 _dispatch_root_queue_drain + 326  18  libdispatch.dylib               0x00007fff675f2097 _dispatch_worker_thread2 + 92  19  libsystem_pthread.dylib         0x00007fff6783d9f7 _pthread_wqthread + 220  20  libsystem_pthread.dylib         0x00007fff6783cb77 start_wqthread + 15    Thread 15:  0   libsystem_pthread.dylib         0x00007fff6783cb68 start_wqthread + 0    Thread 16:: DYMobileDeviceManager  0   libsystem_kernel.dylib          0x00007fff6777ddfa mach_msg_trap + 10  1   libsystem_kernel.dylib          0x00007fff6777e170 mach_msg + 60  2   com.apple.CoreFoundation        0x00007fff2d641f85 __CFRunLoopServiceMachPort + 247  3   com.apple.CoreFoundation        0x00007fff2d640a52 __CFRunLoopRun + 1319  4   com.apple.CoreFoundation        0x00007fff2d63fece CFRunLoopRunSpecific + 462  5   com.apple.Foundation            0x00007fff2fcd81c8 -[NSRunLoop(NSRunLoop) runMode:beforeDate:] + 212  6   com.apple.Foundation            0x00007fff2fd8ac6f -[NSRunLoop(NSRunLoop) run] + 76  7   com.apple.GPUToolsMobileFoundation  0x00000001205245a9 -[DYMobileDeviceManager _deviceNotificationThread:] + 126  8   com.apple.Foundation            0x00007fff2fcd07a2 __NSThread__start__ + 1064  9   libsystem_pthread.dylib         0x00007fff67841109 _pthread_start + 148  10  libsystem_pthread.dylib         0x00007fff6783cb8b thread_start + 15    Thread 17:  0   libsystem_kernel.dylib          0x00007fff6777ddfa mach_msg_trap + 10  1   libsystem_kernel.dylib          0x00007fff6777e170 mach_msg + 60  2   com.apple.CoreFoundation        0x00007fff2d641f85 __CFRunLoopServiceMachPort + 247  3   com.apple.CoreFoundation        0x00007fff2d640a52 __CFRunLoopRun + 1319  4   com.apple.CoreFoundation        0x00007fff2d63fece CFRunLoopRunSpecific + 462  5   com.apple.CoreFoundation        0x00007fff2d6c8519 CFRunLoopRun + 40  6   libSwiftPM.dylib                0x000000012479e146 closure #1 in FSEventStream.start() + 262  7   libSwiftPM.dylib                0x000000012461c7a2 closure #1 in Thread.init(task:) + 146  8   libSwiftPM.dylib                0x000000012461c8f9 thunk for @escaping @callee_guaranteed () -> () + 25  9   libSwiftPM.dylib                0x000000012461c8be @objc ThreadImpl.main() + 46  10  com.apple.Foundation            0x00007fff2fcd07a2 __NSThread__start__ + 1064  11  libsystem_pthread.dylib         0x00007fff67841109 _pthread_start + 148  12  libsystem_pthread.dylib         0x00007fff6783cb8b thread_start + 15    Thread 18:  0   libsystem_pthread.dylib         0x00007fff6783cb68 start_wqthread + 0    Thread 19:: Dispatch queue: Working Copy Cached Location Queue (QOS: UTILITY)  0   libsystem_kernel.dylib          0x00007fff6777de36 semaphore_wait_trap + 10  1   libdispatch.dylib               0x00007fff675e3aed _dispatch_sema4_wait + 16  2   libdispatch.dylib               0x00007fff675e3fbf _dispatch_semaphore_wait_slow + 98  3   com.apple.dt.Xcode.DVTSourceControl 0x000000010f04d5d3 __52-[DVTSourceControlWorkingCopy updateCachedLocations]_block_invoke + 141  4   com.apple.Foundation            0x00007fff2fcb9ac5 __NSBLOCKOPERATION_IS_CALLING_OUT_TO_A_BLOCK__ + 7  5   com.apple.Foundation            0x00007fff2fcb99e6 -[NSBlockOperation main] + 80  6   com.apple.Foundation            0x00007fff2fcb9981 __NSOPERATION_IS_INVOKING_MAIN__ + 17  7   com.apple.Foundation            0x00007fff2fcb8bb3 -[NSOperation start] + 722  8   com.apple.Foundation            0x00007fff2fcb88d9 __NSOPERATIONQUEUE_IS_STARTING_AN_OPERATION__ + 17  9   com.apple.Foundation            0x00007fff2fcb87a9 __NSOQSchedule_f + 182  10  libdispatch.dylib               0x00007fff675ef2b9 _dispatch_block_async_invoke2 + 83  11  libdispatch.dylib               0x00007fff675e3658 _dispatch_client_callout + 8  12  libdispatch.dylib               0x00007fff675e5818 _dispatch_continuation_pop + 414  13  libdispatch.dylib               0x00007fff675e4f16 _dispatch_async_redirect_invoke + 703  14  libdispatch.dylib               0x00007fff675f1957 _dispatch_root_queue_drain + 326  15  libdispatch.dylib               0x00007fff675f2097 _dispatch_worker_thread2 + 92  16  libsystem_pthread.dylib         0x00007fff6783d9f7 _pthread_wqthread + 220  17  libsystem_pthread.dylib         0x00007fff6783cb77 start_wqthread + 15    Thread 20:  0   libsystem_pthread.dylib         0x00007fff6783cb68 start_wqthread + 0    Thread 21:  0   libsystem_pthread.dylib         0x00007fff6783cb68 start_wqthread + 0    Thread 22:  0   libsystem_pthread.dylib         0x00007fff6783cb68 start_wqthread + 0    Thread 23:  0   libsystem_pthread.dylib         0x00007fff6783cb68 start_wqthread + 0    Thread 24:  0   libsystem_pthread.dylib         0x00007fff6783cb68 start_wqthread + 0    Thread 25:: Dispatch queue: IDE Source Control File Path Processesing Queue  0   libsystem_kernel.dylib          0x00007fff6777e672 __getattrlist + 10  1   com.apple.Foundation            0x00007fff2fc7caa7 _NSResolveSymlinksInPathUsingCache + 1009  2   com.apple.Foundation            0x00007fff2fc7c56b -[NSString(NSPathUtilities) _stringByResolvingSymlinksInPathUsingCache:] + 155  3   com.apple.dt.IDEFoundation      0x00000001035b7f30 __64-[IDESourceControlWorkspaceMonitor addWorkspaceFilePathToCheck:]_block_invoke + 280  4   com.apple.dt.DVTFoundation      0x00000001029803ba __DVT_CALLING_CLIENT_BLOCK__ + 7  5   com.apple.dt.DVTFoundation      0x0000000102981a92 __DVTDispatchAsync_block_invoke + 809  6   libdispatch.dylib               0x00007fff675e26c4 _dispatch_call_block_and_release + 12  7   libdispatch.dylib               0x00007fff675e3658 _dispatch_client_callout + 8  8   libdispatch.dylib               0x00007fff675e8c44 _dispatch_lane_serial_drain + 597  9   libdispatch.dylib               0x00007fff675e95d6 _dispatch_lane_invoke + 363  10  libdispatch.dylib               0x00007fff675f2c09 _dispatch_workloop_worker_thread + 596  11  libsystem_pthread.dylib         0x00007fff6783da3d _pthread_wqthread + 290  12  libsystem_pthread.dylib         0x00007fff6783cb77 start_wqthread + 15    Thread 26:: Dispatch queue: IDE Source Control Fetch File Reference Status Processing Queue (QOS: BACKGROUND)  0   libsystem_kernel.dylib          0x00007fff6777de4e semaphore_timedwait_trap + 10  1   libdispatch.dylib               0x00007fff675e3b6b _dispatch_sema4_timedwait + 76  2   libdispatch.dylib               0x00007fff675e3f97 _dispatch_semaphore_wait_slow + 58  3   com.apple.dt.IDEFoundation      0x000000010328dd79 __91-[IDESourceControlWorkingTree _updateStatus:forceAuthentication:workspace:completionBlock:]_block_invoke_2 + 807  4   com.apple.dt.DVTFoundation      0x0000000102952375 -[DVTOperation main] + 287  5   com.apple.Foundation            0x00007fff2fcb9981 __NSOPERATION_IS_INVOKING_MAIN__ + 17  6   com.apple.Foundation            0x00007fff2fcb8bb3 -[NSOperation start] + 722  7   com.apple.Foundation            0x00007fff2fcb88d9 __NSOPERATIONQUEUE_IS_STARTING_AN_OPERATION__ + 17  8   com.apple.Foundation            0x00007fff2fcb87a9 __NSOQSchedule_f + 182  9   libdispatch.dylib               0x00007fff675e26c4 _dispatch_call_block_and_release + 12  10  libdispatch.dylib               0x00007fff675e3658 _dispatch_client_callout + 8  11  libdispatch.dylib               0x00007fff675e5818 _dispatch_continuation_pop + 414  12  libdispatch.dylib               0x00007fff675e4f16 _dispatch_async_redirect_invoke + 703  13  libdispatch.dylib               0x00007fff675f1957 _dispatch_root_queue_drain + 326  14  libdispatch.dylib               0x00007fff675f2097 _dispatch_worker_thread2 + 92  15  libsystem_pthread.dylib         0x00007fff6783d9f7 _pthread_wqthread + 220  16  libsystem_pthread.dylib         0x00007fff6783cb77 start_wqthread + 15    Thread 27:  0   libsystem_pthread.dylib         0x00007fff6783cb68 start_wqthread + 0    Thread 28 Crashed:: Dispatch queue: Diff queue for DVTDiffContext <0x7fe80b26e9a0>  0   com.apple.CoreFoundation        0x00007fff2d5cddcb __CFStrConvertBytesToUnicode + 23  1   com.apple.CoreFoundation        0x00007fff2d5d4633 _CFStringCheckAndGetCharacters + 128  2   com.apple.CoreFoundation        0x00007fff2d5d4594 -[__NSCFString getCharacters:range:] + 30  3   com.apple.dt.DVTFoundation      0x00000001027d05df __FNVHash_block_invoke + 229  4   com.apple.dt.DVTFoundation      0x00000001027d04bb FNVHash + 364  5   com.apple.dt.DVTFoundation      0x00000001027d001b -[DVTDiffContextOperation _buildDiffDescriptors] + 958  6   com.apple.dt.DVTFoundation      0x00000001027cf88e -[DVTDiffContextOperation main] + 734  7   com.apple.Foundation            0x00007fff2fcb9981 __NSOPERATION_IS_INVOKING_MAIN__ + 17  8   com.apple.Foundation            0x00007fff2fcb8bb3 -[NSOperation start] + 722  9   com.apple.Foundation            0x00007fff2fcb88d9 __NSOPERATIONQUEUE_IS_STARTING_AN_OPERATION__ + 17  10  com.apple.Foundation            0x00007fff2fcb87a9 __NSOQSchedule_f + 182  11  libdispatch.dylib               0x00007fff675e26c4 _dispatch_call_block_and_release + 12  12  libdispatch.dylib               0x00007fff675e3658 _dispatch_client_callout + 8  13  libdispatch.dylib               0x00007fff675e8c44 _dispatch_lane_serial_drain + 597  14  libdispatch.dylib               0x00007fff675e95d6 _dispatch_lane_invoke + 363  15  libdispatch.dylib               0x00007fff675f2c09 _dispatch_workloop_worker_thread + 596  16  libsystem_pthread.dylib         0x00007fff6783da3d _pthread_wqthread + 290  17  libsystem_pthread.dylib         0x00007fff6783cb77 start_wqthread + 15    Thread 29:  0   libsystem_pthread.dylib         0x00007fff6783cb68 start_wqthread + 0    Thread 30:  0   libsystem_pthread.dylib         0x00007fff6783cb68 start_wqthread + 0    Thread 31:  0   libsystem_pthread.dylib         0x00007fff6783cb68 start_wqthread + 0    Thread 32:  0   libsystem_pthread.dylib         0x00007fff6783cb68 start_wqthread + 0    Thread 28 crashed with X86 Thread State (64-bit):    rax: 0x00000000000132b0  rbx: 0x00007fe815500000  rcx: 0x0000000000000066  rdx: 0x0000000000117d76    rdi: 0x00007fe815500018  rsi: 0x00007000033d9aa0  rbp: 0x00007000033d9a70  rsp: 0x00007000033d9a68     r8: 0x00007fff84fc23a0   r9: 0x0000000000117d76  r10: 0x0000000000117d76  r11: 0x00007fff2d5d4576    r12: 0x00007fe815500000  r13: 0x0000000000117d76  r14: 0x00007fff7194908d  r15: 0x00007fe80d2859b0    rip: 0x00007fff2d5cddcb  rfl: 0x0000000000010206  cr2: 0x0000700003400000      Logical CPU:     6  Error Code:      0x00000006 (no mapping for user data write)  Trap Number:     14      Binary Images:         0x102666000 -        0x102668fff  com.apple.dt.Xcode (11.2.1 - 15526.1) <615B5CCD-2B93-3F76-826B-8205D032D0E1> /Applications/Xcode.app/Contents/MacOS/Xcode         0x102671000 -        0x102699fff  com.apple.dt.DVTCocoaAdditionsKit (11.2.1 - 15513) <DBA5A0F1-54DE-3CC0-89EA-4E33075A0253> /Applications/Xcode.app/Contents/SharedFrameworks/DVTCocoaAdditionsKit.framework/Versions/A/DVTCocoaAdditionsKit         0x1026c1000 -        0x102cc0ff7  com.apple.dt.DVTFoundation (11.2.1 - 15513) <E922EEB1-FDC0-3233-93DF-195446D2DAD4> /Applications/Xcode.app/Contents/SharedFrameworks/DVTFoundation.framework/Versions/A/DVTFoundation         0x102f78000 -        0x10311ffff  com.apple.dt.DVTKit (11.2.1 - 15513) <A0941A35-13EC-32B0-8A09-4696E758480D> /Applications/Xcode.app/Contents/SharedFrameworks/DVTKit.framework/Versions/A/DVTKit         0x10324b000 -        0x103b2ffff  com.apple.dt.IDEFoundation (11.2.1 - 15526.1) <42FBCB43-0A9E-3012-9270-6D42F08BCD14> /Applications/Xcode.app/Contents/Frameworks/IDEFoundation.framework/Versions/A/IDEFoundation         0x10422f000 -        0x104be3fff  com.apple.dt.IDEKit (11.2.1 - 15526.1) <D2BA1164-38BD-3373-8A09-17DDB8157E01> /Applications/Xcode.app/Contents/Frameworks/IDEKit.framework/Versions/A/IDEKit         0x10537e000 -        0x1053bdff3  com.apple.DebugSymbols (194 - 194) <9B2838A7-E292-3008-B7B0-4A4CCBA423F6> /Applications/Xcode.app/Contents/SharedFrameworks/DebugSymbolsDT.framework/Versions/A/DebugSymbolsDT         0x1053df000 -        0x105465ffb  com.apple.CoreSymbolicationDT (11.2.1 - 64531.4) <340FC7F4-7582-38D1-BB9E-D05B0BE241C3> /Applications/Xcode.app/Contents/SharedFrameworks/CoreSymbolicationDT.framework/Versions/A/CoreSymbolicationDT         0x1054b9000 -        0x1054b9ff7  com.apple.contentdelivery.ContentDeliveryServices (4.00 - 1181) <1C5E9577-E8B8-30FB-92DE-BB90F77EF40A> /Applications/Xcode.app/Contents/SharedFrameworks/ContentDeliveryServices.framework/Versions/A/ContentDeliveryServices         0x1054c0000 -        0x1054e7ff3  com.apple.dt.instruments.DTXConnectionServices (11.2.1 - 64531.2) <56DECC43-6C08-3086-86CA-982830D32A5D> /Applications/Xcode.app/Contents/SharedFrameworks/DTXConnectionServices.framework/Versions/A/DTXConnectionServices  

I tried to google and found this question https://stackoverflow.com/questions/34451126/xcode-crashes-on-launch and tried to delete DerivedData folder but this hasn't resolved the problem and it keeps crashing. I don't have admin credentials on my machine, so I'm severely limited in what I can change.

Do I have to reinstall XCode or is there any other solution or workaround?

New MacBook with USB-C does not recognize an older DVD drive via USB to USB-C adapter

Posted: 17 Apr 2021 02:16 PM PDT

I just got a new MacBook and a QGeeM adapter between USB and USB-C. Trying to connect an older Apple DVD drive that has the usual USB connector. The new MacBook doesn't recognize that a device has been connected.

Tried restarting MacBook, connecting QGeeM to different USB-C and the DVD drive to different USB ports of QGeeM. At some point a popup appeared that the external device needs power and should be connected to a USB port, which makes no sense because it is. Tried to chat with Apple, but they were extremely unhelpful and dropped the chat.

Please suggest how to proceed.

Does Apple save a (hashed) version of my device passwords?

Posted: 17 Apr 2021 09:53 PM PDT

As earlier described in this question, I was asked today by my iPad to enter the user account password of my MacBook, and my MacBook later asked me to provide the passcode of my iPad. I'm specifically not talking about my iCloud password, the actual device passwords were requested and this behaviour is kind of known.

Now my question is: What happens to these passwords? Are they sent over to Apple? Are they used locally to decrypt something that has been encryted with that passcode?

So is Apple in possession of data that can be used to run brute-force attacks agains my device passwords? This would be totally against the idea of the T2-chip limiting brute-force attacks and I never agreed that such information is sent over to Apple and at no point was I informed about that. I'm not sharing my KeyChain with iCloud and do not wish to.

I couldn't find any exact information on that matter, anybody shedding some light on it is highly welcomed.

Can "ld" add the rpaths automatically to an executable if it can find the needed dylibs at link time?

Posted: 17 Apr 2021 08:45 PM PDT

The question is in the title, but anyway, let me explain it a bit more:

The most accepted way for correctly defining the install name for a dylib in MacOS is by making it relative to the rpath. For example:

otool -L ./LLVM/7.0.0/lib/libomp.dylib   ./LLVM/7.0.0/lib/libomp.dylib:        @rpath/libomp.dylib (compatibility version 5.0.0, current version 5.0.0)     /usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 1238.50.2)  

Here, libomp.dylib has @rpath/libomp.dylib as its install name. So far so good.

The problem is when you create an executable linked to such a dylib. Even if you pass the correct -L/path/to/libomp.dylib flag at link time, so that ld can successfully link the executable, then you try to execute it, and obviously you get the following:

dyld: Library not loaded: @rpath/libomp.dylib    Referenced from: mydumbexecutable    Reason: image not found  Abort trap: 6  

This of course can be fixed by using install_name_tool on either the dylib (changing its install name so that it doesn't depend on the rpath, and linking the executable again, but this is not considered good practice), or, the recommended way, to use install_name_tool on the executable, adding to it the proper rpath so that the dylib can be found.

But... just wondering... isn't there a flag in ld that automatically adds the rpath for you? I mean, if ld is able to link the executable because it did find the dylibs, why cannot automatically store the proper rpath in the executable?

I understand this should be optional behaviour, as sometimes you prefer to define the rpaths yourself, but... a flag for doing it automatically would make my life a lot easier.

Can I disable pinch to show all open tabs in Safari?

Posted: 17 Apr 2021 11:49 PM PDT

Too often, when I try to move my cursor and click, or try to drag something or select text, and my two fingers end up on the trackpad at the same time, all my open tabs shrink into this view:

enter image description here

This is extremely disruptive as it makes me lose my focus and then I have to locate the page I was currently on, click it and then resume working.

I can't tell what this specific feature in Safari is called (I want to still be able to pinch to zoom in and out of a page), and couldn't find info anywhere on how to completely disable it.

Can I disable this? (or I can use another browser, obviously...)

How to convert a .pkg into an .app

Posted: 17 Apr 2021 02:34 PM PDT

Is it possible to convert a Package into an App? I have a complete installer of El Capitan as a pkg file and I need to install it. But first I need to make it an app.
I can't do it through the MAS because el Capitan is no longer available.

What programs have trouble with case-sensitive (HFSX) filesystems, and how to fix them?

Posted: 17 Apr 2021 02:57 PM PDT

There are some programs that require a case-sensitive filesystem, and others that require case-insensitive. Even though Apple warns against using case sensitive file systems, in some situations it is useful.

What programs have trouble with Case Sensitive (HFSX) systems?

What are the work-arounds?

In general, the problem is that the developers have a file in their app called FOO, but try to access the file by the name foo. In an HFS+ system that is case preserving but case insensitive, searching for foo will find FOO. That is not the case in HFSX. The general solution is therefore to

  1. Find the misnamed file or folder
  2. Make a copy, a link, or rename so the expected name is found

No comments:

Post a Comment