• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: DYLIB/LIB/FRAMEWORKS for iPhone ?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: DYLIB/LIB/FRAMEWORKS for iPhone ?


  • Subject: Re: DYLIB/LIB/FRAMEWORKS for iPhone ?
  • From: marc hoffman <email@hidden>
  • Date: Fri, 16 May 2008 22:57:17 +0200

Scott,

* We need just few dlls or/and framework to be INSIDE of our.app

Without giving anything away that's under NDA, there's one obvious answer:
don't use dylibs & frameworks, static link the whole thing. Either put all
sources in one project, or use static libraries for the subsidiary pieces
instead of dynamic libraries.

i hope you can excuse the probably noob-ish question but - when going via this first approach, how would you handle #import<MyFrameworkname \foo.h> directives that occur in the "framework" code that you're statically adding to your project? would you need to ifdef them all a la


#ifdef IPHONE
#import "foo.h"
#else
#import <MyFrameworkname\foo.h>
#endif

or is there some way to teach the monolithic project about <MyFrameworkname\*.h>? i've found that (as expected), simply adding code for an existing framework i'm working on to an application project, it wont know how to handle the includes, and depending on the number of files, manually adjusting/ifdefing all imports seems excessive/not feasible...

(i'd consider this less an iPhone specific question as a general Xcode/ gcc-"howto", so hopefully someone can answer this without violating any NDAs. ;-)


thanx,

marc hoffman

RemObjects Software
The Infrastructure Company
http://www.remobjects.com


_______________________________________________ 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
References: 
 >Re: DYLIB/LIB/FRAMEWORKS for iPhone ? (From: Scott Ribe <email@hidden>)

  • Prev by Date: [SOLVED] Hidden Build Setting Values: me.pbxuser is The Problem
  • Next by Date: Re: DYLIB/LIB/FRAMEWORKS for iPhone ?
  • Previous by thread: Re: DYLIB/LIB/FRAMEWORKS for iPhone ?
  • Next by thread: Re: DYLIB/LIB/FRAMEWORKS for iPhone ?
  • Index(es):
    • Date
    • Thread