Xcode error in a specific project

When I try to open a specific project on Xcode , it crashes with this error message (part of it):

 Process: Xcode [729] Path: /Applications/Xcode.app/Contents/MacOS/Xcode Identifier: com.apple.dt.Xcode Version: 8.1 (11544) Build Info: IDEFrameworks-11544000000000000~4 App Item ID: 497799835 App External ID: 819397000 Code Type: X86-64 (Native) Parent Process: ??? [1] Responsible: Xcode [729] User ID: 501 Date/Time: 2016-11-06 18:39:39.261 +0200 OS Version: Mac OS X 10.12.1 (16B2555) Report Version: 12 Anonymous UUID: E3BEFD49-5451-DC5B-81D3-2BD8B1F4987F Time Awake Since Boot: 140 seconds System Integrity Protection: enabled Crashed Thread: 0 Dispatch queue: com.apple.main-thread Exception Type: EXC_CRASH (SIGABRT) Exception Codes: 0x0000000000000000, 0x0000000000000000 Exception Note: EXC_CORPSE_NOTIFY Application Specific Information: ProductBuildVersion: 8B62 UNCAUGHT EXCEPTION (NSRangeException): *** -[__NSArrayM objectAtIndex:]: index 5 beyond bounds [0 .. 4] UserInfo: (null) Hints: 

When I try to open another project, everything is in order, this is just this specific project.

I tried restarting my Mac and it will work anyway.

enter image description here

Does anyone know how to fix this?

Thanks!

+8
xcode xcode8
source share
3 answers

Do one thing, clear / delete all the derived data for Xcode, and then open your project. This should solve the problem.

Also, to report an Apple error, you can simply go to https://bugreporter.apple.com/ and log in with your Apple credentials and they will return to you like a couple of days.

Also for derived data, follow these steps: You can go to File > Workspace Settings if you are in the workspace or File > Project Settings for a normal project environment .

Then click on the small gray arrow in the Derived Data section and select the project folder to delete it.

+32
source share

So, I know this is a slightly outdated question, but I just spent half my daytime with the same problem in 9.1. Basically, if icloud disk is turned on on your computer, you will destroy havok on xcode .. I don’t know why / how, but it's just ... I moved all my dev projects from documents and now it works beautifully. Greetings and good luck.

0
source share

In my case, this was resolved by:

"I managed to get the unlock by deleting project.xcworkspace / xcuserdata in my project"

Detailed discussion here: https://www.reddit.com/r/iOSProgramming/comments/7zh9wg/xcode_crashes_on_startup/?utm_source=share&utm_medium=web2x

0
source share

All Articles