EditorConfig-Xcode icon indicating copy to clipboard operation
EditorConfig-Xcode copied to clipboard

Not able to install in XCode

Open viskin opened this issue 9 years ago • 6 comments

Installed Alcatraz. Search for "EditorConfig" reveals nothing. XCode 7.3 Any other step needed to make it work?

viskin avatar Sep 02 '16 09:09 viskin

The package is not listed because it was removed from Alcatraz https://github.com/alcatraz/alcatraz-packages/issues/593. The complaint was that the package was dependent on CMake but I can't see how.

mihaipopescu avatar Sep 02 '16 19:09 mihaipopescu

Oh ok. Now I see. Maybe editorconfig-core can be distributed as a precompiled library.

mihaipopescu avatar Sep 02 '16 19:09 mihaipopescu

As a workaround you can fork that repo and revert the commit or faster if you use an existing fork that doesn't have that commit.

Go to: Package Manager -> Settings button -> Load Custom Repository and paste https://raw.github.com/GeekYL/alcatraz-packages/master/packages.json

mihaipopescu avatar Sep 02 '16 19:09 mihaipopescu

I tried, now editorconfig plugin appears. During installation I've got some error (if I remember right, code 65). I added .editorconfig to XCode project, it seems to be ignored.

viskin avatar Sep 03 '16 09:09 viskin

@viskin It's probably related to this:

The problem is that on a standard OS X install these do not build (cmake: command not found), so from an Alcatraz point of view, it look like the plugin is broken. However, for people really wanting to install the plugin, just installing cmake is sufficient to get the "INSTALL" button working.

The problem is that even after a proper install (with the workaround) the plugin simply doesn't work.

I'm not sure how this plugin worked before when it was added to EditorConfig https://github.com/editorconfig/editorconfig/issues/194. Do the .editorconfig files need to be present in the xcode project ?

mihaipopescu avatar Sep 27 '16 21:09 mihaipopescu