New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Xcode hanging when applying a plugin to many package targets #6543
Comments
Is this reproducible for you when using |
cc @abertelrud |
I made a new Package with 80 package targets and each target has a dummy plugin dependency. |
It seems there is no more limitation in Xcode 15.0 🎉 |
Unfortunately still getting this error; hangs / beach balls for 5-10 seconds before each build on a project with ~100 packages, even if the plugin does nothing. Xcode Version 15.0 (15A240d) |
While I know this is an Xcode issue, the feedback assistant is unfortunately a black box. I'm curious if anyone has found a workaround. |
Description
I'm trying to add a plugin as a BuildTool Plug-In in our packages.
Our project has some packages and multiple targets (> 75)
When I add the plugin to every package target and build the project - it freezes the Xcode build while building the project. It happens with Xcode and the xcodebuild command.
I generated a dummy buildTool plugin(without functionality) add added the dummy plugin to our targets and build the project
In our project the build is working when we use the plugin in <= 73 targets.. more targets with the plugin (> 73) freezes the build. It seems that Xcode(build) has a problem with to many plugins used in targets.
Expected behavior
Xcode build is working when using plugins in many targets. (>73)
Actual behavior
Xcode build hangs/freezes when using plugins in many targets (>73)
Steps to reproduce
Swift Package Manager version/commit hash
Xcode 14.3
Swift & OS version (output of
swift --version ; uname -a
)swift-driver version: 1.75.2 Apple Swift version 5.8 (swiftlang-5.8.0.124.2 clang-1403.0.22.11.100)
Target: arm64-apple-macosx13.0
Darwin IUGMPY4Y49DX62 22.4.0 Darwin Kernel Version 22.4.0: Mon Mar 6 20:59:28 PST 2023; root:xnu-8796.101.5~3/RELEASE_ARM64_T6000 arm64
The text was updated successfully, but these errors were encountered: