We do not yet have documentation for XCode 4, mostly because we are waiting for a long list of bugs to be fixed in XCode 4 before we can attempt to use it.
You can just upgrade the old example projects and hope they load into XCode 4, or you can wait for the missing features and bugs to be addressed by Apple.
Is there any update to this issue? I'm trying to compile all the samples in Xcode4 with the 10.6 and 10.7 SDK's and I'm getting a ton of compiler errors.
What's the best approach at this time? Download Xcode3 and 10.5 SDK?
Same problem here.
XCode 3 is only supported under SnowLeopard, but when you want to develop for iOS as well, you need the latest XCode 4, wihich only runs under Lion. And MountainLion is only a few weeks away. Not a very good situation.
When will there be an upgrade of the SDK to actual versions?
I have the same problem, trying do make the dissolve filter (CS5 or CS6) compile under Lion, with XCode 4, without success. You mention XCode 3.5 -- I have never heard about that. The latest XCode 3 I can find is 3.2.6. Can we get 3.5 by suscribing to the Mac deveoper programm?
Many thanks for your support.
I'm looking for an answer for this as well. I'm a learning programmer, and would like to compile with the latest XCode. The recommended version (3.1.2) is from 2009 - which is quite old. Does anyone know if it's possible to compile with the most recent 3.x version, and if XCode 3 and XCode 4 will co-exist on the same Mac?
Still no clue whether XCode 3.5 exists, but 3.2.6 actually runs fine under Lion (see e.g. this discussion). From the little testing I have done it seems to co-exist well with XCode 4. But the most important thing is that it allowes me to compile my plug-ins for Photoshop CS5, right under Lion.
That said, doing everything in XCode 4 would be preferable, so good luck to Adobe (and Apple) for fixing the "problems" .
Yeah, I heard rumours about these "problems" that Apple and Adobe seem to have with each other.
Thanks a lot for your reply, it gave me confidence to do the install. I followed the instructions at this page: http://anatomicwax.tumblr.com/post/8064949186/installing-xcode-3-2-6-o n-lion-redux and it installed just fine. Have both running in parallell now, and they don't seem to cause issues with each other. Compiled my first Photoshop plugins (tons of warnings, but ran fine), so I'm good to go! Cheers!
Is there any update on that?
Could you upload the simplest template of Photoshop Plug In which compiles on MAC OS X 10.8 using XCode 4.6?
Has anyone managed to compile a plug in on the latest XCode and MAC OS X?
We bought Cloud Subscritpion only to start developing for Adobe Photoshop CS6 and it seems we can't.
I am using XCode 4.6 on MAC OS X 10.8,
None of the SDK samples works out of the box.
I'd be happy if you told me how to make any of the filters examples to work.
What do you mean by "update the base SDK if needed"?
I think it has something to do with the code assuming some basic MAC libraries which don't exist any more.
I only need CS5 / CS6 64 bit support.
I don't even need any GUI.
The base SDK is a setting in the build settings of the XCode project.
Honestly, I don't know why you're having so much trouble with trivial updates between XCode versions (and every major XCode update requires these changes).
It's a brand new MAC.
I didn't upgrade anything.
I just, for the first time, launched the project and tried compiling.
It didn't work.
The samples from the After Effects SDK worked.
Could you guide me and the others on this thread how to compile successfully the samples?
At least the filter samples.
I had the same problem with a fresh Mac OS X10.8 and Xcode 4. I tried a lot of things to get it working, including copying the (OSX) 10.6 SDK. The problem seems to stem from having a fresh Mac (as others have suggested above).
It remained not working until I was temporarily moved to another project which required installing the Xcode command line tools (plus a bunch of other stuff). When I returned to the Photoshop SDK project I found a Photoshop project called Build All, which I compiled - all ok.
I then tried compiling the dissolve project which didn't work, so I switched the target platform SDK to 10.7. It now compiled 100% (whereas before it didn't).
It now compiles with no problem, I'm not 100% sure, but I think installing the Xcode command line tools fixed it (I have no idea why).
Also, I forgot to mention that I had problems debugging.
- I couldn't get Adobe Photoshop CS6 to 'run' from Xcode for debugging, CS6 would just bomb out.
- After running out of options, I installed CS5.1. Something asked me to install Java Runtime, which I did. I was then able to load Photoshop, but the project wouldn't stop on breakpoints.
- Switched back to Adobe Photoshop CS6, and it now worked and stopped on breakpoints.
I have no idea why the Java Runtime fixed debugging for CS6 or why CS5.1 won't stop on breakpoints.
I used trial versions of CS5.1 and CS6, obtained from Adobe web site.
Note: For debugging the SDK docs still refer to CodeWarrior.