Closed nyotis closed 9 years ago
I have same trouble with you,I can't see the Clang-format in Xcode -> Edit but sometimes when I save the file plugin could work sometimes it doesn't work.
If you are compiling ClangFormat from source you need to add the DVTPlugInCompatibilityUUID
of Xcode 6.3.2 to ClangFormat-Info.plist. Get the Xcode UUID by running the following command in your terminal:
defaults read /Applications/Xcode.app/Contents/Info DVTPlugInCompatibilityUUID
Then open ClangFormat.xcodeproj, select ClangFormat-Info.plist, add the UUID from above as a new item under DVTPlugInCompatibilityUUIDs.
@carloe It works,Thank you very much!
@carloe it's not working for me - i do restart xcode
@nyotis did you run the project after you added the UUID, but before you restarted Xcode? If you had previously installed ClangFormat via Alcatraz you may also need to remove the plugin from within Alcatraz before you add it manually, but I am not sure.
I have similar issues. I received a warning from XCode about plugins when restarting the application after updating to Version 6.3.2 (6D2105). I removed the plugin from the alcatraz "package manager" menu within XCode. I made sure that the plugin was manually removed from /Users/slcott/Library/Application Support/Developer/Shared/Xcode/Plug-ins as well as from /Users/slcott/Library/Application Support/Alcatraz/Plug-ins . I restarted XCode. Then reinstalled ClangFormat-Xcode and restarted XCode again. After all this, the formatter still did not appear in the "edit" menu.
Hi guys, I've added the DVTPlugInCompatibilityUUID for Xcode 6.3.2 to the repo — a quick rebuild should fix the problems you're having.
Fixed by 937ef3894ef75ceadf3a46d98067107fcabec776.
It works for me now. Thanks!
Xcode 6.3.2 is different from other versions. After Xcode 6.3.2 installed, Xcode will find the plug-ins folder, if some plug-ins have the same DVTPlugInCompatibilityUUID for 6.3.2, Xcode will ask user to choose "Load Bundle" or "Skip Bundle", and "Skip Bundle" is recommended by Xcode. If user choose "Skip Bundle", the plug-ins would not working, although they have the right DVTPlugInCompatibilityUUID.
sure, it works fine now
On Sat, May 23, 2015 at 12:58 AM, beimen notifications@github.com wrote:
Xcode 6.3.2 is different from other versions. After Xcode 6.3.2 installed, Xcode will find the plug-ins folder, if some plug-ins have the same DVTPlugInCompatibilityUUID for 6.3.2, Xcode will ask user to choose "Load Bundle" or "Skip Bundle", and "Skip Bundle" is recommended by Xcode. If user choose "Skip Bundle", the plug-ins would not working, although they have the right DVTPlugInCompatibilityUUID.
— Reply to this email directly or view it on GitHub https://github.com/travisjeffery/ClangFormat-Xcode/issues/85#issuecomment-104794842 .
i was using tool properly for previous versions, can anyone confirm successful build for latest Xcode?