IOS AR Build Fails for BP Projects on Preview5 Binary Build

Steps to reproduce

In UE 4.20 Preview 5 Binary Build, do the following

  1. Create new Blueprint Handheld AR
  2. Project Setup Remote Building from
  3. Win Machine to Mac Remote Observe
  4. Build failure when packaging for IOS

Build fails with following problem

Undefined symbols for architecture arm64:
UATHelper: Packaging (iOS): “OBJC_CLASS$_ARImageAnchor”, referenced from:
UATHelper: Packaging (iOS): objc-class-ref in Module.AppleARKit.cpp.o
UATHelper: Packaging (iOS): “OBJC_CLASS$_ARReferenceImage”, referenced from:
UATHelper: Packaging (iOS): objc-class-ref in Module.AppleARKit.cpp.o
UATHelper: Packaging (iOS): ld: symbol(s) not found for architecture arm64
UATHelper: Packaging (iOS): clang: error: linker command failed with exit code 1 (use -v to see invocation)

246391-photo-2018-07-06-12-03-51.jpg

Does one need to have MacOS High 10.13 installed or is Sierra 10.12 enough? Could this be the problem?

Hello,

What version of XCode are you using on your Mac?

We require Xcode 9.4 now. To use ARKit 2.0 features, you need Xcode 10 beta and iOS 12 beta.

Thanks for pointing that out. If possible, I would propose to have a warning/error message telling the user what is needed to build the ARKit App on the mac side of things. Just because the error message is hard to understand and from a users perspective could be a bug or problem etc. Anyway, thanks for the quick answer!

XCode 9.2 unfortunately. Still thank you very much for your quick response! :slight_smile: