I'm using Xcode 12 beta 2. I've packaged my libraries in Swift Packages. DataModel
that appear in the error message is one of them, that my current package, WeatherView
depends on.
I can build the package fine, but Swift UI preview fails
build aborted due to an internal error: planningFailed("multiple configured targets of \'DataModel\' are being created for iOS Simulator")
----------------------------------------
SchemeBuildError: Failed to build the scheme "WeatherView"
unexpected service error: build aborted due to an internal error: planningFailed("multiple configured targets of \'DataModel\' are being created for iOS Simulator")
Build system information:
error: unexpected service error: build aborted due to an internal error: planningFailed("multiple configured targets of \'DataModel\' are being created for iOS Simulator")