Xcode 13 beta Error with Pencil kit

There is error when launch app which use Pencil kit When I try with iOS15 simulator or Xcode editor preview it crashed

Here is error message
Library not loaded: /usr/lib/swift/libswiftPencilKit.dylibI
  Reason: tried: '/Users/.../Products/Debug-iphonesimulator/libswiftPencilKit.dylib' (no such file)

There is no problem with iOS14.5 simulator

Answered by LiYanan04818 in 685678022

Go to -> Target -> Build Settings and search for iOS Deployment Target, and switch it to iOS 15.

Now, it works!

The actually iPhone ( iOS 15) has crashed too I think It's not only Xcode 13's but also iOS15

Accepted Answer

Go to -> Target -> Build Settings and search for iOS Deployment Target, and switch it to iOS 15.

Now, it works!

Hi, I'm still encountering the same issue with Xcode13 beta 5, crash at app launch. Setting iOS 15 as minimum deployment target is a workaround that works, but I hope next beta (or GM) version of Xcode13 will fix that, because we cannot just set iOS 15 as deployment target. There's some open radar for this issue?

Xcode 13 beta Error with Pencil kit
 
 
Q