benoitsan / BBUncrustifyPlugin-Xcode

Xcode plugin to format source code using ClangFormat or Uncrustify
MIT License
1.19k stars 150 forks source link

Xcode 6.2 with Alcatraz #91

Closed TofPlay closed 9 years ago

TofPlay commented 9 years ago

Hi, xcode 6 2 - bbuncrustifyplugin preferences This menu option does not display anything Regards Tof

benoitsan commented 9 years ago

It's not the first time I got this issue. It displays nothing because the xib file is missing. I still don't understand the reason why the xib is sometimes missing in the built product.

Check that the file UncrustifyPlugin.xcplugin/Contents/Resources/XCFPreferencesWindowController.nib exists.

A workaround is to reinstall the plugin.

screen_shot_2015-03-19_at_20_33_35

TofPlay commented 9 years ago

I reinstall the plugin but the nib file still missing

TofPlay commented 9 years ago

I found! I must remove folder

~/Library/Application Support/Alcatraz/Plug-ins/BBUncrustifyPlugin

to force Alcatraz to rebuild your plugin when it's reinstall.

benoitsan commented 9 years ago

OK, it's weird. As I said, I already had this issue with xib file but I don't understand the reason, don't know if it's an issue in my config or a bug in Xcode. Yeah, when you got this, the best thing is to delete the whole plugin. Good that you fixed it by your own.