xcode 8 installation (thanks to xvim) #498

Open
pvinis opened this Issue Sep 22, 2016 · 50 comments

Comments

Projects
None yet
@pvinis

pvinis commented Sep 22, 2016

https://github.com/XVimProject/XVim/blob/master/INSTALL_Xcode8.md

looky here! i tried it, and it worked. xvim installed and is working, and alcatraz was built and installed. the problem is that i cannot install plugins, i get an error while compiling or something.
im sure some of you guys can figure this out, since you probably know more than me about how to integrate alcatraz.

@pvinis

This comment has been minimized.

Show comment
Hide comment
@pvinis

pvinis Sep 22, 2016

screen shot 2016-09-22 at 13 16 44

thats the error i get btw.

pvinis commented Sep 22, 2016

screen shot 2016-09-22 at 13 16 44

thats the error i get btw.
@augusteo

This comment has been minimized.

Show comment
Hide comment
@augusteo

augusteo Oct 21, 2016

you probably need to selfsign each of the plugins too.

you probably need to selfsign each of the plugins too.

@ame017

This comment has been minimized.

Show comment
Hide comment
@ame017

ame017 Oct 25, 2016

use the under code in terminal to deal with this problem!

find ~/Library/Application\ Support/Developer/Shared/Xcode/Plug-ins -name Info.plist -maxdepth 3 | xargs -I{} defaults write {} DVTPlugInCompatibilityUUIDs -array-add `defaults read /Applications/Xcode.app/Contents/Info.plist DVTPlugInCompatibilityUUID`

ame017 commented Oct 25, 2016

use the under code in terminal to deal with this problem!

find ~/Library/Application\ Support/Developer/Shared/Xcode/Plug-ins -name Info.plist -maxdepth 3 | xargs -I{} defaults write {} DVTPlugInCompatibilityUUIDs -array-add `defaults read /Applications/Xcode.app/Contents/Info.plist DVTPlugInCompatibilityUUID`
@galambalazs

This comment has been minimized.

Show comment
Hide comment
@galambalazs

galambalazs Nov 2, 2016

Does this work for anybody else?

Does this work for anybody else?

@heyehao2008

This comment has been minimized.

Show comment
Hide comment
@heyehao2008

heyehao2008 Nov 4, 2016

Awesome,it works for me. thanks a lot.

Awesome,it works for me. thanks a lot.

@galambalazs

This comment has been minimized.

Show comment
Hide comment
@galambalazs

galambalazs Nov 4, 2016

Okay it works.

Btw the problem was github formatting ate the ` characters in @AMEstudio's post (because it also means code snippet formatting).

The corrected command is:

find ~/Library/Application\ Support/Developer/Shared/Xcode/Plug-ins -name Info.plist -maxdepth 3 | xargs -I{} defaults write {} DVTPlugInCompatibilityUUIDs -array-add `defaults read /Applications/Xcode.app/Contents/Info.plist DVTPlugInCompatibilityUUID`

Note: If it crashes for you, it's probably one of the plugins (not Alcatraz) so you should move all the plugins out of ~/Library/Application Support/Developer/Shared/Xcode/Plug-ins and then move them back one by one, always testing which one causes Xcode to crash.

galambalazs commented Nov 4, 2016

Okay it works.

Btw the problem was github formatting ate the ` characters in @AMEstudio's post (because it also means code snippet formatting).

The corrected command is:

find ~/Library/Application\ Support/Developer/Shared/Xcode/Plug-ins -name Info.plist -maxdepth 3 | xargs -I{} defaults write {} DVTPlugInCompatibilityUUIDs -array-add `defaults read /Applications/Xcode.app/Contents/Info.plist DVTPlugInCompatibilityUUID`

Note: If it crashes for you, it's probably one of the plugins (not Alcatraz) so you should move all the plugins out of ~/Library/Application Support/Developer/Shared/Xcode/Plug-ins and then move them back one by one, always testing which one causes Xcode to crash.

@DoctorG

This comment has been minimized.

Show comment
Hide comment
@DoctorG

DoctorG Nov 6, 2016

Has anyone had success with 8.1? I had it working on 8.0 but now not working again following same steps as last time...

DoctorG commented Nov 6, 2016

Has anyone had success with 8.1? I had it working on 8.0 but now not working again following same steps as last time...

@DoctorG

This comment has been minimized.

Show comment
Hide comment
@DoctorG

DoctorG Nov 7, 2016

I'm answering my own question for 8.1:

  • Go into your Alcatraz Clone and open Alcatraz-Info.plist:

screen shot 2016-11-06 at 7 42 37 pm

- Paste this into the bottom of the **DVTPlugInCompatibilityUUID** Array

DA4FDFD8-C509-4D8B-8B55-84A7B66AE701

screen shot 2016-11-06 at 7 42 59 pm

- Rebuild CMD-B. Close & reopen Xcode, and voila....

screen shot 2016-11-06 at 7 41 54 pm

DoctorG commented Nov 7, 2016

I'm answering my own question for 8.1:

  • Go into your Alcatraz Clone and open Alcatraz-Info.plist:

screen shot 2016-11-06 at 7 42 37 pm

- Paste this into the bottom of the **DVTPlugInCompatibilityUUID** Array

DA4FDFD8-C509-4D8B-8B55-84A7B66AE701

screen shot 2016-11-06 at 7 42 59 pm

- Rebuild CMD-B. Close & reopen Xcode, and voila....

screen shot 2016-11-06 at 7 41 54 pm

@brettwellmanmbo

This comment has been minimized.

Show comment
Hide comment
@brettwellmanmbo

brettwellmanmbo Nov 22, 2016

Thanks, @DoctorG. Interestingly, after following the described steps, I get the message on xCode launch about loading the non-Apple bundle, however, Package Manager still doesn't show. Stumped.

Thanks, @DoctorG. Interestingly, after following the described steps, I get the message on xCode launch about loading the non-Apple bundle, however, Package Manager still doesn't show. Stumped.

@DoctorG

This comment has been minimized.

Show comment
Hide comment
@DoctorG

DoctorG Nov 22, 2016

Mine now doing the same. Can't explain. 😒

Sent from my iPhone 7+

On Nov 22, 2016, at 5:47 PM, Brett Wellman notifications@github.com wrote:

Thanks, @DoctorG. Interestingly, after following the described steps, I get the message on xCode launch about loading the non-Apple bundle, however, Package Manager still doesn't show. Stumped.


You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.

DoctorG commented Nov 22, 2016

Mine now doing the same. Can't explain. 😒

Sent from my iPhone 7+

On Nov 22, 2016, at 5:47 PM, Brett Wellman notifications@github.com wrote:

Thanks, @DoctorG. Interestingly, after following the described steps, I get the message on xCode launch about loading the non-Apple bundle, however, Package Manager still doesn't show. Stumped.


You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.

@MKGitHub

This comment has been minimized.

Show comment
Hide comment
@MKGitHub

MKGitHub Nov 26, 2016

I made it work with xvim.
2016-11-26 at 12 27 51

I made it work with xvim.
2016-11-26 at 12 27 51

@4x10m

This comment has been minimized.

Show comment
Hide comment
@4x10m

4x10m Nov 27, 2016

@MKGitHub maybe you can explain more ....

4x10m commented Nov 27, 2016

@MKGitHub maybe you can explain more ....

@tanpengsccd

This comment has been minimized.

Show comment
Hide comment
@tanpengsccd

tanpengsccd Nov 29, 2016

I get a conclusion :
Xcode 8.1 Sierra

  1. do as https://github.com/XVimProject/XVim/blob/master/INSTALL_Xcode8.md ,Xvim is not necessary。
  2. do as DoctorG steps
  3. when u install pluins do as AMEstudio in ternimal find ~/Library/Application\ Support/Developer/Shared/Xcode/Plug-ins -name Info.plist -maxdepth 3 | xargs -I{} defaults write {} DVTPlugInCompatibilityUUIDs -array-add `defaults read /Applications/Xcode.app/Contents/Info.plist DVTPlugInCompatibilityUUID
  4. when U install a new pluins ,u need find ~/Library/Application\ Support/Developer/Shared/Xcode/Plug-ins -name Info.plist -maxdepth 3 | xargs -I{} defaults write {} DVTPlugInCompatibilityUUIDs -array-add `defaults read /Applications/Xcode.app/Contents/Info.plist DVTPlugInCompatibilityUUID again.

en it works for me !

tanpengsccd commented Nov 29, 2016

I get a conclusion :
Xcode 8.1 Sierra

  1. do as https://github.com/XVimProject/XVim/blob/master/INSTALL_Xcode8.md ,Xvim is not necessary。
  2. do as DoctorG steps
  3. when u install pluins do as AMEstudio in ternimal find ~/Library/Application\ Support/Developer/Shared/Xcode/Plug-ins -name Info.plist -maxdepth 3 | xargs -I{} defaults write {} DVTPlugInCompatibilityUUIDs -array-add `defaults read /Applications/Xcode.app/Contents/Info.plist DVTPlugInCompatibilityUUID
  4. when U install a new pluins ,u need find ~/Library/Application\ Support/Developer/Shared/Xcode/Plug-ins -name Info.plist -maxdepth 3 | xargs -I{} defaults write {} DVTPlugInCompatibilityUUIDs -array-add `defaults read /Applications/Xcode.app/Contents/Info.plist DVTPlugInCompatibilityUUID again.

en it works for me !

@malhobayyeb

This comment has been minimized.

Show comment
Hide comment
@malhobayyeb

malhobayyeb Dec 5, 2016

I had to use sudo for step # 3

I had to use sudo for step # 3

@mediter

This comment has been minimized.

Show comment
Hide comment
@mediter

mediter Dec 7, 2016

did not work for me.

tried three kind of the find & xargs commands:

I just copy and pasted the commands provided in this discussion thread.

screen shot 2016-12-08 at 12 00 39 am

screen shot 2016-12-08 at 12 00 55 am

screen shot 2016-12-08 at 12 01 03 am

mediter commented Dec 7, 2016

did not work for me.

tried three kind of the find & xargs commands:

I just copy and pasted the commands provided in this discussion thread.

screen shot 2016-12-08 at 12 00 39 am

screen shot 2016-12-08 at 12 00 55 am

screen shot 2016-12-08 at 12 01 03 am

@mediter

This comment has been minimized.

Show comment
Hide comment
@mediter

mediter Dec 7, 2016

after a few experiments, the following code worked for me:

find ~/Library/Application\ Support/Developer/Shared/Xcode/Plug-ins -name Info.plist -maxdepth 3 | xargs -I{} defaults write {} DVTPlugInCompatibilityUUIDs -array-add $(defaults read /Applications/Xcode.app/Contents/Info.plist DVTPlugInCompatibilityUUID)

mediter commented Dec 7, 2016

after a few experiments, the following code worked for me:

find ~/Library/Application\ Support/Developer/Shared/Xcode/Plug-ins -name Info.plist -maxdepth 3 | xargs -I{} defaults write {} DVTPlugInCompatibilityUUIDs -array-add $(defaults read /Applications/Xcode.app/Contents/Info.plist DVTPlugInCompatibilityUUID)

@mediter

This comment has been minimized.

Show comment
Hide comment
@mediter

mediter Dec 7, 2016

alternatively, save the following code as a .sh file:

// code begins
xcodeid="$(defaults read /Applications/Xcode.app/Contents/Info.plist DVTPlugInCompatibilityUUID)"

echo "${xcodeid}"

find ~/Library/Application\ Support/Developer/Shared/Xcode/Plug-ins -name Info.plist -maxdepth 3 | xargs -I{} defaults write {} DVTPlugInCompatibilityUUIDs -array-add $xcodeid
// code ends

do "chmod 755 yourfilenamehere.sh" to make it executable, then you can use it by running "sh yourfilenamehere.sh"

mediter commented Dec 7, 2016

alternatively, save the following code as a .sh file:

// code begins
xcodeid="$(defaults read /Applications/Xcode.app/Contents/Info.plist DVTPlugInCompatibilityUUID)"

echo "${xcodeid}"

find ~/Library/Application\ Support/Developer/Shared/Xcode/Plug-ins -name Info.plist -maxdepth 3 | xargs -I{} defaults write {} DVTPlugInCompatibilityUUIDs -array-add $xcodeid
// code ends

