ACCodeSnippetRepositoryPlugin icon indicating copy to clipboard operation
ACCodeSnippetRepositoryPlugin copied to clipboard

Bug in Xcode 6.1?

Open Isuru-Nanayakkara opened this issue 11 years ago • 5 comments

Hi! I have this plugin installed in Xcode 6.1 running on Yosemite. I have integrated it with my own snippet repo on Github. In Xcode I did a change to an existing custom snippet of mine. But Its not synced with the repo on Github. Selecting Update Snippets from the menu doesn't seem to work either.

Edit: I came across another problem. I added a new snippet in Xcode. And the plugin started 'Updating snippets' and removed the newly added snippet from Xcode!

Isuru-Nanayakkara avatar Nov 02 '14 12:11 Isuru-Nanayakkara

I'm also having some problems with this plugin. In the Console app it like there is an assertion failure being thrown by the plugin:

11/29/14 00:52:23.869 Xcode[1113]:  DVTAssertions: 
Backtrace:
  0  0x00007fff87b6c634 __exceptionPreprocess (in CoreFoundation)
  1  0x000000010eb612f4 DVTFailureHintExceptionPreprocessor (in DVTFoundation)
  2  0x00007fff88a9a6de objc_exception_throw (in libobjc.A.dylib)
  3  0x00007fff87b6bee5 __NSFastEnumerationMutationHandler (in CoreFoundation)
  4  0x000000011ed97e67 -[IDECodeSnippetRepositorySwizzler override_codeSnippetForIdentifier:] at /Users/Spencevail/Library/Application Support/Alcatraz/Plug-ins/ACCodeSnippetRepository/ACCodeSnippetRepository/IDE/Swizzle/IDECodeSnippetRepositorySwizzler.m:28 (in ACCodeSnippetRepository)
  5  0x000000011ed9d063 -[ACCodeSnippetGitDataStore removeSnippetsForFilesInLocalRepository:] at /Users/Spencevail/Library/Application Support/Alcatraz/Plug-ins/ACCodeSnippetRepository/ACCodeSnippetRepository/Classes/DataStores/ACCodeSnippetGitDataStore.m:287 (in ACCodeSnippetRepository)
  6  0x000000011ed9b771 __45-[ACCodeSnippetGitDataStore syncCodeSnippets]_block_invoke at /Users/Spencevail/Library/Application Support/Alcatraz/Plug-ins/ACCodeSnippetRepository/ACCodeSnippetRepository/Classes/DataStores/ACCodeSnippetGitDataStore.m:122 (in ACCodeSnippetRepository)
  7  0x00007fff84e0a2e8 __NSBLOCKOPERATION_IS_CALLING_OUT_TO_A_BLOCK__ (in Foundation)
  8  0x00007fff84cf6905 -[NSBlockOperation main] (in Foundation)
  9  0x00007fff84cd559c -[__NSOperationInternal _start:] (in Foundation)
 10  0x00007fff84cd51a3 __NSOQSchedule_f (in Foundation)
 11  0x00007fff8a5cfc13 _dispatch_client_callout (in libdispatch.dylib)
 12  0x00007fff8a5d3365 _dispatch_queue_drain (in libdispatch.dylib)
 13  0x00007fff8a5d4ecc _dispatch_queue_invoke (in libdispatch.dylib)
 14  0x00007fff8a5d26b7 _dispatch_root_queue_drain (in libdispatch.dylib)
 15  0x00007fff8a5e0fe4 _dispatch_worker_thread3 (in libdispatch.dylib)
 16  0x00007fff869246cb _pthread_wqthread (in libsystem_pthread.dylib)
 17  0x00007fff869224a1 start_wqthread (in libsystem_pthread.dylib)

LunaCodeGirl avatar Nov 29 '14 08:11 LunaCodeGirl

+1

scinfu avatar Dec 16 '14 14:12 scinfu

I can't open plugin windows at all.

Log on XCode start: 28-12-14 14:18:07,020 Xcode[35409]: XcodeVersion: 6.1.1 28-12-14 14:18:07,021 Xcode[35409]: UnityPlugin: Helper thread launched 28-12-14 14:18:07,039 Xcode[35409]: Updating Repo: /Users/anonymous/Library/Application Support/Alcatraz/Plug-ins/Alcatraz 28-12-14 14:18:07,077 Xcode[35409]: <ACCodeSnippetGitDataStore: 0x7fc987190d50> ((null)) dataStoreWillAdd 28-12-14 14:18:07,077 Xcode[35409]: <ACCodeSnippetGitDataStore: 0x7fc987190d50> ((null)) dataStoreDidAdd 28-12-14 14:18:11,122 Xcode[35409]: Git fetch output: 28-12-14 14:18:11,129 Xcode[35409]: Git reset output: HEAD is now at b7bb375 Bump version 1.0.8

Log on trying "Configure snippets repository": 28-12-14 14:18:12,065 Xcode[35409]: -[ACCodeSnippetRepositoryConfigurationWindowController loadWindow]: failed to load window nib file 'ACCodeSnippetRepositoryConfigurationWindowController'. 28-12-14 14:18:12,065 Xcode[35409]: -[ACCodeSnippetRepositoryConfigurationWindowController loadWindow]: failed to load window nib file 'ACCodeSnippetRepositoryConfigurationWindowController'.

grng avatar Dec 28 '14 17:12 grng

+1 Can't open plugin window. Output same as @grng.

danieltskv avatar Jan 17 '15 17:01 danieltskv

+1

AnthonyMDev avatar Apr 29 '15 19:04 AnthonyMDev