• 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: Problem with #import <>
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Problem with #import <>


  • Subject: Re: Problem with #import <>
  • From: Steve Mills <email@hidden>
  • Date: Fri, 15 Apr 2016 15:15:50 +0000 (GMT)

On Apr 15, 2016, at 10:07 AM, Dave <email@hidden> wrote:

Hi,

This is so annoying, I’ve been searching for info on this, but all I can find is for older versions of XCode. Apparently one way of doing it was to use “SourceTrees” but it looks like this has been removed from XCode 7.

The other info is to set “Framework Search Paths” but that doesn’t work either. I think I’ve tried every combo of setting header paths and nothing seems to get it to point to the right files.

If anyone has any ideas on this please let me know.

Since we can't see your project, we can only throw out ideas that you might have or might not have tried. I take it these headers are in a folder of their own, since you mentioned using <xxx/yyy.h>. If so, are you adding the *parent* folder of the xxx folder to the search paths or the actual xxx folder? Try both, but I would expect the former to be the correct way.

If you can't get it to work, why not add the headers to a new .framework. I think you said they're normally in a framework, but for this project they're not. So, put them into some other special framework whose sole purpose is to vend headers. I'm not sure if the source (if there is source) can simply be added to your target in this case. Not sure why you can't use a framework for this project.

Sent from iCloud's ridiculous UI, so, sorry about the formatting

 
 _______________________________________________
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: Problem with #import <>
      • From: Dave <email@hidden>
References: 
 >Re: Problem with #import <> (From: Dave <email@hidden>)

  • Prev by Date: Re: Problem with #import <>
  • Next by Date: Re: Problem with #import <>
  • Previous by thread: Re: Problem with #import <>
  • Next by thread: Re: Problem with #import <>
  • Index(es):
    • Date
    • Thread