xcodelegacy icon indicating copy to clipboard operation
xcodelegacy copied to clipboard

Found XCode >= 4.3 ... Error could not find Xcode >= 4.3 in /Applications, cannot install

Open JonLaliberte opened this issue 3 years ago • 1 comments

sudo ./XcodeLegacy-new.sh -osx1010 install *** Info: found Xcode >= 4.3 in /Applications/Xcode.app *** Error: could not find Xcode 4.2 in /Developer/Applications nor Xcode >= 4.3 in /Applications, cannot install

Not sure why this is failing. I'm on 12.4, Xcode 13.4.1, and it is installed at /Applications/Xcode.app

JonLaliberte avatar Jul 25 '22 20:07 JonLaliberte

The issue is that in XCode 13(.4.1 at least) this path doesn't exist:

PLUGINDIR="$XCODEAPP/Contents/PlugIns/Xcode3Core.ideplugin/Contents/SharedSupport/Developer/Library/Xcode/Plug-ins"

Specifically, the path exists up to:

$XCODEAPP/Contents/PlugIns/Xcode3Core.ideplugin/Contents/

There is no "SharedSupport" directory here. It's not clear to me how to fix it though.

For now I've switched to using XCode 12.5.1 on Monterey. I'm able to run it from the command line with:

/Applications/Xcode_12.5.1.app/Contents/MacOS/Xcode &

JonLaliberte avatar Aug 22 '22 15:08 JonLaliberte