Skip to main content
Known Participant
February 18, 2009
Question

Creating A CS4 Version of An Existing CS3 Plugin

  • February 18, 2009
  • 2 replies
  • 330 views
Hi,

I have an existing CS3 plugin and I want to create a CS4 version of it. I have read the porting guide and noted the changes that I have to make to the existing code. I'm not familiar with Xcode so I don't know how would I compile the edited source to make a CS4 version. Do I create a new project to handle the CS4 version (possibly by using DollyXs)? Or is there a much simple or better way? I'm thinking of duplicating the targets in the old Xcode project and modifying the referenced paths to point the SDK CS4 versions of the files... will this be enough?

Thanks in advance...
This topic has been closed for replies.

2 replies

JADarnell
Inspiring
February 18, 2009
jeffsese:

I have used the "duplicate the whole project" route with one variation, to moderate success. I use DollyXs to create the CS4 project and then copy the source files, one by one, to the new project/directory. After creating the project and before I move the source, I compile/link the project just to make sure I have everything pointing at the right place.

I know that some will scoff at my duplication of the codebase and sometimes I agreed with them, but we had one individual who tried to use the same codebase for all versions of InDesign, and whereas it took one of us a couple of days to make a simple change to all six different projects (Mac and Win) it took him three weeks to a month.

In the end you will have to decide for yourself.

R,
John
Inspiring
February 18, 2009
If you have followed the 'adobe' way most of the setting differences between CS3 and CS4 are done by the xconfig files. I would try either creating new targets in the existing project, or the 'hack' route is to duplicate the entire project, open the project in a text editor (right click - show package contents, edit the .pbxproj file) and do search and replace to make the desired edits - e.g replace CS3 with CS4, change path to SDK, etc.

Ian