Search Unity

arfoundation support for arkit

Discussion in 'Handheld AR' started by Futurristic, Dec 27, 2018.

  1. Futurristic

    Futurristic

    Joined:
    Jun 21, 2016
    Posts:
    29
    Hi All,

    I'm getting the below error when I'm trying to compile the code in Xcode for arfoundation GitHub sample code .

    Undefined symbols for architecture arm64:

    "_OBJC_CLASS_$_ARWorldMap", referenced from:

    objc-class-ref in UnityARKit.a(WorldMapManager.o)

    ld: symbol(s) not found for architecture arm64

    thanks
     
  2. tdmowrer

    tdmowrer

    Unity Technologies

    Joined:
    Apr 21, 2017
    Posts:
    518
    Try using Xcode 10+. We've designed it so that you should be able to use Xcode 9.x, but it looks like we missed one spot where ARWorldMap (an iOS 12 feature, requiring Xcode 10+) is not correctly guarded. That will be fixed in the next release. For now, upgrading to Xcode 10 should fix the linker error for you.
     
    Futurristic likes this.
  3. Futurristic

    Futurristic

    Joined:
    Jun 21, 2016
    Posts:
    29
    thx a lot. its working now.