Re: Desperate for Xcode Help
Re: Desperate for Xcode Help
- Subject: Re: Desperate for Xcode Help
- From: Dmitry Markman <email@hidden>
- Date: Sat, 14 Jan 2006 16:42:42 -0500
yes
I confirm
I created empty bsd library project (XCode 2.2.1)
added JavaVM framework
and I was able to see it in the Link Binaries with Libraries build phase
XCode was smart enough to use -framework JavaVM in the command line
thanks
On Jan 14, 2006, at 4:29 PM, Eric Albert wrote:
On Jan 14, 2006, at 1:25 PM, Eric Albert wrote:
On Jan 14, 2006, at 11:27 AM, Scott Ribe wrote:
Sure, that's the way I do it. But FIRST, make sure to add a "Build
Phase" called "Frameworks & Libraries" -- otherwise, the
frameworks that
you add show up in the "Groups & Files" list but NOT in the
"Targets"
list and do NOT appear as -framework flags in the linker step.
Ah... I think I have never seen a project that didn't already
have that
phase--a difference in how we started the projects.
Yep. Bill started with the BSD Dynamic Library template, which
doesn't include any extra libraries by default and therefore
doesn't have a Frameworks & Libraries build phase. Another reason
to start with the Java JNI Application template. :)
I'll file a bug about how the Frameworks & Libraries build phase
should be created when you add a framework to a project that
doesn't have that build phase.
Actually, no, I won't do that because it works fine for me with
Xcode 2.2.1. I created a new BSD Dynamic Library project, added a
source file to it so it'd have something to compile, added the
AppKit framework to it, and a Link Binary With Libraries build
phase was automatically created with AppKit added to it. When I
built the project, "-framework AppKit" was passed to the linker.
So this appears to work fine in Xcode 2.2.1.
-Eric
_______________________________________________
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
Dmitry Markman
_______________________________________________
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