Search Unity

  1. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  2. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

arfoundation support for arkit

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

  1. Futurristic

    Futurristic

    Joined:
    Jun 21, 2016
    Posts:
    42
    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

    Joined:
    Apr 21, 2017
    Posts:
    605
    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:
    42
    thx a lot. its working now.