Re: deployment vs. development style weirdness
Re: deployment vs. development style weirdness
- Subject: Re: deployment vs. development style weirdness
- From: email@hidden
- Date: Thu, 16 Sep 2004 15:37:56 +0000
- Importance: Normal
- Sensitivity: Normal
I think I found the problem--my command-line target wasn't linking against Foundation properly? I went to the External Frameworks and Libraries in Xcode and the AppKit and Foundation had their boxes checked under my primary GUI target. However, the frameworks were unchecked under the command line target. So I checked Foundation and everything started working.
Now that I think about it, Xcode's developers probaly intended for it to be exactly this way. When I was adding my second target (the command line tol) to the project, Xcode didn't even offer me a possibility of choosing a Foundation Tool for the target type (unlike what Xcode does when you start a new clean project, then you do have a choice of Foundation command-line tool).
Why is this idiocy happening? Is this a bug? Why are the types ot targets offered when you add a target different from the types of projects offered when you create a project (that is, single targets)? Is this logical or is there something I am missing?
> -----Original Message-----
> From: Nicholas [mailto:email@hidden]
> Sent: Thursday, September 16, 2004 03:09 PM
> To: 'Ivan Kourtev'
> Cc: email@hidden
> Subject: Re: deployment vs. development style weirdness
>
> I am not sure but it seems like Zero Link is looking to resolve a
> symbol that it cannot find because it was initially built as a
> deployment target. This may seem overly simple but have you tried
> cleaning the target before re-building?
>
> -Nick
>
> On Sep 16, 2004, at 9:18 AM, Ivan Kourtev wrote:
>
> > Hi all,
> >
> > I have a simple app that wraps a GUI around a command line tool. I
> > get everything--both tool on its own and tool with GUI--to work ok
> > when building with deployment style. If I build with development
> > style, however, my tool crashes with the followng message:
> >
> > ZeroLink: unknown symbol '__NSConstantStringClassReference'
> >
> > What's going on gere? I have not changed any of the Xcode settings
> > regarding building (am not even fully aware what the difference
> > between deploymnet and development style are)? Is that expected
> > behavior, am I doing something wrong...?
> >
> > It it makes a difference, my comand line tool uses a few of the
> > foundation classes, such as NSString and NSMutableDictionary.
> >
> > Any help appreciated...cheers!
> >
> > -- ivan
> >
> > _______________________________________________
> > Do not post admin requests to the list. They will be ignored.
> > Cocoa-dev mailing list (email@hidden)
> > Help/Unsubscribe/Update your Subscription:
> > email@hidden
> >
> > This email sent to email@hidden
> >
> >
>
>
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden