A problem occurred which prevent the building of the project on Ventura 13.2 Xcode 14.2 on M1. It produced the following error output. It is possible the last execution overran the memory area and corrupted the build tools.
dyld[10634]: dyld cache '(null)' not loaded: syscall to map cache into shared region failed dyld[10634]: Library not loaded: /usr/lib/libSystem.B.dylib Referenced from: /Users/chuckh/Library/Developer/Xcode/DerivedData/antennasimulation-djqokhnfxqjiphelcizvshqlprik/Build/Products/Debug/antennasimulation Reason: tried: '/Users/chuckh/Library/Developer/Xcode/DerivedData/antennasimulation-djqokhnfxqjiphelcizvshqlprik/Build/Products/Debug/libSystem.B.dylib' (no such file), '/usr/lib/system/introspection/libSystem.B.dylib' (no such file, no dyld cache), '/usr/lib/libSystem.B.dylib' (no such file), '/System/Volumes/Preboot/Cryptexes/OS/usr/lib/libSystem.B.dylib' (no such file), '/usr/lib/libSystem.B.dylib' (no such file, no dyld cache), '/usr/local/lib/libSystem.B.dylib' (no such file) (lldb)
From the support page: Uninstall Xcode. Drag xcode.app into Trash. Open terminal. type: cd /Library/. Type sudo rm -rf Developer/. Got the following output from the terminal window.
chuckh@Windom2 /Library % sudo rm -rf Developer Password: rm: Developer/CoreSimulator/Images/Inbox: Operation not permitted rm: Developer/CoreSimulator/Images/images.plist: Operation not permitted rm: Developer/CoreSimulator/Images/mnt: Operation not permitted rm: Developer/CoreSimulator/Images: Operation not permitted rm: Developer/CoreSimulator/Volumes: Operation not permitted rm: Developer/CoreSimulator/Caches: Operation not permitted rm: Developer/CoreSimulator: Operation not permitted rm: Developer: Operation not permitted
Didn't restore Xcode to operation after a reinstall. The code (C language) builds on a different Mac system (Intel processor). The library file libSystem.B.dylib does not exist on Mac Intel machine. How do I completely remove Xcode and restore operation on my M1?