When I launch a macOS app from within xcode that uses Core Location, the location simulation button has no effect. Moreover, I can see in Console.app that com.apple.dt.XcodeMacLocationSimulation 100% consistently crashes when I start such app from within xcode or press said button.
Console.app shows the below - consistent with the terminal output if running the command directly from there. I have tried to remove Xcode (delete Xcode.app from /Applications), reboot and reinstall from app store with no change in behavior.
Google provides only vague hints and nothing about the exact problem. Any hints as to what goes on? The /Applications/Xcode.app folder was completely empty when doing the reinstall. And all libraries referenced in the crash report seem to belong there.
The essential detail seems to be:
The missing library exists in this location on my system:
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform//Developer/iOSSupport/Library/PrivateFrameworks/DVTFoundation.framework/Versions/A/DVTFoundation
The full crash report:
Console.app shows the below - consistent with the terminal output if running the command directly from there. I have tried to remove Xcode (delete Xcode.app from /Applications), reboot and reinstall from app store with no change in behavior.
Google provides only vague hints and nothing about the exact problem. Any hints as to what goes on? The /Applications/Xcode.app folder was completely empty when doing the reinstall. And all libraries referenced in the crash report seem to belong there.
The essential detail seems to be:
Code Block Dyld Error Message: Library not loaded: @rpath/DVTFoundation.framework/Versions/A/DVTFoundation Referenced from: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/Library/Xcode/PrivatePlugIns/IDEOSXSupportCore.ideplugin/Contents/XPCServices/com.apple.dt.XcodeMacLocationSimulation.xpc/Contents/MacOS/com.apple.dt.XcodeMacLocationSimulation Reason: image not found
The missing library exists in this location on my system:
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform//Developer/iOSSupport/Library/PrivateFrameworks/DVTFoundation.framework/Versions/A/DVTFoundation
The full crash report:
Code Block Process: com.apple.dt.XcodeMacLocationSimulation [2127] Path: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/Library/Xcode/PrivatePlugIns/IDEOSXSupportCore.ideplugin/Contents/XPCServices/com.apple.dt.XcodeMacLocationSimulation.xpc/Contents/MacOS/com.apple.dt.XcodeMacLocationSimulation Identifier: com.apple.dt.XcodeMacLocationSimulation Version: 11.6 (16005) Build Info: IDEOSXSupport-16005000000000000~143 Code Type: X86-64 (Native) Parent Process: ??? [1] Responsible: Xcode [1907] User ID: 501 Date/Time: 2020-08-31 23:54:47.347 +0200 OS Version: Mac OS X 10.15.5 (19F101) Report Version: 12 Bridge OS Version: 3.0 (14Y908) Anonymous UUID: BED37D64-689E-63A4-6755-6A2BF5583EF3 Time Awake Since Boot: 1700 seconds System Integrity Protection: enabled Crashed Thread: 0 Exception Type: EXC_CRASH (SIGABRT) Exception Codes: 0x0000000000000000, 0x0000000000000000 Exception Note: EXC_CORPSE_NOTIFY Termination Reason: DYLD, [0x1] Library missing Application Specific Information: dyld: launch, loading dependent libraries Dyld Error Message: Library not loaded: @rpath/DVTFoundation.framework/Versions/A/DVTFoundation Referenced from: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/Library/Xcode/PrivatePlugIns/IDEOSXSupportCore.ideplugin/Contents/XPCServices/com.apple.dt.XcodeMacLocationSimulation.xpc/Contents/MacOS/com.apple.dt.XcodeMacLocationSimulation Reason: image not found Binary Images: 0x10f0b0000 - 0x10f0b2ffb com.apple.dt.XcodeMacLocationSimulation (11.6 - 16005) <9EB3F587-F11A-3F65-8259-029B9E377403> /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/Library/Xcode/PrivatePlugIns/IDEOSXSupportCore.ideplugin/Contents/XPCServices/com.apple.dt.XcodeMacLocationSimulation.xpc/Contents/MacOS/com.apple.dt.XcodeMacLocationSimulation 0x112680000 - 0x112711eff dyld (750.5) <E4698FBD-806A-3396-B279-E685BA37430B> /usr/lib/dyld