dyld: Library not loaded SwiftUI when app runs on iOS 12 using @available(iOS 13.0, *) : <p>I decided to implement a few views using SwiftUI in my app. The app is backwards compatible to iOS 12.</p>

<p>Everything works perfectly until I run it on an iOS 12 device. The app crashes immediately and the warning I get says SwiftUI cannot be loaded.</p>

<pre><code>dyld: Library not loaded: /System/Library/Frameworks/SwiftUI.framework/SwiftUI
  Referenced from: /var/containers/Bundle/Application/MyApp.app/MyApp
  Reason: image not found
</code></pre>

<p>I'm using @available(iOS 13.0, *) in all the correct places and there are no compiler warnings and the app runs perfectly on iOS 13</p>

<p>How can I get this to work for iOS 12?</p>
