XCode 4.3.2

I just “upgraded” to XCode 4.3.2 (From XCode 4.2.1) and find that, once again, AppleScriptObjC has been ignored. Does anyone know, is this what we should expect from Apple in the future? Apple appears to have no interest in fixing any of the annoying bugs in the editor, templates, etc.

Does anyone have any information on whether Apple will actually support AppleScriptObjC and XCode?

The Xcode team are unlikely to do much regarding ASObjC support unless lots of people log bugs. They certainly don’t follow this forum. The reality is that they have other priorities, which is in some ways understandable with the current pace of change. But I also suspect not many people are logging ASObjC bugs.

Having said that, using a decent third-party editor as an external editor is, IMO, a much better experience than you’re likely to get from Xcode, and better than using the earlier versions of Xcode that had the built-in AS editor.

It works like it always has, and there’s no reason to think it will stop working.

Hello everybody,

I moved to Xcode 4.3 yesterday and found that Apple had a new strategy for it, replacing the Installer by an application bundle. Well, not so bad, because you can get updates via Appstore, and the ASOC is still implemented (what a relief).

Consequently, the Developer Folder no longer exists.

I still have the previous installation of Xcode, with the Developer Folder. I’m a bit afraid to get rid of it. Does somebody have an answer to these questions:

  1. Is the ASOC Project template located into the Developer Folder or is it into the Xcode 4.3 bundle? Xcode retrieves my former projects so fast and smoothly that I’m not sure from where it gets all the informations.
  2. May I safely move my “Projects” folder, which was into the Developer Folder, into my Document Folder?
  3. Having moved my Projects Folder away from the Developer Folder, may I uninstall Xcode 4.2 and delete the Developer Folder, and how?
  4. There are some errors when I compile my old projects – they seem to be caused by the choice of the compiler. I have tried some options and finally got them built, but it’s unclear for me: which is the safest option (the point seems to be the Garbage collection)?

Thank you!

Both. If you look inside the Xcode bundle, you will see that it includes a /Developer folder.

Yes.

Throw it in the trash.

Make sure garbage collection is enabled.

Pre-AppStore releases have also an uninstaller binary in /Library/Developer/4.x/uninstall-devtools

Ok, I start with a fresh AppleScriptObjC application (modified template) project using Xcode 4.3 and I get:

What’s wrong?

The error gets away if I disable “Objective-C Automatic Reference Counter”. I don’t really understand what I am doing and don’t like this, even if it works. Does ASOC has a conflicting reference counter?

apparently Garbage Collection (GC) and Automatic Reference Counting (ARC) aren’t supported simultaneously.
As AppleScriptObjC is GC-based, Disabling ARC is the correct solution