Library not loaded when trying to install on iPhone 13 Pro with iOS 16 Beta 6

I'm trying to install on iPhone 13 Pro with iOS 16 Beta 6 (20A5349b), my app crashes with console messages.

dyld[1184]: Library not loaded: /System/Library/Frameworks/ActivityKit.framework/ActivityKit
  Referenced from: <2EE75AA2-B31B-3AD4-A394-B6947774A387> /private/var/containers/Bundle/Application/8F46559B-41D1-468E-AEC1-5CC7324E3F03/Sample.app/Sample
  Reason: tried: '/System/Library/Frameworks/ActivityKit.framework/ActivityKit' (errno=2), '/private/preboot/Cryptexes/OS/System/Library/Frameworks/ActivityKit.framework/ActivityKit' (errno=2), '/System/Library/Frameworks/ActivityKit.framework/ActivityKit' (errno=2, not in dyld cache)
Library not loaded: /System/Library/Frameworks/ActivityKit.framework/ActivityKit
  Referenced from: <2EE75AA2-B31B-3AD4-A394-B6947774A387> /private/var/containers/Bundle/Application/8F46559B-41D1-468E-AEC1-5CC7324E3F03/Sample.app/Sample
  Reason: tried: '/System/Library/Frameworks/ActivityKit.framework/ActivityKit' (errno=2), '/private/preboot/Cryptexes/OS/System/Library/Frameworks/ActivityKit.framework/ActivityKit' (errno=2), '/System/Library/Frameworks/ActivityKit.framework/ActivityKit' (errno=2, not in dyld cache)
dyld config: DYLD_LIBRARY_PATH=/usr/lib/system/introspection DYLD_INSERT_LIBRARIES=/usr/lib/libBacktraceRecording.dylib:/usr/lib/libMainThreadChecker.dylib:/usr/lib/libRPAC.dylib:/Developer/Library/PrivateFrameworks/DTDDISupport.framework/libViewDebuggerSupport.dylib
(lldb) 

Does anyone know how to fix this problem?

I'm having the same problem. I think ActivityKit isn't available on the iOS 16 beta yet, only simulator.

Apparently it is due to a problem with ios 16 beta 6, since in ios 16 beta 5 it works correctly for me, now it stops working

Not working on iOS beta 7 either

Library not loaded when trying to install on iPhone 13 Pro with iOS 16 Beta 6
 
 
Q