-
Notifications
You must be signed in to change notification settings - Fork 10.5k
Closed
Labels
bugA deviation from expected or documented behavior. Also: expected but undesirable behavior.A deviation from expected or documented behavior. Also: expected but undesirable behavior.compilerThe Swift compiler itselfThe Swift compiler itselfoptimized onlyFlag: An issue whose reproduction requires optimized compilationFlag: An issue whose reproduction requires optimized compilation
Description
Previous ID | SR-3486 |
Radar | None |
Original Reporter | Okui (JIRA User) |
Type | Bug |
Status | Resolved |
Resolution | Done |
Additional Detail from JIRA
Votes | 0 |
Component/s | Compiler |
Labels | Bug, OptimizedOnly |
Assignee | None |
Priority | Medium |
md5: 4e77380daea83b4bb994bf3f051fc5bb
Issue Description:
I recently update my project from Swift 2.3 to Swift 3. All codes are migrated well and working fine with debug build and optimize build. However, if I turn on Whole Module Optimization on, compiler won't finish compiling code. (Xcode stuck "Compiling Swift source files")
Clean build, clean DerivedData does not work. In activity monitor, swift gets 100% cpu usage, so it's not waiting something but probably falling into infinite loop.
Since compiler does not generate any messages, I don't know where to begin to troubleshoot. Is there any way I can set Xcode or xcodebuild to generate more detailed logs to see where compiler hangs?
Metadata
Metadata
Assignees
Labels
bugA deviation from expected or documented behavior. Also: expected but undesirable behavior.A deviation from expected or documented behavior. Also: expected but undesirable behavior.compilerThe Swift compiler itselfThe Swift compiler itselfoptimized onlyFlag: An issue whose reproduction requires optimized compilationFlag: An issue whose reproduction requires optimized compilation