Xcode 6 / OSX Yosemite status (build errors)

I’m not sure how up-to-date this blog post is, but I installed Yosemite and tried to do a build with Xcode 6 and am receiving the following error:

Undefined symbols for architecture armv7:

  “_CoronaApplicationMain”, referenced from:

      _main in main-a9fd46.o

  “_OBJC_CLASS_$_AppCoronaDelegate”, referenced from:

      objc-class-ref in main-a9fd46.o

  “_objc_autoreleasePoolPop”, referenced from:

      _main in main-a9fd46.o

  “_objc_autoreleasePoolPush”, referenced from:

      _main in main-a9fd46.o

  “_objc_msgSend”, referenced from:

      _main in main-a9fd46.o

ld: symbol(s) not found for architecture armv7

clang: error: linker command failed with exit code 1 (use -v to see invocation)

Command /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang failed with exit code 1

It seems like a corona error, but maybe we’re doing something wrong? I remember it compiling fine in Xcode 5.1.1. Can we use this forum as a place to update status if it’s not working yet?

Is this an Enterprise project or are you using Corona Simulator to compile?
If it’s an Enterprise project maybe you can check your Xcode build settings and make sure the Valid Architecures and the Architectures settings include armv7 explicitly. I think that Xcode6 and Yosemite might set these to 64 bit arhitectures by default if not changed.

I haven’t used Yosemite for development yet though…

I am using enterprise (Xcode).

Ok so I downloaded Xcode 5.1.1 again, and all my games compile ok with it. So it must mean there’s an issue with Corona Enterprise and Xcode 6 (or maybe apple’s changed some default configuration settings)

BTW, The reason I switched to Yosemite Beta is so I could upload video previews to iTunesConnect (it’s required). But actually I misunderstood and thought Xcode 6 was required, so I downloaded that too.

I’m using Xcode 6 and Enterprise on Mavericks without any issues.

It might be something with Enterprise on Yosemite that’s not functioning properly then…

However, when I switched to Xcode 6 I remember having intermittent architecture issues.  After making sure that armv7 was explicitly mentioned in the Architecture / Valid Architecture settings of the project all was well…

Is this an Enterprise project or are you using Corona Simulator to compile?
If it’s an Enterprise project maybe you can check your Xcode build settings and make sure the Valid Architecures and the Architectures settings include armv7 explicitly. I think that Xcode6 and Yosemite might set these to 64 bit arhitectures by default if not changed.

I haven’t used Yosemite for development yet though…

I am using enterprise (Xcode).

Ok so I downloaded Xcode 5.1.1 again, and all my games compile ok with it. So it must mean there’s an issue with Corona Enterprise and Xcode 6 (or maybe apple’s changed some default configuration settings)

BTW, The reason I switched to Yosemite Beta is so I could upload video previews to iTunesConnect (it’s required). But actually I misunderstood and thought Xcode 6 was required, so I downloaded that too.

I’m using Xcode 6 and Enterprise on Mavericks without any issues.

It might be something with Enterprise on Yosemite that’s not functioning properly then…

However, when I switched to Xcode 6 I remember having intermittent architecture issues.  After making sure that armv7 was explicitly mentioned in the Architecture / Valid Architecture settings of the project all was well…