Catalyst: Unable to load standard library for target 'x86_64h-apple-ios13.0-macabi'

I have a complex iPad app with a mix of Objective-C and Swift that I am trying to build and run for macOS using Xcode 11's Catalyst feature. So far, I got the app building successfully for iOS in Xcode 11 beta 5, and I clicked the "Mac" checkbox to enable macOS builds. I also configured the project to build for the macOS archicture (x86_64h) and set up a provisioning profile for macOS with the "maccatalyst" bundle ID. But when I switch the destination to "My Mac" and try to build the project for macOS, Xcode gives an error when compiling a Swift file:


Unable to load standard library for target 'x86_64h-apple-ios13.0-macabi'


Anyone know what this error means or how to resolve it? Thanks

Catalyst: Unable to load standard library for target 'x86_64h-apple-ios13.0-macabi'
 
 
Q