r/Xcode 2d ago

Git constantly needing to reinstall and Xcode instant crashing

After my macbook updated to macos 26.6.2 it started going insane on the developer side. First it would say Git and other dev tools would need to install, but after install and restart of device it would say it again. Manually setting the destination for Git to the specific Xcode path worked though. Then I tried opening Xcode and it would insta-crash, but after a while it stopped sending crash reports. The crash report was always "Error loading required libraries. If there is an ongoing installation please wait for it to complete. Otherwise reinstall. (dlopen(@rpath/Frameworks/libIDEApplicationLoader.dylib, 0x0001): Symbol not found: _XPCTypeBool

  Referenced from: <ADF86974-DE00-31C0-B4E0-15DF98AE0956> /Library/Developer/PrivateFrameworks/CoreDevice.framework/Versions/A/CoreDevice

  Expected in:     <781B8B5D-634D-3B6B-82FB-9080774ECF61> /Library/Apple/System/Library/PrivateFrameworks/Mercury.framework/Versions/A/Mercury)

zsh: abort      /Applications/Xcode.app/Contents/MacOS/Xcode". Then the mac said it had an update for Xcode in software updates but it also downloaded and forgot it downloaded. After restart the updates were gone and it says it was up to date. I tried reinstalling Xcode and reinstalling macos, but nothing worked. Do I just need to wipe the computer? (It is an used M1 macbook)

2 Upvotes

3 comments sorted by

1

u/Icy_Preference3336 1d ago

I’d avoid wiping it yet. the library mismatch sounds more like a broken Xcode or system framework state so i’d exhaust recovery and reinstall options first

1

u/PoemOver 11h ago

i'm getting the same error, let me know if you find a fix