alcatraz / Alcatraz

Package manager for Xcode
alcatraz.io
MIT License
9.87k stars 1.15k forks source link

Xcode 7.2 #398

Closed koff75 closed 8 years ago

koff75 commented 8 years ago

Hi,

I can't install Alcatraz.

When I compile with Xcode, I have this message : "Could not launch "xcode" " Or when I use the command line : xcrun: error: unable to find utility "xcodebuild", not a developer tool or in PATH

Do you have an idea ?

Thanks :)

jwhitley commented 8 years ago

I'm not sure about the original requester's problem, but I just updated to Xcode 7.2 GM (7C68) from Xcode 7.1 with a working Alcatraz installation. Neither Alcatraz nor my other plugins appeared after the upgrade. I'm a relatively new Alcatraz user, so I guessed that this was normal and went about exiting Xcode and reinstalling:

>> sh ./install-alcatraz.sh

2015-12-08 14:01:31.898 defaults[21384:572113]
The domain/default pair of (/Users/whitley/Library/Preferences/com.apple.dt.Xcode, DVTPlugInManagerNonApplePlugIns-Xcode-7.2) does not exist
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100   590    0   590    0     0   1023      0 --:--:-- --:--:-- --:--:--  1022
 15  106k   15 16975    0     0  14879      0  0:00:07  0:00:01  0:00:06 14879x Alcatraz.xcplugin/
x Alcatraz.xcplugin/Contents/
x Alcatraz.xcplugin/Contents/Info.plist
x Alcatraz.xcplugin/Contents/MacOS/
x Alcatraz.xcplugin/Contents/Resources/
x Alcatraz.xcplugin/Contents/Resources/ATZPackageListTableCellView.nib
x Alcatraz.xcplugin/Contents/Resources/ATZPluginWindowController.nib
x Alcatraz.xcplugin/Contents/Resources/bitbucket_grayscale.tiff
x Alcatraz.xcplugin/Contents/Resources/en.lproj/
x Alcatraz.xcplugin/Contents/Resources/eye_icon.tiff
x Alcatraz.xcplugin/Contents/Resources/git_grayscale.tiff
x Alcatraz.xcplugin/Contents/Resources/github_grayscale.tiff
x Alcatraz.xcplugin/Contents/Resources/link_icon.tiff
x Alcatraz.xcplugin/Contents/Resources/en.lproj/InfoPlist.strings
x Alcatraz.xcplugin/Contents/Resources/en.lproj/Localizable.strings
100  106k  100  106k    0     0  83686      0  0:00:01  0:00:01 --:--:--  570k

Alcatraz successfully installed!!1!🍻  Please restart your Xcode (7.2).

However, after the reinstall, Alcatraz still doesn't appear to be loading. Xcode didn't emit its plugin warning (will it do that again after an upgrade?), Alcatraz's menu item doesn't appear, nor does its shortcut have any effect.

sghiassy commented 8 years ago

I'm having the same issue as @jwhitley. Had a working Alcatraz in 7.1.1 and after upgrading it's all gone.

Shaheen $ rm -rf ~/Library/Application\ Support/Developer/Shared/Xcode/Plug-ins/Alcatraz.xcplugin
Shaheen $ rm -rf ~/Library/Application\ Support/Alcatraz
Shaheen $ curl -fsSL https://raw.githubusercontent.com/supermarin/Alcatraz/deploy/Scripts/install.sh | sh
2015-12-08 15:25:19.577 defaults[6589:805050]
The domain/default pair of (/Users/sghiassy/Library/Preferences/com.apple.dt.Xcode, DVTPlugInManagerNonApplePlugIns-Xcode-7.2) does not exist
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100   590    0   590    0     0    749      0 --:--:-- --:--:-- --:--:--   748
  0     0    0     0    0     0      0      0 --:--:--  0:00:02 --:--:--     0x Alcatraz.xcplugin/
x Alcatraz.xcplugin/Contents/
x Alcatraz.xcplugin/Contents/Info.plist
x Alcatraz.xcplugin/Contents/MacOS/
x Alcatraz.xcplugin/Contents/Resources/
x Alcatraz.xcplugin/Contents/Resources/ATZPackageListTableCellView.nib
x Alcatraz.xcplugin/Contents/Resources/ATZPluginWindowController.nib
x Alcatraz.xcplugin/Contents/Resources/bitbucket_grayscale.tiff
x Alcatraz.xcplugin/Contents/Resources/en.lproj/
x Alcatraz.xcplugin/Contents/Resources/eye_icon.tiff
x Alcatraz.xcplugin/Contents/Resources/git_grayscale.tiff
x Alcatraz.xcplugin/Contents/Resources/github_grayscale.tiff
x Alcatraz.xcplugin/Contents/Resources/link_icon.tiff
x Alcatraz.xcplugin/Contents/Resources/en.lproj/InfoPlist.strings
x Alcatraz.xcplugin/Contents/Resources/en.lproj/Localizable.strings
100  106k  100  106k    0     0  33352      0  0:00:03  0:00:03 --:--:--  111k

Alcatraz successfully installed!!1!🍻  Please restart your Xcode (7.2).
jwhitley commented 8 years ago

@sghiassy See my PR, #399. If you're super-impatient you can build yourself with that patch, but note that all of your plugins will need the same update. I've just filed PRs on the ones I use. Turns out that Xcode plugins must be updated with the UUID of every new Xcode release in order to be loaded by that release.

sghiassy commented 8 years ago

Thanks for the PR @jwhitley. I see that its merged. Does that mean if I reinstall Alcatraz it'll work now?

jwhitley commented 8 years ago

@sghiassy Yep. Yesterday's release of 1.1.15 includes the fix in this PR.