Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

Anyone using XcodeLegacy script?

Engaged ,
Apr 21, 2015 Apr 21, 2015

Is anybody using this XcodeLegacy script to compile projects from older versions of Xcode?

devernay/xcodelegacy · GitHub

I'm trying to compile the sample plugins from the Illustrator CS6 SDK using Xcode 5.1.1 with a late 2012 iMac running Yosemite 10.10.3, and have run into a wall because Carbon.h is no longer present. I installed the XcodeLegacy script in Xcode 4 a couple of years ago to recompile a CS3 plugin with very minor changes, and it failed miserably, so am reluctant to try it again if there's a simpler solution.

Anyone care to share your thoughts on this? Many thanks in advance...

Rick

TOPICS
SDK
1.0K
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 1 Correct answer

Explorer , May 04, 2015 May 04, 2015

Change the Header path

add "${SDKROOT}" to the begin of "/Developer/Header/FlatCarbon"

it should looks like ${SDKROOT}/Developer/Headers/FlatCarbon

Translate
Adobe
Explorer ,
May 04, 2015 May 04, 2015

Change the Header path

add "${SDKROOT}" to the begin of "/Developer/Header/FlatCarbon"

it should looks like ${SDKROOT}/Developer/Headers/FlatCarbon

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Engaged ,
May 05, 2015 May 05, 2015

Thanks! That solved the Carbon.h error, but now in  I'm getting:

Semantic Issue

Redefinition of 'NSView" as different kind of symbol

In the files AIPanel.h the error occurs at:

  class NSView;

  typedef NSView* AIPanelPlatformWindow;

... and in and AIControlBar.h at:

   class NSView;

   typedef NSView* AIControlBarPlatformWindow;

That's in the unmodified EmptyPanel sample project. I'm running Xcode 5.1.1 under Yosemite with the latest XcodeLegacy script re-installed.

TIA

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Engaged ,
May 07, 2015 May 07, 2015

Thanks losetemper, for giving me the encouragement to keep digging. The link to the CS6 SDK on Adobe's site is broken (404 page), but I found another CS6 SDK in a backup and tried the EmptyPanel sample again. I got a lot of warnings, but it compiled just fine. Great to know it works with Xcode 6, too! 🙂

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Engaged ,
Dec 01, 2015 Dec 01, 2015

Call me reckless for upgrading to El Capitan, OS X 10.11, but I'm struggling again with Xcode 7 for CS6 plugins. For some reason, when I run the XcodeLegacy script, it seems to fail to install the GCC 4.0 and 4.2 compilers. The Xcode package contains Xcode.app/Contents/Developer/usr/bin/gcc-4.0 and 4.2, both aliases to nonexistent destinations. Any suggestions?

TIA -- Rick

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Advocate ,
Dec 02, 2015 Dec 02, 2015
LATEST

My suggestion is don't use XcodeLegacy script:

Can Xcode 7 be used for CS6 plugins?

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines