krzysztofzablocki / LinkedConsole

Clickable links in your Xcode console, so you never wonder which class logged the message.
http://merowing.info
MIT License
931 stars 63 forks source link

Xcode 8 Extensions #37

Open txaiwieser opened 7 years ago

txaiwieser commented 7 years ago

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! :)

kenji21 commented 7 years ago

πŸ‘

skreutzberger commented 7 years ago

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

kenji21 commented 7 years ago

Pushed three bugreports yesterday :

gaming-hacker commented 7 years ago

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

krzysztofzablocki commented 7 years ago

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

lfarah commented 7 years ago

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

kenji21 commented 7 years ago

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
krzysztofzablocki commented 7 years ago

There is a swift3 branch now, thanks to @samsonjs

kenji21 commented 7 years ago

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