johnno1962 / GitDiff

Highlights deltas against git repo in Xcode
MIT License
891 stars 54 forks source link

Xcode6.0 will crash immediately after install gitdiff #13

Closed jzau closed 9 years ago

jzau commented 9 years ago

Thanks for this awesome plugin!!!!!

I find out that this plugin doesn't support xcode6 GM.

Here is the excerpt from crash log.
Process:               Xcode [8054]
Path:                  /Applications/Xcode.app/Contents/MacOS/Xcode
Identifier:            com.apple.dt.Xcode
Version:               6.0 (6299)
Build Info:            IDEFrameworks-6299000000000000~8
Code Type:             X86-64 (Native)
Parent Process:        ??? [1]
Responsible:           Xcode [8054]
User ID:               503

PlugIn Path:             /Users/USER/Library/Application Support/Developer/*/GitDiff
PlugIn Identifier:       com.johnholdsworth.GitDiff
PlugIn Version:          3.5 (3.5)

Date/Time:             2014-09-13 17:40:49.214 +0800
OS Version:            Mac OS X 10.10 (14A343f)
Report Version:        11
Anonymous UUID:        D6E23A4B-EEBF-88B3-4180-D2C1CE0265B4

Time Awake Since Boot: 19000 seconds

Crashed Thread:        0  Dispatch queue: com.apple.main-thread

Exception Type:        EXC_CRASH (SIGABRT)
Exception Codes:       0x0000000000000000, 0x0000000000000000

Application Specific Information:
ProductBuildVersion: 6A313
UNCAUGHT EXCEPTION (NSInternalInconsistencyException): Invalid parameter not satisfying: windowNibPath
UserInfo: (null)
Hints: None
Backtrace:
  0  0x00007fff84758bd4 __exceptionPreprocess (in CoreFoundation)
  1  0x000000010cec3184 DVTFailureHintExceptionPreprocessor (in DVTFoundation)
  2  0x00007fff8ee396de objc_exception_throw (in libobjc.A.dylib)
  3  0x00007fff847589ca +[NSException raise:format:arguments:] (in CoreFoundation)
........
mengelbrecht commented 9 years ago

Did you install the plugin using Alcatraz? The same happened to me when I installed it this way. It seems to be an Alcatraz problem, because after I deleted the GitDiff plugin, manually cloned this repository and installed the plugin, it worked without flaws.

johnno1962 commented 9 years ago

Thanks for answering this Markus, I agree this could be an Alcatraz problem and it seems the nib file was missing. Sometimes this can happen if you install-uninstal-install in quick succession.