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
  • 105,341
  • 31
  • 202
  • 291
Nik
  • 1,517
  • 5
  • 14
  • 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,817
  • 1
  • 18
  • 34