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
[SR-10521] Xcode 10.2 stuck compiling swift sources #52921
Comments
Is this a project you can share? If not here, than perhaps with Apple at https://bugreport.apple.com. |
Comment by Wes Byrne (JIRA) Not here publicly, no. Submitted it there as `Xcode stuck compiling - SR-10521` |
Thank you! |
Looks like this is something @atrick fixed in #23190 Can you try a development snapshot from https://swift.org/download to confirm? |
(It's on the 5.1 branch too.) |
Comment by Wes Byrne (JIRA) Sounds good. Forgive me, it's been a while since I've used the snapshots, am I forgetting something? I'm getting the following for each framework in the project: file not found: /Library/Developer/Toolchains/swift-5.1-DEVELOPMENT-SNAPSHOT-2019-04-17-a.xctoolchain/usr/lib/arc/libarclite_macosx.a |
:-( That's a separate bug we're chasing. For now, can you set your deployment target to be 10.11 or newer? |
Comment by Wes Byrne (JIRA) My main app target is 10.11. There are some frameworks (cocoapods) that are not. I tried setting those to 10.11 as well but got errors, notably with Sentry: **/Sentry/Sources/SentryCrash/Recording/Monitors/SentryCrashMonitor.h:41:1: Import of C++ module 'Sentry.SentryCrashThread' appears within extern "C" language linkage specification Happy to try more if it would be helpful. |
That doesn't seem like it should be related to your deployment target; it would be an actual issue in Sentry. (On the other hand, why is Sentry using C++ modules? You could turn off that build setting in their project for now too.) |
Comment by Wes Byrne (JIRA) Figured it wasn't related but never hurts to share. Also, no idea but hopefully that isn't an issue when 5.1 is released. I'll tinker with it some more and see if I can get it compiling to confirm this issue is fixed. |
Comment by Wes Byrne (JIRA) In regards to "You could turn off that build setting in their project for now too." what would I turn off? |
Oh, I guess there's not a build setting for it at all yet. Somewhere there's an |
Environment
Xcode 10.2.0/1 (tried both)
Swift 4.2 and Swift 5 (tried both)
Same issue occurs locally and on MS App Center
Additional Detail from JIRA
md5: 004c321c9d071bcb10e795952644ff0e
Issue Description:
Not sure if this is a duplicate of the compile time regression. Since I haven't successfully compiled yet I don't have a measurable time to compare to. My project normally compiles in under 10 minutes but is still compiling after and hour.
Let me know what would be helpful to investigate and debug this issue.
The text was updated successfully, but these errors were encountered: