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

2014-10-28 Thread Fritz Anderson
A shot in the dark… What are the line endings of the files (LF [UNIX/Mac], CR [legacy Mac], CRLF [Windows/Internet protocols]), and how are they set in the Text Editing panels of the Preferences window in the respective machines? Inconsistent line endings have confused Xcode in the past, partic

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

2014-10-28 Thread Alex Zavatone
For giggles, to make sure it is not an absolute path issue, what if you made the paths the same from the root of the HD and user folder on your second Mac? Create a user that has the same short user name as on the Mac where it works and rename the boot drive to be the same thing. Move the proje

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

2014-10-28 Thread Jerry Krinock
> On 2014 Oct 28, at 09:44, Saunderson, Rik > wrote: > > Does anyone have any ideas about what's going on? I’ve seen Xcode do weird stuff like this too - just yesterday as a matter of fact, with an Xcode 6.1 beta. Particularly with the “Expected identifier or whatever” nonsense, I think tha

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

2014-10-28 Thread Jens Alfke
> On Oct 28, 2014, at 6:44 AM, Saunderson, Rik > 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

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

2014-10-28 Thread Saunderson, Rik
Hi all, We created an iOS app quite a while ago which works perfectly on the Mac on which it was developed, but throws up errors when we try to compile it on a different Mac. Both Macs are running version 5.0.2 of XCode and are building for iOS 6.1 for legacy compatibility reasons. In order to