Link errors migrating from 2013.1133 to 2014.2338

Due to the UID issue, I’ve migrated from release 2013.1133 to 2014.2338 with latest Flurry release: 2014.2169

After cleaning up the graphics 1.0-> 2.0 issues in the SDK, I copied the .2338 release plus the Flurry release to /Applications. Did a Clean Build Folder.

I’m getting 25 link errors regarding my plugin (Foo) and the Flurry analytics plugin. Suggestions for resolving this would be greatly appreciated.

-Tom


The errors listed below are produced when building to my iPad.

Compiling to a 32bit emulator gives me the same 25 errors except the message changes to “architecture 386”.

Xcode reports:

Undefined symbols for architecture armv7:

  “_CoronaApplicationMain”, referenced from:

      _main in main.o

  “_CoronaLibraryProviderNew”, referenced from:

      Corona::IOSFlurryAnalyticsProvider::Open(lua_State*) in libanalytics-flurry.a(IOSFlurryAnalyticsProvider.o)

  “_CoronaLuaDeleteRef”, referenced from:

      Foo::Finalizer(lua_State*) in libFoo.a(Foo.o)

  “_CoronaLuaDispatchEvent”, referenced from:

      Foo::show(lua_State*) in libFoo.a(Foo.o)

  “_CoronaLuaGetContext”, referenced from:

      Corona::IOSFlurryAnalyticsProvider::Open(lua_State*) in libanalytics-flurry.a(IOSFlurryAnalyticsProvider.o)

      Foo::show(lua_State*) in libFoo.a(Foo.o)

  “_CoronaLuaInitializeGCMetatable”, referenced from:

      Corona::IOSFlurryAnalyticsProvider::Open(lua_State*) in libanalytics-flurry.a(IOSFlurryAnalyticsProvider.o)

      Foo::Open(lua_State*) in libFoo.a(Foo.o)

  “_CoronaLuaIsListener”, referenced from:

      Foo::init(lua_State*) in libFoo.a(Foo.o)

  “_CoronaLuaNewEvent”, referenced from:

      Foo::show(lua_State*) in libFoo.a(Foo.o)

  “_CoronaLuaNewRef”, referenced from:

      Foo::init(lua_State*) in libFoo.a(Foo.o)

  “_CoronaLuaNormalize”, referenced from:

      Corona::IOSFlurryAnalyticsProvider::LogEvent(lua_State*, char const*, int) in libanalytics-flurry.a(IOSFlurryAnalyticsProvider.o)

  “_CoronaLuaPushUserdata”, referenced from:

      Corona::IOSFlurryAnalyticsProvider::Open(lua_State*) in libanalytics-flurry.a(IOSFlurryAnalyticsProvider.o)

      Foo::Open(lua_State*) in libFoo.a(Foo.o)

  “_CoronaLuaToUserdata”, referenced from:

      Corona::IOSFlurryAnalyticsProvider::Init(lua_State*) in libanalytics-flurry.a(IOSFlurryAnalyticsProvider.o)

      Corona::IOSFlurryAnalyticsProvider::LogEvent(lua_State*) in libanalytics-flurry.a(IOSFlurryAnalyticsProvider.o)

      Corona::IOSFlurryAnalyticsProvider::Finalizer(lua_State*) in libanalytics-flurry.a(IOSFlurryAnalyticsProvider.o)

      Corona::IOSFlurryAnalyticsProvider::GetSelf(lua_State*) in libanalytics-flurry.a(IOSFlurryAnalyticsProvider.o)

      Foo::Finalizer(lua_State*) in libFoo.a(Foo.o)

      Foo::ToLibrary(lua_State*) in libFoo.a(Foo.o)

  “_luaL_checklstring”, referenced from:

      Corona::IOSFlurryAnalyticsProvider::LogEvent(lua_State*) in libanalytics-flurry.a(IOSFlurryAnalyticsProvider.o)

  “_luaL_openlib”, referenced from:

      Corona::IOSFlurryAnalyticsProvider::Open(lua_State*) in libanalytics-flurry.a(IOSFlurryAnalyticsProvider.o)

      Foo::Open(lua_State*) in libFoo.a(Foo.o)

  “_lua_next”, referenced from:

      Corona::IOSFlurryAnalyticsProvider::LogEvent(lua_State*, char const*, int) in libanalytics-flurry.a(IOSFlurryAnalyticsProvider.o)

  “_lua_pushboolean”, referenced from:

      Corona::IOSFlurryAnalyticsProvider::Init(lua_State*) in libanalytics-flurry.a(IOSFlurryAnalyticsProvider.o)

  “_lua_pushnil”, referenced from:

      Corona::IOSFlurryAnalyticsProvider::LogEvent(lua_State*, char const*, int) in libanalytics-flurry.a(IOSFlurryAnalyticsProvider.o)

  “_lua_pushnumber”, referenced from:

      Foo::XX_FooSetConfFileInfo(lua_State*) in libFoo.a(Foo.o)

      Foo::XX_FooStartup(lua_State*) in libFoo.a(Foo.o)

      Foo::XX_FooSpark(lua_State*) in libFoo.a(Foo.o)

      Foo::XX_FooReset(lua_State*) in libFoo.a(Foo.o)

      Foo::XX_FooShutdown(lua_State*) in libFoo.a(Foo.o)

      Foo::XX_FooGetStatusEx(lua_State*) in libFoo.a(Foo.o)

  “_lua_pushstring”, referenced from:

      Foo::show(lua_State*) in libFoo.a(Foo.o)

  “_lua_setfield”, referenced from:

      Foo::show(lua_State*) in libFoo.a(Foo.o)

  “_lua_settop”, referenced from:

      Corona::IOSFlurryAnalyticsProvider::LogEvent(lua_State*, char const*, int) in libanalytics-flurry.a(IOSFlurryAnalyticsProvider.o)

  “_lua_tolstring”, referenced from:

      Corona::IOSFlurryAnalyticsProvider::Open(lua_State*) in libanalytics-flurry.a(IOSFlurryAnalyticsProvider.o)

      Corona::IOSFlurryAnalyticsProvider::Init(lua_State*) in libanalytics-flurry.a(IOSFlurryAnalyticsProvider.o)

      Corona::ToNSString(lua_State*, int) in libanalytics-flurry.a(IOSFlurryAnalyticsProvider.o)

      Foo::XX_FooSetConfFileInfo(lua_State*) in libFoo.a(Foo.o)

      Foo::XX_FooSpark(lua_State*) in libFoo.a(Foo.o)

      Foo::show(lua_State*) in libFoo.a(Foo.o)

  “_lua_tonumber”, referenced from:

      Corona::ToNSString(lua_State*, int) in libanalytics-flurry.a(IOSFlurryAnalyticsProvider.o)

  “_lua_type”, referenced from:

      Corona::IOSFlurryAnalyticsProvider::LogEvent(lua_State*, char const*, int) in libanalytics-flurry.a(IOSFlurryAnalyticsProvider.o)

      Corona::ToNSString(lua_State*, int) in libanalytics-flurry.a(IOSFlurryAnalyticsProvider.o)

ld: symbol(s) not found for architecture armv7

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

For those who might encounter the same problem, a resolution:

I still can’t say what caused the problem, but I resolved it by rebuilding the .xcodeproject file, starting with the sample app.xcodeproject delivered with the release.

-Tom

For those who might encounter the same problem, a resolution:

I still can’t say what caused the problem, but I resolved it by rebuilding the .xcodeproject file, starting with the sample app.xcodeproject delivered with the release.

-Tom