4

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

shoji
  • 103
  • 3

2 Answers2

0

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.

Qiquan Lu
  • 615
  • 1
  • 5
  • 10
0

Easily remove

#Preview {
    ContentView()
}

from your code

闪电狮
  • 367
  • 2
  • 9