Re: Framework Links Work OK in 10.5 and 10.4, Crash in 10.3
Re: Framework Links Work OK in 10.5 and 10.4, Crash in 10.3
- Subject: Re: Framework Links Work OK in 10.5 and 10.4, Crash in 10.3
- From: Jean-Daniel Dupas <email@hidden>
- Date: Tue, 18 Mar 2008 10:06:48 +0100
Le 18 mars 08 à 04:37, Jerry Krinock a écrit :
I've factored some code into a framework which is packaged into
my .app at @executable_path/../Frameworks. It works fine when
launching in 10.5 Intel and 10.4 PPC. But when launching in 10.3,
it crashes...
KERN_INVALID_ADDRESS (0x0001) at 0xfffeff00
Thread 0 Crashed:
0 <<00000000>> 0xfffeff00 0 + 0xfffeff00
1 com.MyCompany.MyApp 0x0004aa38 +[AppController localizeMenuItem]
+ 0x120
2 com.MyCompany.MyApp 0x0004ac88 -[AppController
applicationDidFinishLaunching:] + 0x1e4
NSLogs tell me that the crash in -localizeMenuItem occurs as it
invokes a method which is defined in my framework. An NSLog in the
first line of this method never runs. This is the first time in the
program run that code from this framework is invoked. So, it
appears to me that 10.3 is mis-reading the framework links.
What was different in Mac OS 10.3 that might cause this? How can I
troubleshoot?
The method it can't find is a class (+) method, in a category (class
extension) of NSString. Project is built in Xcode 3.0, and the Base
SDK Path for both app and framework is MacOSX10.4u.sdk.
Thanks!
Jerry Krinock
Did you correctly set the "Deployment Target" build setting to 10.3 ?
If not, unlike Xcode 2.5, Xcode 3.0 will use a value based on the SDK
(10.4 in your case).
_______________________________________________
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