do "chmod 755 yourfilenamehere.sh" to make it executable, then you can use it by running "sh yourfilenamehere.sh"

@oxoxoxox

This comment has been minimized.

Show comment
Hide comment
@oxoxoxox

oxoxoxox Dec 8, 2016

Actually, the "defaults read /Applications/Xcode.app/Contents/Info.plist DVTPlugInCompatibilityUUID" should be quoted by the symbol (`) (the ESC key), not the symbol (\') or the symbol (') (the key in the left of ENTER key)

OR just do as @mediter said.

oxoxoxox commented Dec 8, 2016

Actually, the "defaults read /Applications/Xcode.app/Contents/Info.plist DVTPlugInCompatibilityUUID" should be quoted by the symbol (`) (the ESC key), not the symbol (\') or the symbol (') (the key in the left of ENTER key)

OR just do as @mediter said.

@mediter

This comment has been minimized.

Show comment
Hide comment
@mediter

mediter Dec 8, 2016

Thanks for the explanation @oxoxoxox ! Quite a detail! No wonder it didn't work for me.

mediter commented Dec 8, 2016

Thanks for the explanation @oxoxoxox ! Quite a detail! No wonder it didn't work for me.

@tanpengsccd

This comment has been minimized.

Show comment
Hide comment
@tanpengsccd

tanpengsccd Dec 13, 2016

8.2 worked too !

tanpengsccd commented Dec 13, 2016

8.2 worked too !

@JustToBeBetter

This comment has been minimized.

Show comment
Hide comment
@JustToBeBetter

JustToBeBetter Dec 15, 2016

1.do as https://github.com/XVimProject/XVim/blob/master/INSTALL_Xcode8.md
2.do what galambalazs did.
3.find ~/Library/Application\ Support/Developer/Shared/Xcode/Plug-ins -name Info.plist -maxdepth 3 | xargs -I{} defaults write {} DVTPlugInCompatibilityUUIDs -array-add $(defaults read /Applications/Xcode.app/Contents/Info.plist DVTPlugInCompatibilityUUID)

it works for xcode8.2

1.do as https://github.com/XVimProject/XVim/blob/master/INSTALL_Xcode8.md
2.do what galambalazs did.
3.find ~/Library/Application\ Support/Developer/Shared/Xcode/Plug-ins -name Info.plist -maxdepth 3 | xargs -I{} defaults write {} DVTPlugInCompatibilityUUIDs -array-add $(defaults read /Applications/Xcode.app/Contents/Info.plist DVTPlugInCompatibilityUUID)

it works for xcode8.2

@alanhamlett alanhamlett referenced this issue in wakatime/xcode-wakatime Dec 16, 2016

Closed

XCode 8.1 and WakaTime / Alcatraz #19

@VansonLeung

This comment has been minimized.

Show comment
Hide comment
@VansonLeung

VansonLeung Dec 22, 2016

Bookmarked! Genius!!

Bookmarked! Genius!!

@VansonLeung

This comment has been minimized.

Show comment
Hide comment
@VansonLeung

VansonLeung Dec 22, 2016

Great! I just have got my Wakatime and GitDiff back!

Great! I just have got my Wakatime and GitDiff back!

@yweiquan

This comment has been minimized.

Show comment
Hide comment
@yweiquan

yweiquan Jan 18, 2017

8.2.1 works too.

Here is exactly what I did:

$ sudo codesign -f -s XcodeSigner /Applications/Xcode.app
  • Download XVim
$ git clone https://github.com/XVimProject/XVim.git
  • Confirm xcode-select points to your Xcode
$ xcode-select -p
/Applications/Xcode.app/Contents/Developer
  • Make XVim
$ make

Press y to use XVim with your Xcode version

  • Download Alcatraz
$ git clone https://github.com/alcatraz/Alcatraz.git
  • Open Alcatraz with Xcode and build
  • Close Xcode
  • Do the final command, and then restart Xcode
$ find ~/Library/Application\ Support/Developer/Shared/Xcode/Plug-ins -name Info.plist -maxdepth 3 | xargs -I{} defaults write {} DVTPlugInCompatibilityUUIDs -array-add `defaults read /Applications/Xcode.app/Contents/Info.plist DVTPlugInCompatibilityUUID`

Good Luck.

yweiquan commented Jan 18, 2017

8.2.1 works too.

Here is exactly what I did:

$ sudo codesign -f -s XcodeSigner /Applications/Xcode.app
  • Download XVim
$ git clone https://github.com/XVimProject/XVim.git
  • Confirm xcode-select points to your Xcode
$ xcode-select -p
/Applications/Xcode.app/Contents/Developer
  • Make XVim
$ make

Press y to use XVim with your Xcode version

  • Download Alcatraz
$ git clone https://github.com/alcatraz/Alcatraz.git
  • Open Alcatraz with Xcode and build
  • Close Xcode
  • Do the final command, and then restart Xcode
$ find ~/Library/Application\ Support/Developer/Shared/Xcode/Plug-ins -name Info.plist -maxdepth 3 | xargs -I{} defaults write {} DVTPlugInCompatibilityUUIDs -array-add `defaults read /Applications/Xcode.app/Contents/Info.plist DVTPlugInCompatibilityUUID`

Good Luck.

@Huang-Libo

This comment has been minimized.

Show comment
Hide comment
@Huang-Libo

Huang-Libo Jan 22, 2017

@yweiquan
Works on 8.2 😁

@yweiquan
Works on 8.2 😁

@web-differently

This comment has been minimized.

Show comment
Hide comment
@web-differently

web-differently Jan 23, 2017

yes it's work but licence xcode is not good) it is not probleme of publication app in appstore

web-differently commented Jan 23, 2017

yes it's work but licence xcode is not good) it is not probleme of publication app in appstore

@alanhamlett

This comment has been minimized.

Show comment
Hide comment
@alanhamlett

alanhamlett Feb 16, 2017

Contributor

@web-differently use https://github.com/fpg1503/MakeXcodeGr8Again then run codesign pointing to the copied XcodeGr8.app so your original Xcode can be used for publishing apps.

Contributor

alanhamlett commented Feb 16, 2017

@web-differently use https://github.com/fpg1503/MakeXcodeGr8Again then run codesign pointing to the copied XcodeGr8.app so your original Xcode can be used for publishing apps.

@QSKOBE24

This comment has been minimized.

Show comment
Hide comment
@QSKOBE24

QSKOBE24 Feb 17, 2017

Thanks yweiquan it works well on 8.2

Thanks yweiquan it works well on 8.2

@alanhamlett

This comment has been minimized.

Show comment
Hide comment
@alanhamlett

alanhamlett Feb 17, 2017

Contributor

To make things easier, you can use this shell script to automate the XVim steps:

curl -fsSL https://raw.githubusercontent.com/alanhamlett/MakeXcodeGr8Again/master/selfsign.sh | bash

By default that script signs a copied XcodeGr8.app created after running MakeXcodeGr8Again. Alternatively, you can overwrite your Xcode.app by running:

export APP=/Applications/Xcode.app; curl -fsSL https://raw.githubusercontent.com/alanhamlett/MakeXcodeGr8Again/master/selfsign.sh | bash
Contributor

alanhamlett commented Feb 17, 2017

To make things easier, you can use this shell script to automate the XVim steps:

curl -fsSL https://raw.githubusercontent.com/alanhamlett/MakeXcodeGr8Again/master/selfsign.sh | bash

By default that script signs a copied XcodeGr8.app created after running MakeXcodeGr8Again. Alternatively, you can overwrite your Xcode.app by running:

export APP=/Applications/Xcode.app; curl -fsSL https://raw.githubusercontent.com/alanhamlett/MakeXcodeGr8Again/master/selfsign.sh | bash
@akshetpandey

This comment has been minimized.

Show comment
Hide comment
@akshetpandey

akshetpandey Feb 23, 2017

@alanhamlett It would be great is the script copied Xcode.app to XcodeGr8.app

@alanhamlett It would be great is the script copied Xcode.app to XcodeGr8.app

@evliu

This comment has been minimized.

Show comment
Hide comment
@evliu

evliu Mar 27, 2017

I got a working and signed version of XcodeGr8 but not seeing the Alcatraz package manager in the menu. Anyone have any thoughts? This is for XcodeGr8 @ 8.2.1

evliu commented Mar 27, 2017

I got a working and signed version of XcodeGr8 but not seeing the Alcatraz package manager in the menu. Anyone have any thoughts? This is for XcodeGr8 @ 8.2.1

@Huang-Libo

This comment has been minimized.

Show comment
Hide comment
@Huang-Libo

Huang-Libo Mar 28, 2017

How can I recover Xcode's default sign?

How can I recover Xcode's default sign?

@JsonFu

This comment has been minimized.

Show comment
Hide comment
@JsonFu

JsonFu Apr 7, 2017

it work for me, xcode 8.2.1 show: window-->packageMangeer
find ~/Library/Application\ Support/Developer/Shared/Xcode/Plug-ins -name Info.plist -maxdepth 3 | xargs -I{} defaults write {} DVTPlugInCompatibilityUUIDs -array-add $(defaults read /Applications/Xcode.app/Contents/Info.plist DVTPlugInCompatibilityUUID)

JsonFu commented Apr 7, 2017

it work for me, xcode 8.2.1 show: window-->packageMangeer
find ~/Library/Application\ Support/Developer/Shared/Xcode/Plug-ins -name Info.plist -maxdepth 3 | xargs -I{} defaults write {} DVTPlugInCompatibilityUUIDs -array-add $(defaults read /Applications/Xcode.app/Contents/Info.plist DVTPlugInCompatibilityUUID)

@rlam3

This comment has been minimized.

Show comment
Hide comment
@rlam3

rlam3 Apr 27, 2017

How do I install for 8.3.2? I don't see the Package Manager Cell.

rlam3 commented Apr 27, 2017

How do I install for 8.3.2? I don't see the Package Manager Cell.

@alanhamlett

This comment has been minimized.

Show comment
Hide comment
@alanhamlett

alanhamlett May 2, 2017

Contributor

@rlam3 run this Terminal command:

curl -fsSL https://raw.githubusercontent.com/wakatime/xcode-wakatime/master/install.sh | sh

Contributor

alanhamlett commented May 2, 2017

@rlam3 run this Terminal command:

curl -fsSL https://raw.githubusercontent.com/wakatime/xcode-wakatime/master/install.sh | sh

@stek29

This comment has been minimized.

Show comment
Hide comment
@stek29

stek29 May 4, 2017

btw, Alcatraz seems to break TouchBar simulation. Here's what I see in terminal:

Details:  Unable to find windows menu item for `Xcode.IDEKit.CmdDefinition.Products'. Simulator menu item may be in the wrong position.
Object:   <IDETouchBarSimulatorManager: 0x7fb0a4a26c90>
Method:   -installMenuItems
Thread:   <NSThread: 0x7fb0a1d17230>{number = 1, name = main}
Please file a bug at http://bugreport.apple.com with this warning message and any useful information you can provide.```

Notice the `item may be in the wrong position` message

Not sure if it's Xcode 8.3.1 specific issue or not.

stek29 commented May 4, 2017

btw, Alcatraz seems to break TouchBar simulation. Here's what I see in terminal:

Details:  Unable to find windows menu item for `Xcode.IDEKit.CmdDefinition.Products'. Simulator menu item may be in the wrong position.
Object:   <IDETouchBarSimulatorManager: 0x7fb0a4a26c90>
Method:   -installMenuItems
Thread:   <NSThread: 0x7fb0a1d17230>{number = 1, name = main}
Please file a bug at http://bugreport.apple.com with this warning message and any useful information you can provide.```

Notice the `item may be in the wrong position` message

Not sure if it's Xcode 8.3.1 specific issue or not.
@CoderXLLau

This comment has been minimized.

Show comment
Hide comment
@CoderXLLau

CoderXLLau May 25, 2017

@alanhamlett It doesn't works on Xcode 8.3.2

@alanhamlett It doesn't works on Xcode 8.3.2

@stek29

This comment has been minimized.

Show comment
Hide comment
@stek29

stek29 May 25, 2017

@alanhamlett Suggesting users to install some third-party plug-in just to get Alcatraz is a bad idea.

@CoderXLLau You should remove codesigning from Xcode (or resign it), if you want it to load plugins.
Please read https://github.com/XVimProject/XVim/blob/master/INSTALL_Xcode8.md.
You don't have to resign whole Xcode.app, just resigning Contents/MacOS/Xcode would be enough.

