You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When building a project with the Skip plugin, the following Xcode errors can occur and halt the build:
Internal inconsistency error: received multiple target ended messages for target ID '6' or received target ended message but did not receive corresponding target started message, while retrieving parent activity in taskStarted message.
Internal inconsistency error: received multiple task ended messages for task ID '8' or received task ended message but did not receive corresponding task started message.
Performing a clean re-build is the only way to work around this. Sometimes this needs to be done multiple times.
There is no obvious trigger for this error – it occurs at random when building a project. I suspect it has to do with Xcode running multiple simultaneous plugins invocations (for all the dependent Skip modules), and having their communication pipelines mixed up somehow. However, since Xcode 15 removed the ability to disable the "Parallelize Build" setting for the scheme, it is not possible to test this hypothesis directly.
When building a project with the Skip plugin, the following Xcode errors can occur and halt the build:
Performing a clean re-build is the only way to work around this. Sometimes this needs to be done multiple times.
There is no obvious trigger for this error – it occurs at random when building a project. I suspect it has to do with Xcode running multiple simultaneous plugins invocations (for all the dependent Skip modules), and having their communication pipelines mixed up somehow. However, since Xcode 15 removed the ability to disable the "Parallelize Build" setting for the scheme, it is not possible to test this hypothesis directly.
This issue is reported by other SPM plugins when run from within Xcode (e.g., SwiftGen/SwiftGenPlugin#15), and has been a bug since Xcode 14.3, and persists through 15.1. See swiftlang/swift-package-manager#6705.
The text was updated successfully, but these errors were encountered: