Search Unity

ARKit3 demos > dyld:Symbol not found _OBJC_CLASS_$_ARMatteGenerator

Discussion in 'AR' started by eco_bach, Jun 12, 2019.

  1. eco_bach

    eco_bach

    Joined:
    Jul 8, 2013
    Posts:
    1,601
    Hi
    Trying to simply compile and launch any of the demos from latest ARFoundation 2.2 here
    https://github.com/Unity-Technologies/arfoundation-samples

    Here are my specs
    Unity 2019.1.0f1
    iPhone XR iOS 12.2
    XCode 11 beta
    Minimum iOS targeting 12

    No errors on deploy.
    However when I launch get the following error(s)(attached)

    Update 1 > Tried enabled Symlink Libraries. No difference

    Update 2 > Tried upgrading from iOS 12.2 to 12.3. No difference

    Update 3 > Tried deploying SimpleAR demo. Same. Deploys without error but same error on launch.

    Update 4 > Tried deploying identical SimpleAR demo to another iOS device (iPhone7) Same. Deploys without error but same error on launch.


    Question> Do I need to be using a more recent beta version of Unity?
    "
    Code (CSharp):
    1. dyld: Symbol not found: _OBJC_CLASS_$_ARMatteGenerator
    2.   Referenced from: /var/containers/Bundle/Application/99CA3EBC-08FA-4CE8-8E39-58D07ABC30DB/humanSegmentation.app/humanSegmentation
    3.   Expected in: /System/Library/Frameworks/ARKit.framework/ARKit
    4. in /var/containers/Bundle/Application/99CA3EBC-08FA-4CE8-8E39-58D07ABC30DB/humanSegmentation.app/humanSegmentation
    5. (lldb)
    Screen Shot 2019-06-12 at 1.43.53 PM.png
     
    Last edited: Jun 12, 2019
  2. tdmowrer

    tdmowrer

    Joined:
    Apr 21, 2017
    Posts:
    605
    The latest ARKit XR Plugin requires Xcode 11 beta and iOS 13 beta. You can downgrade the ARKit XR Plugin package to version 2.1 if you plan to deploy to iOS 12 and do not want to experiment with the ARKit 3 features.

    Note: If you use Xcode 11 beta, then you must also upgrade your iPhone to iOS 13 beta.

    The ARKit XR Plugin version 2.1 is only compatible with Xcode 9-10 and iOS 11-12. ARKit XR Plugin version 2.2 requires Xcode 11 beta + iOS 13.
     
  3. eco_bach

    eco_bach

    Joined:
    Jul 8, 2013
    Posts:
    1,601
    Thanks got it. So I need iOS 13
     
  4. mhellnerdev

    mhellnerdev

    Joined:
    Feb 25, 2019
    Posts:
    8
    thanks for this.
    Thanks for this. Corrected my project after updating.
     
  5. GeorgeMincila

    GeorgeMincila

    Joined:
    Feb 28, 2016
    Posts:
    36
    Does this mean if I use this setup to publish to the App Store, users with iOS 12 will not be able to download / use the app (crash), even though I have not used ARKit 3 specific features in the app?