我正在使用 Xcode 12 beta 2。我已将我的库打包在 Swift Packages 中。DataModel
出现在错误消息中的是其中之一,我当前的包WeatherView
依赖于它。
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")