• 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: Expected identifier or '(' and other errors occur after copying working code to a second machine
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Expected identifier or '(' and other errors occur after copying working code to a second machine


  • Subject: Re: Expected identifier or '(' and other errors occur after copying working code to a second machine
  • From: Jens Alfke <email@hidden>
  • Date: Tue, 28 Oct 2014 09:55:04 -0700

> On Oct 28, 2014, at 6:44 AM, Saunderson, Rik <email@hidden> wrote:
>
> Does anyone have any ideas about what's going on?  I can only assume that
>there's something wrong with the build settings or include paths or something,
>but I've checked through all of them and they all appear to be identical on both Macs.

That's a weird problem. The only thing I can offer is that when I've run into
problems with projects that build on one Mac but not another, it's generally
because of absolute paths in the build settings. But you say you've already
looked into that.

(I really wish Xcode wouldn't deliberately add absolute paths for you — it
seems that when you drag a framework into a project, it adds the parent
directory to the Framework Search Paths so the framework can be found by the
linker. Which is nice, except it adds the absolute path instead of making it
relative to $(PROJECT_DIR) or something. Thus guaranteeing build errors when
anyone tries to build the project on a different computer.)

—Jens
_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden


References: 
 >Expected identifier or '(' and other errors occur after copying working code to a second machine (From: "Saunderson, Rik" <email@hidden>)

  • Prev by Date: Re: Mac containment segues, and prepareForSegue
  • Next by Date: Re: Expected identifier or '(' and other errors occur after copying working code to a second machine
  • Previous by thread: Expected identifier or '(' and other errors occur after copying working code to a second machine
  • Next by thread: Re: Expected identifier or '(' and other errors occur after copying working code to a second machine
  • Index(es):
    • Date
    • Thread