IOs simulator Vs my personal iPhone

hi everyone does anyone understand this issues below ? What to do or change in my code when this appear my code is over more than 20 swift file I don't know which one to share lol

dyld[1060]: Symbol not found: _$s21DeveloperToolsSupport17UVPreviewRegistryCMn Referenced from: <AACCE16D-8188-3EA3-AB9D-92D361A00D3A> /private/var/containers/Bundle/Application/ACD0F0D4-CAF4-4101-BFC0-3990E29F316E/MyPmV1.app/MyPmV1 Expected in: <D12C944E-D705-3DDF-90C6-5619BCD328E3> /System/Library/Frameworks/DeveloperToolsSupport.framework/DeveloperToolsSupport

Answered by SGSHARPSEB in 779612022

Fix my own issues thanks to some website in Bing.com, Issues is that #PREVIEW is not supported.

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

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

hi team,

i actually try a simple project and it’s the same things the hello world’proje t doesn’t even lunch on my phone while no issues on simulator or canvas.

issues is similar as above just dofferent random number but similar text and localtion of missing data

Hi Team,

actually it has nothing to do with my app it's more a general issues as I try to make a simple new project and the issues appear again with similar code :

dyld[885]: Symbol not found: _$s21DeveloperToolsSupport17UVPreviewRegistryCMn
  Referenced from: <BED326A9-79E3-3602-8514-8197FB91ACE5> /private/var/containers/Bundle/Application/DEB6506D-CB33-4B47-B9B7-93D3267FC912/testingmydevice.app/testingmydevice
  Expected in:     <D12C944E-D705-3DDF-90C6-5619BCD328E3> /System/Library/Frameworks/DeveloperToolsSupport.framework/DeveloperToolsSupport
dyld`:
    0x1b89c7e88 <+0>:  mov    x16, #0x209
    0x1b89c7e8c <+4>:  svc    #0x80
->  0x1b89c7e90 <+8>:  b.lo   0x1b89c7eb0               ; <+40>
    0x1b89c7e94 <+12>: pacibsp 
    0x1b89c7e98 <+16>: stp    x29, x30, [sp, #-0x10]!
    0x1b89c7e9c <+20>: mov    x29, sp
    0x1b89c7ea0 <+24>: bl     0x1b8974730               ; cerror_nocancel
    0x1b89c7ea4 <+28>: mov    sp, x29
    0x1b89c7ea8 <+32>: ldp    x29, x30, [sp], #0x10
    0x1b89c7eac <+36>: retab  
    0x1b89c7eb0 <+40>: ret    
Accepted Answer

Fix my own issues thanks to some website in Bing.com, Issues is that #PREVIEW is not supported.

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

struct ContentView_Previews: PreviewProvider {
    static var previews: some View {
        ContentView()
    }
}
IOs simulator Vs my personal iPhone
 
 
Q