Unity-Technologies / arfoundation-samples

Example content for Unity projects based on AR Foundation
Other
3.07k stars 1.15k forks source link

Doesn't build (link) on iOS...? #31

Closed foxxis closed 6 years ago

foxxis commented 6 years ago

Not sure if this is related to the other iOS build issue. However, I downloaded the package and it fails to link:

  "_OBJC_METACLASS_$_ARAnchor", referenced from:
      _OBJC_METACLASS_$_ARPlaneAttachmentAnchor in UnityARKit.a(ARKitXRReferencePointProvider.o)
  "_OBJC_CLASS_$_ARAnchor", referenced from:
      _OBJC_CLASS_$_ARPlaneAttachmentAnchor in UnityARKit.a(ARKitXRReferencePointProvider.o)
      objc-class-ref in UnityARKit.a(ARKitXRReferencePointProvider.o)
  "_OBJC_CLASS_$_ARPlaneAnchor", referenced from:
      objc-class-ref in UnityARKit.a(ARKitXRReferencePointProvider.o)
      objc-class-ref in UnityARKit.a(ARKitXRPlaneProvider.o)
  "_OBJC_CLASS_$_ARSession", referenced from:
      objc-class-ref in UnityARKit.a(ARKitXRSessionProvider.o)
  "_OBJC_CLASS_$_ARWorldTrackingConfiguration", referenced from:
      objc-class-ref in UnityARKit.a(ARKitXRSessionProvider.o)
ld: symbol(s) not found for architecture arm64
clang: error: linker command failed with exit code 1 (use -v to see invocation)

Unity 2018.2.2f1 Xcode 9.4.1 (9F2000), build target iOS11 universal.

foxxis commented 6 years ago

Never mind - symlink was accidentally unchecked in build options. My apologies.