I just removed signature with https://github.com/steakknife/unsign
image

Btw, keep in mind that it can break Xcode update from App Store.

stek29 commented May 25, 2017

@alanhamlett Suggesting users to install some third-party plug-in just to get Alcatraz is a bad idea.

@CoderXLLau You should remove codesigning from Xcode (or resign it), if you want it to load plugins.
Please read https://github.com/XVimProject/XVim/blob/master/INSTALL_Xcode8.md.
You don't have to resign whole Xcode.app, just resigning Contents/MacOS/Xcode would be enough.

I just removed signature with https://github.com/steakknife/unsign
image

Btw, keep in mind that it can break Xcode update from App Store.

@alanhamlett

This comment has been minimized.

Show comment
Hide comment
@alanhamlett

alanhamlett May 25, 2017

Contributor

@stek29 use this command to re-sign Xcode and install only Alcatraz:

curl -fsSL https://raw.githubusercontent.com/alanhamlett/MakeXcodeGr8Again/master/selfsign.sh | sh

More info here:
https://github.com/alanhamlett/MakeXcodeGr8Again#non-gui-version

Contributor

alanhamlett commented May 25, 2017

@stek29 use this command to re-sign Xcode and install only Alcatraz:

curl -fsSL https://raw.githubusercontent.com/alanhamlett/MakeXcodeGr8Again/master/selfsign.sh | sh

More info here:
https://github.com/alanhamlett/MakeXcodeGr8Again#non-gui-version

@stek29

This comment has been minimized.

Show comment
Hide comment
@stek29

stek29 May 25, 2017

@alanhamlett And it would also re-sign Xcode with pregenerated key.
Even just unsigning is better -- it doesn't give you illusion of being secure.

stek29 commented May 25, 2017

@alanhamlett And it would also re-sign Xcode with pregenerated key.
Even just unsigning is better -- it doesn't give you illusion of being secure.

@alanhamlett

This comment has been minimized.

Show comment
Hide comment
@alanhamlett

alanhamlett May 26, 2017

Contributor

@stek29 Xcode won't load plugins with just unsigning, which is why the xvim instructions also selfsign Xcode. Maybe Apple will support plugins some day, but until then use the above script.

Contributor

alanhamlett commented May 26, 2017

@stek29 Xcode won't load plugins with just unsigning, which is why the xvim instructions also selfsign Xcode. Maybe Apple will support plugins some day, but until then use the above script.

@stek29

This comment has been minimized.

Show comment
Hide comment
@stek29

stek29 May 26, 2017

@alanhamlett I have unsigned Xcode, and it loads plugins and works perfectly fine.
image

However, having unsigned Xcode can cause issues with keychain.

