1

I build project that have unity classes inside. And i got this error:

Undefined symbols for architecture armv7:

RegisterAllClassesIPhone(), referenced fro

RegisterAllClasses() in RegisterMonoModules.o

ld: symbol(s) not found for architecture armv7

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

Anyone knows how to handle with this? Thanks

Gert Arnold
  • 100,019
  • 29
  • 193
  • 278
Nik
  • 1,397
  • 4
  • 13
  • 19

1 Answers1

0

You may forget to add this flag:

Other C Flag: -DINIT_SCRIPTING_BACKEND=1

Other C++ Flag: -DINIT_SCRIPTING_BACKEND=1

I met the same issue, and fixed by added the above flags.

Fourj
  • 1,747
  • 1
  • 17
  • 33