• 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: iOS v OSX Compile
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: iOS v OSX Compile


  • Subject: Re: iOS v OSX Compile
  • From: Mark Wagner <email@hidden>
  • Date: Mon, 20 Aug 2012 13:46:19 -0700

On Mon, Aug 20, 2012 at 12:46 PM, koko <email@hidden> wrote:
> I added an iOS Target to an existing project that had only OSX Targets.
>
> The OSX Target build just fine.
>
> The iOS Target build gives the error:
>
> /Volumes/repos/_working/LibBase/_XC44/../_source/BZip.cpp:10:10: fatal
> error: 'stdafx.h' file not found
> #include <stdafx.h>
>
>
> Does iOS not like < >?

#include <stdafx.h> means "Search the system include-file locations
for the file 'stdafx.h'".

#include "stdafx.h" means "Search the user-defined locations for the
file 'stdafx.h', and if that fails, search the system locations".
This is probably what you want, since "stdafx.h" isn't a system header
on Mac.

--
Mark
 _______________________________________________
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: iOS v OSX Compile
      • From: koko <email@hidden>
References: 
 >iOS v OSX Compile (From: koko <email@hidden>)

  • Prev by Date: Re: Programmatically accessing Xcode specific label?
  • Next by Date: Re: What are your tips for navigating the Xcode interface faster?
  • Previous by thread: iOS v OSX Compile
  • Next by thread: Re: iOS v OSX Compile
  • Index(es):
    • Date
    • Thread