Search Unity

Can't build on iOS - Undefined symbols issue

Discussion in 'Unity Analytics' started by alex_hajdu, Mar 27, 2015.

  1. alex_hajdu

    alex_hajdu

    Joined:
    Nov 10, 2013
    Posts:
    32
    I added Unity analytics to my project and can't build it in xcode. Please what am I suppose to do?

    Code (CSharp):
    1. Undefined symbols for architecture armv7:
    2.   "_UnityEngine_Cloud_IsJailbroken", referenced from:
    3.       RegisterMonoModules() in RegisterMonoModules.o
    4.   "_UnityEngine_Cloud_GetBundleIdentifier", referenced from:
    5.       RegisterMonoModules() in RegisterMonoModules.o
    6.   "_UnityEngine_Cloud_GetAppVersion", referenced from:
    7.       RegisterMonoModules() in RegisterMonoModules.o
    8.   "_UnityEngine_Cloud_GetAppInstallMode", referenced from:
    9.       RegisterMonoModules() in RegisterMonoModules.o
    10. ld: symbol(s) not found for architecture armv7
    11. clang: error: linker command failed with exit code 1 (use -v to see invocation)
     

    Attached Files:

  2. kentunity

    kentunity

    Unity Technologies

    Joined:
    Sep 16, 2014
    Posts:
    55
    Can you check the Assets/Plugins/iOS/UnityEngineCloudiOS file is there?
    If you're using Unity 5, select that file in the Editor and make sure the iOS platform is checked in the inspector.
     
  3. alex_hajdu

    alex_hajdu

    Joined:
    Nov 10, 2013
    Posts:
    32
    I've no such a file in my project. This is all I have. When I select iOS on that files I cant build from Unity. Thank you for your assistance... Screen Shot 2015-03-28 at 12.17.08.png Screen Shot 2015-03-28 at 12.17.13.png Screen Shot 2015-03-28 at 12.17.19.png Screen Shot 2015-03-28 at 12.17.25.png Screen Shot 2015-03-28 at 12.17.25.png Screen Shot 2015-03-28 at 12.17.29.png
     
  4. kentunity

    kentunity

    Unity Technologies

    Joined:
    Sep 16, 2014
    Posts:
    55
    @alex_hajdu - Can you try redownloading the Unity Analytics SDK package then reimporting it? (Also delete the old Analytics SDK files as well)

    During import you should see the UnityEngineCloudiOS file.
     

    Attached Files:

  5. alex_hajdu

    alex_hajdu

    Joined:
    Nov 10, 2013
    Posts:
    32
    I had sdk downloaded from Unity analytics home page. Package downloaded from Unity store worked for me. Thank you..