Il2cpp 4.6.6.p4 & 4.6.7 build link error

Linker error _InitializeScriptingBackend : _main in main.o
symbol(s) not found for architecture arm64

I have tried the xcode version 6.3 and the latest 6.4

i’m unable to submit a bug report as our project is too large to send

I am able to create small test projects which do build properly

It seems that you’re using old main.cpp. Could you please use replace instead of append for a single time?

I’ve actually created an entire new project folder to make sure it wasn’t related to replace/append of an old build.

Same problem.

Hi, I wasn’t able to reproduce this issue with Unity 4.6.7 + armv64/universal/armv7 + empty project / random bigger project + Xcode 6.3.

Can you also check what do you have in “Plugins/iOS” folder? Maybe you have custom main.mm file.

Also if you were able to reproduce with some small project, can you submit a bug report with it and send me the bug number?

Thanks!

There IS a main.mm in our plugins folder!

Removing now, and trying a new build, will report back.

Annnndd working. (party)

Need to investigate with my team on why we have a copy of the main.mm.

In any case, thank you Proandruis!

1 Like