Just Xcode executable is unsigned, everything else was not changed (that's why xcodebuild doesn't load plugins for example -- but I don't need plugins in xcodebuild)

stek29 commented May 26, 2017

@alanhamlett I have unsigned Xcode, and it loads plugins and works perfectly fine.
image

However, having unsigned Xcode can cause issues with keychain.

Just Xcode executable is unsigned, everything else was not changed (that's why xcodebuild doesn't load plugins for example -- but I don't need plugins in xcodebuild)

@davroux

This comment has been minimized.

Show comment
Hide comment
@davroux

davroux Jun 19, 2017

How do you make it work for 8.3.3 ?

davroux commented Jun 19, 2017

How do you make it work for 8.3.3 ?

@stek29

This comment has been minimized.

Show comment
Hide comment
@stek29

stek29 Jun 19, 2017

@davroux

  1. Patch DVTPlugInCompatibilityUUID (or install DVTPlugInCompatibilityUUIDifier plugin)
find ~/Library/Application\ Support/Developer/Shared/Xcode/Plug-ins -name Info.plist -maxdepth 3 | xargs -I{} defaults write {} DVTPlugInCompatibilityUUIDs -array-add `defaults read /Applications/Xcode.app/Contents/Info.plist DVTPlugInCompatibilityUUID
  1. Resign/Unsign Xcode:
    See https://github.com/XVimProject/XVim/blob/master/INSTALL_Xcode8.md.
    I personally prefer to just unsign Xcode:
git clone https://github.com/steakknife/unsign && cd unsign && make
export PATH="$PWD:$PATH"
cd /Applications/Xcode.app/Contents/MacOS
sudo unsign Xcode
sudo mv Xcode Xcode.signed
sudo mv Xcode.unsigned Xcode
  1. In case you just unsigned Xcode, keep in mind that xcodebuild won't load plugins too, unless un/resigned

stek29 commented Jun 19, 2017

@davroux

  1. Patch DVTPlugInCompatibilityUUID (or install DVTPlugInCompatibilityUUIDifier plugin)
find ~/Library/Application\ Support/Developer/Shared/Xcode/Plug-ins -name Info.plist -maxdepth 3 | xargs -I{} defaults write {} DVTPlugInCompatibilityUUIDs -array-add `defaults read /Applications/Xcode.app/Contents/Info.plist DVTPlugInCompatibilityUUID
  1. Resign/Unsign Xcode:
    See https://github.com/XVimProject/XVim/blob/master/INSTALL_Xcode8.md.
    I personally prefer to just unsign Xcode:
git clone https://github.com/steakknife/unsign && cd unsign && make
export PATH="$PWD:$PATH"
cd /Applications/Xcode.app/Contents/MacOS
sudo unsign Xcode
sudo mv Xcode Xcode.signed
sudo mv Xcode.unsigned Xcode
  1. In case you just unsigned Xcode, keep in mind that xcodebuild won't load plugins too, unless un/resigned
@moheny

This comment has been minimized.

Show comment
Hide comment
@moheny

moheny Jul 11, 2017

is it safe to do these changes? I want to install it at my work house.

moheny commented Jul 11, 2017

is it safe to do these changes? I want to install it at my work house.

@daipeihust

This comment has been minimized.

Show comment
Hide comment
@daipeihust

daipeihust Sep 6, 2017

@yweiquan
It works on Xcode 8.3
I find that you should quit your Xcode and run the following command after you install each plugin by Alcatraz

$ find ~/Library/Application\ Support/Developer/Shared/Xcode/Plug-ins -name Info.plist -maxdepth 3 | xargs -I{} defaults write {} DVTPlugInCompatibilityUUIDs -array-adddefaults read /Applications/Xcode.app/Contents/Info.plist DVTPlugInCompatibilityUUID

then you restart your Xcode, It will load your installed plugins

@yweiquan
It works on Xcode 8.3
I find that you should quit your Xcode and run the following command after you install each plugin by Alcatraz

$ find ~/Library/Application\ Support/Developer/Shared/Xcode/Plug-ins -name Info.plist -maxdepth 3 | xargs -I{} defaults write {} DVTPlugInCompatibilityUUIDs -array-adddefaults read /Applications/Xcode.app/Contents/Info.plist DVTPlugInCompatibilityUUID

then you restart your Xcode, It will load your installed plugins

@sunocean

This comment has been minimized.

Show comment
Hide comment
@sunocean

sunocean Sep 26, 2017

it also works on xcode 9

sunocean commented Sep 26, 2017

it also works on xcode 9

@Przytua

This comment has been minimized.

Show comment
Hide comment
@Przytua

Przytua Oct 17, 2017

Does this actually work for you in Xcode 9? I managed to install Alcatraz, and some plugins, they're showing in menus, but none of them is actually working (BlockJump, Auto-Importer, ATAutoCompletion, Aviator)
zrzut ekranu 2017-10-17 o 11 02 29

Przytua commented Oct 17, 2017

Does this actually work for you in Xcode 9? I managed to install Alcatraz, and some plugins, they're showing in menus, but none of them is actually working (BlockJump, Auto-Importer, ATAutoCompletion, Aviator)
zrzut ekranu 2017-10-17 o 11 02 29

@sunocean

This comment has been minimized.

Show comment
Hide comment
@sunocean

sunocean Oct 17, 2017

@Przytua you need turn to BlockJump and other project for help.

@Przytua you need turn to BlockJump and other project for help.

@VansonLeung

This comment has been minimized.

Show comment
Hide comment
@VansonLeung

VansonLeung Oct 25, 2017

This project is doomed

This project is doomed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment