In XCode 15 Beta, sample app runds fine on simulator but when i run it on my MacProo, It throw following error and
dyld[24496]: Symbol not found: _$s21DeveloperToolsSupport17UVPreviewRegistryCMn
Referenced from: /Users/yhyq/Library/Developer/Xcode/DerivedData/DeployTest-egtmabxxlwwfbwgbdfjebghqgrjp/Build/Products/Debug/DeployTest.app/Contents/MacOS/DeployTest
Expected in: /System/Library/Frameworks/DeveloperToolsSupport.framework/Versions/A/DeveloperToolsSupport
2
Answers
This is an error that your xcode and ios beta version not matching.
I had this exact issue recently when I updated my iphone to ios 17 beta 3 but didn’t upgrade xcode 15 beta.
After updating to the latest xcode 15 beta 4, the problem gone now.
Easily remove
from your code