XAlign icon indicating copy to clipboard operation
XAlign copied to clipboard

Not working on Xcode 6.4

Open ricardobed opened this issue 10 years ago • 15 comments

Hi,

It was working fine on Xcode 6.3.2 but it's no longer working. Can you please add the UDID so it can work on Xcode 6.4?

Thanks!

ricardobed avatar Jul 03 '15 05:07 ricardobed

Try this in your terminal:

  1. Get current Xcode UUID

    XCODEUUID=`defaults read /Applications/Xcode.app/Contents/Info DVTPlugInCompatibilityUUID`
    
  2. Write it into the Plug-ins's plist

    for f in ~/Library/Application\ Support/Developer/Shared/Xcode/Plug-ins/*; do defaults write "$f/Contents/Info" DVTPlugInCompatibilityUUIDs -array-add $XCODEUUID; done
    

qfish avatar Jul 03 '15 05:07 qfish

@qfish getting a parse error near `do'

ricardobed avatar Jul 03 '15 05:07 ricardobed

Sorry, please try again.

qfish avatar Jul 03 '15 06:07 qfish

@qfish cool, that works! Thanks!

ricardobed avatar Jul 03 '15 06:07 ricardobed

Any explanation is to what those two lines do in the terminal?

niebloomj avatar Jul 06 '15 13:07 niebloomj

Worked for me. Thanks @qfish - really enjoy using this plugin.

jmtame avatar Jul 15 '15 00:07 jmtame

Could not write domain /Users/Alex/Library/Application Support/Developer/Shared/Xcode/Plug-ins/XAlign.xcplugin/Contents/Info; exiting

I copied your command into my terminal.I got this proplem and I don‘t know how to fix it.

Alex910804 avatar Jul 15 '15 01:07 Alex910804

I have this issue too.

Could not write domain /Users/Alex/Library/Application Support/Developer/Shared/Xcode/Plug-ins/XAlign.xcplugin/Contents/Info; exiting

How to fix this ?

cloay avatar Jul 22 '15 09:07 cloay

Try this, reinstall it.

curl -fsSL http://qfi.sh/XAlign/build/install.sh | sh

qfish avatar Jul 22 '15 10:07 qfish

Hi all,

Via command-line doesnt work for me, weird errors like Installing XAlign... ** CLEAN FAILED **

The following build commands failed:
    Create product structure
(1 failure)
** BUILD FAILED **


The following build commands failed:
    Create product structure
(1 failure)

You have to do the manual way of installing:

Download this package XAlign.tar.gz (link from readme.md) Unpack it, copy or move the XAlign.xcplugin to the following path: ~/Library/Application Support/Developer/Shared/Xcode/Plug-ins/

After this, quit your xcode.

Run in terminal the following commands XCODEUUID=defaults read /Applications/Xcode.app/Contents/Info DVTPlugInCompatibilityUUID

for f in ~/Library/Application\ Support/Developer/Shared/Xcode/Plug-ins/*; do defaults write "$f/Contents/Info" DVTPlugInCompatibilityUUIDs -array-add $XCODEUUID; done

Open your Xcode, and select Load Bundles on the alert

You're good to go!

joeltay17 avatar Jul 30 '15 08:07 joeltay17

@joeltay17 :beers:!!

qfish avatar Jul 30 '15 11:07 qfish

xcode-select: error: tool 'xcodebuild' requires Xcode, but active developer directory '/Library/Developer/CommandLineTools' is a command line tools instance

Xcode7 ......

playmyswift avatar Sep 01 '15 02:09 playmyswift

xcode7 安装失败...

playmyswift avatar Sep 01 '15 02:09 playmyswift

Not working in Xcode 7 :(

Premal-Khetani avatar Sep 23 '15 07:09 Premal-Khetani

the command line worked for me on Xcode7, thanks.

airbob avatar Nov 12 '15 09:11 airbob