xcode crash each time I try to modify my source code -
i'm using xcode 4.6.1 on osx mountain lion 10.8.3
i have moved source code macbook air imac morning.
and now, each time try modify source code, xcode crashes!
for example, if start write : [ [ anyclass
xcode crash message : cannot add user snippet same identifier, can override system snippets.
but if writes code in text editor before, , if pastes xcode, works!
i don't understand ... have emptied derived data, cleaned project, emptied /var/folders directory, rebooted imac ...
many help!
crashed thread: 0 dispatch queue: com.apple.main-thread exception type: exc_crash (sigabrt) exception codes: 0x0000000000000000, 0x0000000000000000 application specific information: productbuildversion: 4h512 assertion failure in /sourcecache/idecodesnippetlibrary/idecodesnippetlibrary-2055/source/idecodesnippetrepository.m:320 details: cannot add user snippet same identifier, can override system snippets. object: <idecodesnippetrepository: 0x4050a98c0> method: -addcodesnippet: thread: <nsthread: 0x40030a220>{name = (null), num = 1} hints: none backtrace: 0 0x000000010b681a2a -[ideassertionhandler handlefailureinmethod:object:filename:linenumber:messageformat:arguments:] (in idekit) 1 0x000000010a9255f4 _dvtassertionfailurehandler (in dvtfoundation) 2 0x000000010f40f975 -[idecodesnippetrepository addcodesnippet:] (in idecodesnippetlibrary) 3 0x000000010f40fcfb -[idecodesnippetrepository _loadusercodesnippets] (in idecodesnippetlibrary) 4 0x000000010f40ee63 -[idecodesnippetrepository init] (in idecodesnippetlibrary) 5 0x000000010f4150c4 __44+[idecodesnippetrepository sharedrepository]_block_invoke (in idecodesnippetlibrary) 6 0x00007fff94b950b6 _dispatch_client_callout (in libdispatch.dylib) 7 0x00007fff94b95041 dispatch_once_f (in libdispatch.dylib) 8 0x000000010f40ecaa +[idecodesnippetrepository sharedrepository] (in idecodesnippetlibrary) 9 0x000000010f416cbe __102+[idecodesnippetlibrarycompletionstrategy _generatecompletionsforscopes:language:platformnames:atbol:]_block_invoke (in idecodesnippetlibrary)
giving full credit matthias, problem appears tightly related using cloud source code snippets. did long time ago , love seamless availability of custom code snippets on macs (imac 27" @ work, rmbpro , mbair). kind of cloud storage of code snippets makes quick setting of new mac. yesterday, dug out old mbair using development year or ago, when synced dropbox, there must have been conflicts snippets changed since last used said mbair. dropbox appends name short piece of text indicating conflicting copy. unfortunately, xcode doesn't see different file , thinks duplicate (which ain't allowed).
to solve, deleted conflicting copies (all of them old versions), fired xcode , no problems.
if interested doing kind of dropbox syncing of snippets:
Comments
Post a Comment