Xcode 6 under yosemite crash

5.8k Views Asked by At

When i try to run any project on any DEVICE (not simulator) on any iOS in Xcode 6 (any version including 6.0.1 and all betas) under yosemite Xcode crashes right after "Build succeeded". the log shows:

Application Specific Information:

ProductBuildVersion: 6A317

ASSERTION FAILURE in /SourceCache/DVTFrameworks/DVTFrameworks-6528/DVTFoundation/FilePaths/DVTFilePath.m:802

Details: fsrep is relative ('גÄ‮-‬‭/‬גÄ‮,‬var/folders/dv/c6tb8vv93tj99rmr6t85znt80000gn/CגÄ‮-‬‭/‬גÄ‮,‬‭/‬com.apple.DeveloperTools/6.0.1‭/‬Xcode') 

parentPath must not be nil but it is.

Object: <DVTFilePath>

Method:+_filePathForParent:fileSystemRepresentation:length:allowCreation:

Thread: <NSThread: 0x7fd923ee3000> {number = 20, name = (null)}

Hints:None

I tried to delete the com.apple.dt.Xcode.plist & reinstall Xcode but it keeps crashing on devices, On simulator it works.

Help please.

3

There are 3 best solutions below

3
Lukasz Rutkowski On BEST ANSWER

The solution for me was to remove Urdu language from the list (System preferences>Language and Region). It was set as primary. I kept only English and after restarting Xcode is not crashing anymore.

3
davidcondrey On

It seems a lot of people are having trouble with Xcode 6 and Yosemite but are reporting that the new Xcode beta is resolving the issues. Xcode 6.1 beta 2 just came out a couple days ago so perhaps you should try that if you haven't already.

Remove your current version of Xcode and it may also help to delete the AppleMobileDevice.kext file in /System/Library/Extensions as well as AppleMobileDeviceSupport.pkg in /Library/Receipts/ and then download and use the Xcode 6.1 beta 2


If you read the error it says that the path is being read as nil because it's got those unusual characters גÄ‮-‬‭/‬גÄ .. Track down the cache files for this reference and delete them.

1
powertoold On

Try to exit fullscreen mode in Xcode and run your app again. It was crashing for me when Xcode was in fullscreen mode.

This is Xcode 6.0 with OS X Yosemite.