Generating dSYM hangs Xcode 10

Summary: When turning on DWARF with dSYM File, my Xcode build hangs on the "Generating dSYM" step. If I let the build continue, that step will complete in about 20 minutes but my system freezes. On Xcode 9, this step took about 30 seconds.


Steps to Reproduce: Turn on DWARF with dSYM File in your Build Settings. Start a build.



Expected Results: "Generating dSYM" step takes a reasonable amount of time and doesn't freeze your Mac.


Actual Results: "Generating dSYM" step takes 20 minutes and freezes my Mac.



Version/Build: I only tested on Xcode 10 Beta 4 and Xcode 10 Beta 6 and both experience this issue. I am also using the Legacy Build system.


Files: I have attached a log in rdar://43332192

Replies

My solution.

- download dSYM from App Store

- zip then upload for firebase.

resume : working

We're seeing the same issue too with Xcode 10 - when building a Unity project with Unity 2018.2.4 and 2018.2.12. Really frustrating!

The same issue

Disabling Debug Symbol Generation solved the problem

Yes this works, but we can forget about readable Crash reports

If I don't turn on 'DWARF with dSYM File', dSYM.debug_pubtypes contents will not resolve any public symbol.


I used 'dwarfdump --debug-pubtypes' to dump .dSYMs content.




How did everyone over come this problem? Basiclly, I'm seeing useless crash reports.

I'm facing the same issue. Using Xcode Version 10.1 (10B61).

Is there a OpenRadar about this issue which I can dupe?

I would also like for an OpenRadar # for this so I can dupe.

Hope this gets resolved soon

Filed an OpenRadar #46373720 and found a workaround to pass the archive phase!


- https://bugreport.apple.com/web/?problemID=46373720

- https://github.com/theyongdai/simpleVLCPlayer



Summary:

- [Xcode 10] when project complied with custom framework, dsymutil causes run away memory pressure

- [Xcode 9] Not a problem


- Workaround: copy <dsymutil in Xcode9> into <dsymutil in Xcode10> will resolve the problem successfully.




Steps to Reproduce:

- Load the project [See Readme.md, https://github.com/theyongdai/simpleVLCPlayer]

- Archive the target


Expected Results:

- Finish archiving with a result


Actual Results:

- NEVER finished archiving in a reasonable amount of time due to a hanged SYSTEM!!


Version/Build:

- Xcode Version 10.1 (10B61)


Configuration:

- macOS 10.14.1 (18B75)

The link to the bugreport is not working (anymore?). I'm really interested in this, because I would like to start using vlckit, but losing readable crashreports is not an option for me.

https://developer.apple.com/documentation/xcode_release_notes/xcode_10_2_beta_2_release_notes


Possibly fixed in newest beta 10.2

dsymutil
no longer exhausts system memory on large projects. (41422573)

I can confirm: For me this issue is gone after upgrading to Xcode 10.2.

the same for us. If we try to "archive° (we use huge C/C++ libs) we cannoto archive.


Only solution seem to disable SYM generations, but is suboptimal.