2nd target not like the 1st, why?
2nd target not like the 1st, why?
- Subject: 2nd target not like the 1st, why?
- From: "Mike O'Connor" <email@hidden>
- Date: Fri, 08 Jul 2005 20:41:23 -0400
I have a working Cocoa app in the latest XCode. I added a second
target to it, which is going to create another, quite similar app.
For now, I want it to create a virtually identical app, and will
then work on the differences. So all the sources and resources are
the same in both targets, and I believe I made the settings the same,
other than the app name. But when I try to build and link this second
target app, it is not quite that same.
I noticed two differences. First, in the original target, all the
source files, both .m and .h, have little checkboxes in the file list
to show me they are included in the target. But in the 2nd target,
there are no little checkboxes next to the .h files, they are only on
the .m files. Things still compile fine, and I doubt it is
significant, but I wonder why this is?
Second, my app makes a sort of arcane call, to SetSystemUIMode (which
helps you run in full-screen "kiosk" modes.) The app compiles fine,
but in the link phase I get the error that _SetSystemUIMode is
undefined. There's the showstopper.
The original target links fine, the 2nd target gives this link error.
I don't recall doing anything unusual to get access to the
SetSystemUIMode call. I don't see the problem being in the sources or
includes, since they seem the same. So I must have missed some
setting in the settings for this 2nd target, but I can't find it.
Any ideas what I'm missing to cause this target to fail to link? TIA!
_______________________________________________
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