Search Unity

  1. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  2. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

Can't build 5.5.3/5.6.6 project in Xcode 9.0.1 and 9.3 - clang hangs, no errors

Discussion in 'iOS and tvOS' started by rafalczuj, May 18, 2018.

  1. rafalczuj

    rafalczuj

    Joined:
    Nov 12, 2013
    Posts:
    3
    Hi. I have a problem with project originally created in 5.5.3 and now opened in 5.6.6(on both same problem). It exports to Xcode project and run/archives well in Xcode 8.3.3, but doesn't work in Xcode 9.0.1/9.3 (I assume it's the same for all 9.x versions but tested only in those two).
    Building process freezes, when the last file is being compiled (e.g Compiling 300 of 300). It never goes to linking stage. After a while, clang memory usage in activity monitor is like 15-20GB and growing up to about 50GB and then LLVM crashes or my Mac mini becomes completely unresponsive and I need to restart it.

    I tried with command line building tools and the result is the same - It hangs always on file: Bulk_Assembly-CSharp_8.cpp. I also checked DerivedData and it turned out, that Bulk_Assembly-CSharp_8.o is never created.
    This file is quite large (like 140000 lines or so), but it shouldn't matter.

    Anyone experienced anything similar? Is 5.6 project meant to work with Xcode 9.x?