XCode 15 dyld[879]: Symbol not found: _$s21DeveloperToolsSupport17UVPreviewRegistryCMn

While running app on mac or ipad, i get following error dyld[879]:

Symbol not found: _$s21DeveloperToolsSupport17UVPreviewRegistryCMn Referenced from: <DBD9B44C-C3AB-3D95-AD67-F793D7FCE947> /private/var/containers/Bundle/Application/EE11D387-C205-4752-82AC-823056F5DC4F/MyApp.app/MyApp Expected in: <47E42B18-0D71-31F2-98EA-51B5CBAB1549> /System/Library/Frameworks/DeveloperToolsSupport.framework/DeveloperToolsSupport

  • Swift Data doest not work on physical devices such as MacPro or Ipad when I installed Beta 2. Even template project does not work and throw this error. How can I revert Beta 1 ?

Add a Comment

Accepted Reply

I had the same mistake.

You should update the Xcode version to «Version 15.0 beta 2 (15A5161b)».

After that everything works fine on physical devices with iOS 17.0 (21A5277h) and this error no longer occurs.

Replies

App run fine on simulators but not on MacBookPro 14 Inch and iPad ? I Don't understand beta version run only on simulators ?

  • Nope, I think it's a bug of iOS 17 Beta 2, because on Beta 1 works well.

Add a Comment

I had the same mistake.

You should update the Xcode version to «Version 15.0 beta 2 (15A5161b)».

After that everything works fine on physical devices with iOS 17.0 (21A5277h) and this error no longer occurs.

I am running Xcode 15 beta 3 and iOS 17 beta 3 and this bug still exists

Remedy is to comment out the new style preview and add the old style preview.

//#Preview {
//    ContentView()
//}

struct ContentView_Previews: PreviewProvider {
    static var previews: some View {
        ContentView()
    }
}
Add a Comment

That worked! Thanks RawMean :)

  • Same here, thanks !

Add a Comment

also for me thanks!

Thanks for the fix!

Any idea what's going on? The #Preview macro is supposed to be one of our new conveniences. Not fully baked yet? Or perhaps just a situation that crops up only on occasion?