I upgraded to OS X Lion yesterday and really like the new features so far.
I was just searching around a little bit and many guys said that XCode 3.2 would still work on Lion.
So I did the upgrade …
XCode 3.2 does open BUT as soon as I am opening one of my recent projects it just crashes.
Same thing when exporting a project with the Introjucer …
So I tried to open a JUCE audio plugin project in XCode 4.1
It opens without problems but I seem to get problems with some ambiguities :
"Semantic issue : Member ‘MIDI Event’ found in multiple base classes of different types"
The files “AUMidiBase.h” and “AUBase.h” are pointed out to be the bad guys.
I already changed the header include paths to the “Developer-old”-folder, but the “Apple AU Files” folder within the project still seems to point to the newer “Developer” directory.
Can anybody maybe tell me how to make the project compile??
Ok, problem solved … you have to have XCode 3.2.6 installed to make it run in Lion.
I just had 3.2.0 installed.
As you can’t install 3.2.6 in Lion, you have to use a little trick I found on anatomicwax.tumblr.com :
Mount the image
Go to Disk Utility and convert it to a Read/Write disk image
Mount the converted disk image
In Finder, right-click on the Xcode and iOS SDK package and Show Package Contents
Inside the package, locate Contents/iPhoneSDKSL.dist and open it in your favorite text editor
Search for isDevToolsCompatible
Change 10.7 in that function to 10.8
Save the file
Run the installer package
The installer should now allow the dev tools to be installed
I’ve finally taken the plunge and have started using XCode 4.1 (!)
And I now can’t build my Audio Units!
/Developer/Extras/CoreAudio/AudioUnits/AUPublic/OtherBases/AUMIDIEffectBase.cpp:154: error: request for member ‘MIDIEvent’ is ambiguous
file://localhost/Developer/Extras/CoreAudio/AudioUnits/AUPublic/OtherBases/AUMIDIEffectBase.cpp: error: Semantic Issue: Member ‘MIDIEvent’ found in multiple base classes of different types
/Developer/Extras/CoreAudio/AudioUnits/AUPublic/OtherBases/AUMIDIBase.h:68: error: candidates are: virtual OSStatus AUMIDIBase::MIDIEvent(UInt32, UInt32, UInt32, UInt32)
/Developer/Extras/CoreAudio/AudioUnits/AUPublic/AUBase/AUBase.h:701: error: virtual OSStatus AUBase::MIDIEvent(UInt32, UInt32, UInt32, UInt32)