Carbon app and Cocoa/Carbon Bundle plugin - possible?!
Carbon app and Cocoa/Carbon Bundle plugin - possible?!
- Subject: Carbon app and Cocoa/Carbon Bundle plugin - possible?!
- From: Igor Delovski <email@hidden>
- Date: Mon, 17 Jun 2013 15:57:07 -0700 (PDT)
Hi,
just wanted to check if I'm wasting my time on something that can't be done.
I have one Carbon application that needs to work on ppc/intel and links against SDK 10.4 and I wanted to add some features that I only know how to do in Obj-C and I need at least 10.6 SDK support. First idea was to create plugin and do all the fancy stuff in there.
So I took Xcode 3.2.6 and renamed one of my older Bundle Carbon projects. Xcode versions at some point stopped creating Carbon projects and that is why I'm reusing already created bundle project. I have added Cocoa framework to it and set target to 10.6 SDK and arch to i386.
The project builds fine but when my main application loads the plugin, it crashes after a while (5 to 10 seconds) and in debugger I get some assembly code.
Mach-O-Type for the plugin is Bundle, Carbon app does not link Cocoa frameworks and it gets EXC_BAD_ACCESS and debugger show lots of lines like these:
0x94266200 <+0021> je 0x942662af
0x94266206 <+0027> mov (íx),êx
So, my question is if this is expected or can I make it work? Can carbon app use bundle plugin that is using Cocoa and newer SDK?
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden