UE4.21 or 4.22,
Enable AR Kit Plugin,
Package error, info below might be useful:
Undefined symbols for architecture arm64:
…
“OBJC_CLASS$_ARWorldMap”, referenced from:
objc-class-ref in Module.AppleARKit.cpp.o
ld: symbol(s) not found for architecture arm64
You can install an older version of Xcode and keep the current.
To select which XCode should be used by unreal, open macOS terminal and use this command:
for example:
Make a subfolder in /Applications for the older version, named /Applications/XCode10/
then you can switch which one, using one of these command: