6

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.

Oleg Sherman
  • 2,772
  • 1
  • 21
  • 20

3 Answers3

12

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.

powertoold
  • 1,593
  • 13
  • 19
  • Looks like that solved the issue. Full-screen worked on pre-Yosemite OSX, though. Hopefully we'll see an update soon. XCode Version 6.0.1 (6A317) – Sergey M Oct 19 '14 at 06:31
5

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.

  • Thank you it worked for me. I hope apple will fix this bug so i can use my language as the primary language. – Oleg Sherman Sep 27 '14 at 19:50
  • thank you. that made it work. like @OlegSh.I hope this gets fixed soon, I'd want to use Urdu as my primary language –  Sep 28 '14 at 16:00
  • after 2 days of going here and there finally I found this and it worked. You are my hero :) – Abdullah Umer Nov 13 '14 at 09:50
0

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.

davidcondrey
  • 34,416
  • 17
  • 114
  • 136
  • i already have xcode 6.1 beta 2. let me try deleting everything and see if it works. Thanks –  Sep 25 '14 at 04:13
  • did the above, now project won't compile (segfault): https://stackoverflow.com/questions/24222644/swift-compiler-segmentation-fault-when-building –  Sep 25 '14 at 07:39
  • 1
    after removing the code causing segfaults, the problem is still there. Thank you for the pointers though, may come in handy. –  Sep 25 '14 at 08:32