xcode information?

Apr 19, 2006 at 5:13pm

xcode information?

Boy, take a year off and everything changes.
I’m trying xcode for external building, but having no luck. My experience follows that of the recent “Tim’s examples don’t work” thread. I note that Tim’s examples have been updated, but it’s still not working for me. All I get is an object box (no error) with no inlets. Posts stuck in the main function don’t happen. ( /6 behaves the same way, no hello from Xcode, but no error either.) I guess that means Max finds the file but main() is not called.
I’ve tried both old style code with main(fptr *f) and the the class_new approach.
4.5.5, 4.5.6 and 4.5.7 are all the same (West coast of US, about 2 miles from DZ’s house.)
I’ve seen references to Fujinaga’s tutorial, but the only one I can find is codeWorrier based.
So, is xcode still a distant dream?
and, is there any documentation on this obex stuff?

Apr 19, 2006 at 5:36pm

Hi all,
i’m building all my Max externals with Xcode and haven’t had problems.
I also find it very straightforward.
Find xcode projects in
http://cvs.sourceforge.net/viewcvs.py/pure-data/externals/gr ill/xsample/
http://cvs.sourceforge.net/viewcvs.py/pure-data/externals/gr ill/py/


Apr 19, 2006 at 5:50pm

On Apr 19, 2006, at 10:13 AM, Peter Elsea wrote:

> Boy, take a year off and everything changes.
> So, is xcode still a distant dream?

I’ll leave it to other extern developers to offer advice here,
however, a new Mach-O UB SDK with more documentation on setting up
your XCode projects is coming soon.

> and, is there any documentation on this obex stuff?

This is discussed in the pattr SDK documentation, which I believe is
a sub folder of the latest SDK.


Apr 19, 2006 at 7:36pm

On 19-Apr-2006, at 19:50, Joshua Kit Clayton wrote:
> I’ll leave it to other extern developers to offer advice here,

Less advice, rather simply experience:

I worked through Tim’s example. Initially my version wouldn’t load
(rather like your account, Peter), then the next day, magically, it
did (or I tried some voodoo and suddenly things worked, but I can no
longer recall all details). It also exhibited the mysterious slash-
digit-alias behavior, which no one has been able to explain.

Since then I’ve found myself working on a series of new features and
objects for Litter Power, and wanted to get these working in a stable
environment. So I’ve fallen back to CW and CFM until such time as:

> a new Mach-O UB SDK with more documentation on setting up your
> XCode projects is coming soon.

Well, it would have been useful to beta-test anything UB-related, and
it would be helpful to know when ‘soon’ will be so I could plan my
time accordingly, but neither is in the present indicative, so what
can I do but get on with what there is?

While “getting on with what there is,” I am making a deliberate
effort to make my Code XCode-friendly. I took Apple’s CW->XC porting
guide, noted which CW idiosyncracies I like that XCode doesn’t, and
am now making the requisite changes.

– Peter

————– http://www.bek.no/~pcastine/Litter/ ————-
Peter Castine +—> Litter Power & Litter Bundle for Jitter
Heavy-Duty Mathematics for Everyday Use
iCE: Sequencing, Recording &
Interface Building for |home | chez nous|
Max/MSP Extremely cool |bei uns | i nostri|
http://www.dspaudio.com/ http://www.castine.de

Apr 20, 2006 at 3:36pm

You could also download Jamoma and see if the Xcode projects there
can function as starting points for you (they are in the /library/
externals folder):


I have problems getting two of the audio externals to work at my end,
jmod.saturation~ and jmod.limiter~. They will compile, but the
compiled external won’t load properly in Max 4.5.7. All of the Max
externals work fine though.

AFAIR all you will have to do to make your own projects from these
Xcode projects is to rename folders and files, substitute the source
files and change the content inside of the Info.plist file.


Apr 20, 2006 at 4:50pm

Ah Xcode… the ultimate tool :)

I followed cycling’s instructions and came to success some hours later.

Here is one object’s project directory if you would like to try and
crib off of one that already works.
Pay attention to the info.plist, and make sure that zeroconf is
disabled in your gcc settings.

http://homepage.mac.com/mpauley/.Public/kpl_normalize~.mxo.z ip

Cycling: why can’t the mach externals simply be mach dylibs or
I know it’s possible to have dyld load dylibs without all of the
bundle nonsense.

In any case, perhaps I’ll make an xcode template for max developers.
I think that would be the most bang for our buck here.



You must be logged in to reply to this topic.