LinkedConsole icon indicating copy to clipboard operation
LinkedConsole copied to clipboard

Xcode 8 Extensions

Open txaiwieser opened this issue 8 years ago β€’ 9 comments

This plugin is not possible today with Xcode 8.

I spoke to an Xcode engineer during wwdc and he recommended opening Radar for new features for the extension points. Everybody should fill one! :)

txaiwieser avatar Jul 07 '16 13:07 txaiwieser

πŸ‘

kenji21 avatar Jul 07 '16 14:07 kenji21

Yep, all existing plugins won’t work anymore with Xcode 8 😒

skreutzberger avatar Jul 08 '16 06:07 skreutzberger

Pushed three bugreports yesterday :

  • for Aviator (jump between test class / class under test ; https://github.com/marksands/Aviator, assuming it should be shipped with xcode...)
  • for an internal plugin like Crayons (custom colors for each project in drop down list in xibs color chooser ; https://github.com/Sephiroth87/Crayons, but simpler : colors are added by using a .clr file (color palette) named like the project in ~/Library/Colors/, the .clr is generated from a build phase using colors listed in a txt file of each project, and shared via source control, maybe a even simpler way is to add a Colors.clr directly in the project...)
  • for KZLinkedConsole of course πŸ‘

kenji21 avatar Jul 08 '16 07:07 kenji21

and another reason, i'm not "upgrading" to xcode 8

gaming-hacker avatar Aug 09 '16 08:08 gaming-hacker

you can unsign Xcode 8 to make it work, also take a look at https://github.com/fpg1503/MakeXcodeGr8Again

krzysztofzablocki avatar Aug 09 '16 12:08 krzysztofzablocki

So if it works with MakeXcodeGr8Again, could we update do Swift 3?

lfarah avatar Sep 22 '16 17:09 lfarah

Got some spindump after having unsigned xcode8... I fixed them by replacing signed xcode :

#!/bin/sh

mv /Applications/Xcode.app/Contents/MacOS/Xcode /Applications/Xcode.app/Contents/MacOS/Xcode.signed
mv /Applications/Xcode.app/Contents/MacOS/Xcode.unsigned /Applications/Xcode.app/Contents/MacOS/Xcode

open /Applications/Xcode.app/

mv /Applications/Xcode.app/Contents/MacOS/Xcode /Applications/Xcode.app/Contents/MacOS/Xcode.unsigned
mv /Applications/Xcode.app/Contents/MacOS/Xcode.signed /Applications/Xcode.app/Contents/MacOS/Xcode

kenji21 avatar Sep 22 '16 19:09 kenji21

There is a swift3 branch now, thanks to @samsonjs

krzysztofzablocki avatar Sep 29 '16 13:09 krzysztofzablocki

OK, the unsigning do not work on Sierra... because all apps must be signed... Then, let's use codesign to resign Xcode :

cat resignXcode8.sh
#!/bin/bash

if [ $# -lt 1 ] ; then
        echo "usage : $(basename $0) /Application/Xcode.app";
        exit -1
fi

XCODE_APP_PATH=$1

/usr/bin/codesign --force --sign "Mac Developer" --timestamp=none /Applications/Xcode.app
/usr/bin/codesign --force --sign "Mac Developer" --timestamp=none /Applications/Xcode.app/Contents/PlugIns/IDEDocViewer.ideplugin

/usr/bin/codesign --force --sign "Mac Developer" --timestamp=none ~/Library/Application\ Support/Developer/Shared/Xcode/Plug-ins/*.xcplugin

kenji21 avatar Oct 17 '16 11:10 kenji21