deployment build style fails, development okay
deployment build style fails, development okay
- Subject: deployment build style fails, development okay
- From: Donald Hall <email@hidden>
- Date: Sat, 5 Jul 2003 00:30:14 -0600
My project builds fine with the development build style, but fails
with the deployment build style.
It seems that structs (specifically NSRange) won't compile in the
deployment build style. Here is some test code:
NSRange aRange;
NSString *string0 = @"testing";
NSString *string1 = @"test";
aRange = [string0 rangeOfString:string1 options:NSCaseInsensitiveSearch];
if (aRange.length == 4) NSBeep(); // illegal instruction???
On the last line I get the following error when I try to build in
deployment style:
AMDayFormatter.m:55: internal error: Illegal instruction
In development build style, my application builds and runs just fine.
At first I thought my project had been corrupted somehow, and I
created a new project. However, it exhibits the same behavior. After
I got it working in development build style, I cleaned the target and
switched it to deployment build style. It starts to build, but chokes
on the first encounter with accessing the components of an NSRange,
similar to the above.
July 2002 Developer Tools, OS 10.2.3
Can anyone help?
Thanks,
Don
--
Donald S. Hall, Ph.D.
Apps & More Software Design, Inc.
email@hidden
http://www.appsandmore.com
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.