• 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
How to include/exclude frameworks conditionally, based on configuration?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

How to include/exclude frameworks conditionally, based on configuration?


  • Subject: How to include/exclude frameworks conditionally, based on configuration?
  • From: Oleg Krupnov <email@hidden>
  • Date: Thu, 16 Dec 2010 20:46:55 +0200

Hi,

I have two configurations of my project. One configuration should
include some Framework, the other should exclude it.

In .m and .h files, I switch the #imports of that framework using
#ifdef directives, but how do I also prevent the framework from being
linked and copied into the resulting app bundle?

Thanks!

Oleg.
 _______________________________________________
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

  • Follow-Ups:
    • Re: How to include/exclude frameworks conditionally, based on configuration?
      • From: Ken Thomases <email@hidden>
  • Prev by Date: observing invalid key aborts with LLVM
  • Next by Date: Re: How to include/exclude frameworks conditionally, based on configuration?
  • Previous by thread: observing invalid key aborts with LLVM
  • Next by thread: Re: How to include/exclude frameworks conditionally, based on configuration?
  • Index(es):
    • Date
    • Thread