I'm using Xcode 11.1 and all of my swift previews show the following errors:
Cannot preview in this file -- current target needs adjusted build settings
along with
"ProjectTests.xctest' failed to get build settings: unsupportedProductType("com.apple.product-type.bundle.unit-test", <Xc..."
Clicking the diagnostics button generates the following popup:
Open file has supported build settings "ProjectTests.xctest" failed to get build settings: unsupportedProductType("com.apple.product-type.bundle.unit-test", <Xcode3TargetProduct:0xblahblahblahProjectTests.xctest blueprint:< Xcode3Target:0xblahblahProjectTests>>)
My previews still render fine, but is there some way to remove this error?