When I use the new Xcode beta to build my app it crashes on launch when using iOS 15.5. However if I use a device using the iOS 16 beta it works as expected.
The error I'm getting is the following.
dyld[11076]: Symbol not found: _$sSo26UIContextMenuConfigurationC5UIKitE10identifier15previewProvider06actionG0ABSo9NSCopying_pSg_So16UIViewControllerCSgycSgSo6UIMenuCSgSaySo0L7ElementCGcSgtcfC
Referenced from: /private/var/containers/Bundle/Application/89EF89C9-3922-4E6C-BA00-0241894841B8/SomeApp.app/SomeApp
Expected in: /usr/lib/swift/libswiftUIKit.dylib
Symbol not found: _$sSo26UIContextMenuConfigurationC5UIKitE10identifier15previewProvider06actionG0ABSo9NSCopying_pSg_So16UIViewControllerCSgycSgSo6UIMenuCSgSaySo0L7ElementCGcSgtcfC
Referenced from: /private/var/containers/Bundle/Application/89EF89C9-3922-4E6C-BA00-0241894841B8/SomeApp.app/SomeApp
Expected in: /usr/lib/swift/libswiftUIKit.dylib
(lldb)
Is it missing some libraries? If I use the stable Xcode 13 Version it works as intended.
I know this is still beta but I'm wondering if anyone else is having this problem or am I missing something?