SOLVED: Building on 10.4, targeting 10.3.9+ unsuccessful
SOLVED: Building on 10.4, targeting 10.3.9+ unsuccessful
- Subject: SOLVED: Building on 10.4, targeting 10.3.9+ unsuccessful
- From: Christopher Ashworth <email@hidden>
- Date: Sun, 27 Nov 2005 22:42:21 -0500
For the record, my problems were due to an inappropriate approach to
sharing code, resulting in namespace conflicts. I repackaged the
relevant classes as a private embedded framework for the application
and things are now dandy. Why my original approach worked on 10.4.x
and not on 10.3.9 is still not entirely clear to me, but the problem
is solved either way.
Cheers,
Christopher
On Nov 23, 2005, at 5:58 PM, Christopher Ashworth wrote:
[ ...snip... ]
The particular line that is crashing my code is a simple [[MyClass
alloc]
init] line. Commenting out or reorganzing the offending line
invariably
leads to the same crash from some other attempt to alloc & init one
of my
classes. The alloc & init methods of any of these classes are never
called, even though the classes apparently exist because I check
for them
in the list of available classes. (I don't have the code in front
of me
right now so I don't remember the particular C function that is
used for
this...)
I copied my source to a 10.3.9 machine, installed a copy of XCode
1.0, and
compiled the code again. It runs without crashing on 10.3.9.
Another odd symptom: During startup I look for and load a set of
plugins.
I use the isSubclassOfClass: during a series of validation checks
to make
sure the bundle is a well-formed plugin. In the version of the
program
compiled on 10.4.3 and run on 10.3.9, this method claims that none
of my
plugins are a subclass of the parent which they are, in fact, a
subclass
of. Checking the myClass->super_class field says the parent is the
expected one, but the isSubclassOfClass: method fails nonetheless.
[ ...snip... ]
_______________________________________________
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