tags:

views:

33

answers:

1

I get the following internal error message whenever I try and Refactor:

File:    /SourceCache/DevToolsIDE/DevToolsIDE-1708/pbxinterface/Snapshots/XCDirectorySnapshotSyncOperation.m
Line:    137
Object:    <XCDirectorySnapshotSyncOperation:0x201d51560>
Method:    _setErrorMessage:



Assertion failed: nil == _errorMessage

I have tried everything. I re-installed a new version of Xcode, I have tried re-installing the older version of Xcode nothing works?

+1  A: 

Try deleting the cache file referenced in the error and trying again.
The cache file could have become corrupt and causing the crash.
Also report this to Apple at http://bugreport.apple.com

Jasarien
Where do I find this bug - I can't seem to locate this directory?
TheLearner
Snapshots are usually stored at `~/Library/Application Support/Developer/Shared/SnapshotRepository.sparseimage`. Try deleting the sparse image and trying again.
Jasarien
You rock mate! Thanks a lot!
TheLearner