It's a known issue in Beta 5. Disclosed in their release notes:
Using the Path structure may cause your app to crash if you’re using
the SDKs included in Xcode 11 beta 5. As a result, you may be unable
to successfully follow the steps in the Drawing Paths and Shapes
tutorial. (53523206)