Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. We have updated the language to the Editor Terms based on feedback from our employees and community. Learn more.
    Dismiss Notice
  3. Join us on November 16th, 2023, between 1 pm and 9 pm CET for Ask the Experts Online on Discord and on Unity Discussions.
    Dismiss Notice

il2cpp 4.6.6.p4 & 4.6.7 build link error

Discussion in 'iOS and tvOS' started by vqt123, Jul 1, 2015.

  1. vqt123

    vqt123

    Joined:
    Apr 16, 2013
    Posts:
    23


    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
     
    Last edited: Jul 1, 2015
  2. povilas

    povilas

    Unity Technologies

    Joined:
    Jan 28, 2014
    Posts:
    427
    It seems that you're using old main.cpp. Could you please use replace instead of append for a single time?
     
  3. vqt123

    vqt123

    Joined:
    Apr 16, 2013
    Posts:
    23
    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.
     
  4. proandrius

    proandrius

    Unity Technologies

    Joined:
    Dec 4, 2012
    Posts:
    544
    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!
     
  5. vqt123

    vqt123

    Joined:
    Apr 16, 2013
    Posts:
    23
    There IS a main.mm in our plugins folder!

    Removing now, and trying a new build, will report back.
     
    Last edited: Jul 2, 2015
  6. vqt123

    vqt123

    Joined:
    Apr 16, 2013
    Posts:
    23
    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!
     
    proandrius likes this.