I'm trying to run a simple C++ script, but for some reason I keep getting an error. Where /usr/lib/libc++.1.dylib cannot be found. Specifically,
dyld[2012]: dyld cache '(null)' not loaded: syscall to map cache into shared region failed
dyld[2012]: Library not loaded: /usr/lib/libc++.1.dylib
Reason: tried: '/usr/lib/libc++.1.dylib' (no such file), '/System/Volumes/Preboot/Cryptexes/OS/usr/lib/libc++.1.dylib' (no such file), '/usr/lib/libc++.1.dylib' (no such file, no dyld cache)
I tried reinstalling Xcode with no success. Can I get some help?
syscall to map cache into shared region failed
Hmmm, that’s a concern. There are a number of potential causes for this failure. I talk about one of them in this post.
I recommend that you test your setup with a trivial program, as explained in Investigating Third-Party IDE Integration Problems. Does it exhibit the same problem?
Share and Enjoy
—
Quinn “The Eskimo!” @ Developer Technical Support @ Apple
let myEmail = "eskimo" + "1" + "@" + "apple.com"