Skip to main content
Lazlo_Hollyfeld
Inspiring
May 31, 2013
Question

Running "Build 'em All" example Xcode project wiped out MediaCore folder

  • May 31, 2013
  • 1 reply
  • 974 views

I'm having a hard time setting up Xcode to properly compile the example code into a debug product build that eventually ends up in the MediaCore folder.

I initially got it to work simply by clicking the 'Run' button on the 'Skeleton' and 'Checkout' projects. 

Then I decided to just build them all, and pressed 'Run' while I had the 'Buildall' selected.  Seemed like everything ran okay, but then AE was starting to act buggy.  Told me Quicktime wasn't installed, etc.  I noticed that all my plugins were missing, and sure enough the entire MediaCore folder seemed to be overwritten.  Do I have to re-install AE and all my plugins to get those back?

Most importantly, though, is why did running the 'Buildall' project wipe out the folder of everything?

I read this in the SDK guide:

We’ve combined the sample projects into a single master project, stored in the Examples folder of the SDK. For Mac OS, it is Buildall.xcodeproj; for Windows, it is BuildAll.sln.

In your IDE, you’ll need to change the output folder of your project to build into After Effects’ plug-in folder. For development, we recommend using the following path for Mac

OS: /Library/Application Support/Adobe/Common/Plug-ins/[CS version]/MediaCore/

for example: /Library/Application Support/Adobe/Common/Plug-ins/CS6/MediaCore/

So, I set absolute paths for the build location in my project settings dialog, in the locations tab.  I placed 'intermiediates' in a different folder from 'products'. 

I just need to know they best way to configure Xcode 4.5 to output the example projects in the correct manner.  I'm afraid I'm going to have to reinstall the plugins.

Thanks!

Removed incorrect image.

This topic has been closed for replies.

1 reply

Community Expert
May 31, 2013

hi Lazlo Hollyfeld! welcome to the dark side... :-)

set to build directory to any folder you like (i created a nice folder called "build64"),

then just put a shortcut from AE's "blug-ins" folder to you build folder.

yes, AE does shortcuts.

leave media core alone...

Lazlo_Hollyfeld
Inspiring
May 31, 2013

Wait, why is it the darkside? 

Anways, that's a good suggestion.  I'll begin that way!

Thanks!

Inspiring
May 31, 2013

Another option in XCode 4.5 is in File > Project Settings > Build > Advanced, you can set the Build Location to Custom, choose an Absolute path, and set it to your desired destination.  I tend to build to a subfolder of the shared MediaCore folder.