xcode 9 beta 6 crashing on High Sierra beta 7

I'm running xcode 9 beta 6 on High Sierra beta 7. When I open it it crashes within several seconds. Anyone else, any fixes? I think this started happening only after it asked to update the xcode server section. I had the server and bots working with beta 4 but they stopped working in beta 5 and now beta 6 appears to crash. I have turned off the server and bots section and removed the bot account, but it is still crashing so possibly that is not related. I'll be in beta 5 unless there is a resolution.


Edit:

Uh oh, xcode beta 5 is crashing too! High Sierra beta 7 is crashing all my xcodes, anyone else with this problem?

Accepted Reply

macOS High Sierra 10.13 beta 8 fixed it for me.

Replies

completely uninstall xcode and install xcode 8. works for me

The following settings works for me

0. Exit Xcode

1. Follow Pegolon 's solution

defaults write com.apple.dt.XCode IDEIndexDisable 1

2. Setup Workspace (File->Workspace Settings..)

Shared Workspace Settings:

Build System: Standard Build System (Default)

Pre-User Workspace Settings:

Build System: New Build System (Preview)

Derived Data: Workspace-relative Location

3. Enable IDE Index

defaults write com.apple.dt.XCode IDEIndexDisable 0


4. Open Xcode


5. Enjoy It!

Thanks, gaginan.

It works for me. Crash is gone.

But got failed as swift.h file not found..

Thanks, I reported it to Apple.

Not sure what you mean in the second step, can you help please?


in File->Workspace Settings I don't see the settings you mentioned...

Not working here either. Disabling IDEIndex allows the project to load without crashing, but changing the Per-User Workspace setting immediately breaks the build.

You should use the xcode 9 beta 6 version

Not Crash after change the workspace settings , but project is failed when compile

Met same problem, it makes me crazy now.

It works only for xcode 9 beta, not for xcode 8.

It seems like that I can only code on another mac and waiting for bug fix...

I will never install beta version on my work machine from now on.

I have the same issues with Xcode 8.3.3 and Xcode 9.0 Beta 6 on macOS High Sierra 10.13 Beta 7

This works for us; we can load, compile, and run our Objective-C projects.

Confirmd on 10.12 DP7. Crash is during index on both AFPS and HFS Plus file systems.


Switched back to Xcode 9 B5 and it works.

It seems caused by MacOS High Sierra 10.13 Beta (17A352a). Xcode 9 B5 keeps crash.