I just installed XCode from the app store after purchase of my 2021 Macbook Pro. Monterey came installed on it, but nothing I do can get the application to display the preview. i have started new apps, i uninstalled Xcode and the simulator and reinstalled several times. This just hangs...
No sense in starting development if this does not work.
Post
Replies
Boosts
Views
Activity
I have tried everything to get Xcode 13.1 to work on my new Macbook Pro 2021 running Monterey 12.0.1. Previews just will not work.
I have submitted the report. I have uninstalled and reinstalled Xcode.. I have tried different simulators. NOTHING works.
The simulator builds fine, but the preview does not work.
Any ideas?
`== DATE:
Saturday, November 6, 2021 at 9:57:29 AM Eastern Daylight Time
2021-11-06T13:57:29Z
== PREVIEW UPDATE ERROR:
MessageSendFailure: Message send failure for send previewInstances message to agent
==================================
| RemoteHumanReadableError
|
| LoadingError: failed to load library at path "/Users/brandon/Library/Developer/Xcode/DerivedData/Build/Intermediates.noindex/Previews/Test3/Intermediates.noindex/Test3.build/Debug-iphonesimulator/Test3.build/Objects-normal/arm64/ContentView.2.preview-thunk.dylib": Optional(dlopen(/Users/brandon/Library/Developer/Xcode/DerivedData/Build/Intermediates.noindex/Previews/Test3/Intermediates.noindex/Test3.build/Debug-iphonesimulator/Test3.build/Objects-normal/arm64/ContentView.2.preview-thunk.dylib, 0x0002): tried: '/Users/brandon/Library/Developer/Xcode/DerivedData/Build/Intermediates.noindex/Previews/Test3/Products/Debug-iphonesimulator/ContentView.2.preview-thunk.dylib' (no such file), '/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Resources/RuntimeRoot/Users/brandon/Library/Developer/Xcode/DerivedData/Build/Intermediates.noindex/Previews/Test3/Intermediates.noindex/Test3.build/Debug-iphonesimulator/Test3.build/Objects-normal/arm64/ContentView.2.preview-thunk.dylib' (no such file), '/Users/brandon/Library/Developer/Xcode/DerivedData/Build/Intermediates.noindex/Previews/Test3/Intermediates.noindex/Test3.build/Debug-iphonesimulator/Test3.build/Objects-normal/arm64/ContentView.2.preview-thunk.dylib' (no such file), '/usr/lib/ContentView.2.preview-thunk.dylib' (no such file))
I really cannot wait until my Xcode cloud Beta comes in so I can stop this mess of dumb issues.
So I think I figured out my issue with the MBP, and it seems stupid, but I don't know how to fix it.
Ever since I installed Xcode on my new MBP it has not worked with Preview.
I get a bunch of errors that files do not exist, even though they do.
So... I think i know what the problem is finally.
When I first set up the laptop the computer set me up as brandon with a lower case b. And I reset up the user with an upper case B.
This was one of the first things i did on the computer.
But from the looks of it, capitalization is crucial.
Is there a way I can either reset this to have my capital letter recognized or do I need to reset it back to lower case?
I feel there has to be some terminal command for this.