UnrealBuildTool: ld: framework not found ARKit

UATHelper: 打包 (iOS): UnrealBuildTool: Compiling with iPhoneOS SDK 10.2

UATHelper: 打包 (iOS): UnrealBuildTool: Performing 1 actions (4 in parallel)

UATHelper: 打包 (iOS): UnrealBuildTool: [1/1] sh /Users/mac/Documents/Unreal Projects/Test1/Binaries/IOS/Test1

UATHelper: 打包 (iOS): UnrealBuildTool: ld: framework not found ARKit

UATHelper: 打包 (iOS): UnrealBuildTool: clang: error: linker command failed with exit code 1 (use -v to seeinvocation)

UATHelper: 打包 (iOS): UnrealBuildTool: ERROR: UBT ERROR: Failed to produce item:

/Users/mac/Documents/Unreal Projects/Test1/Binaries/IOS/Test1

UATHelper: 打包 (iOS): UnrealBuildTool: Total build time: 17.27 seconds (Local executor: 0.00 seconds)

i use worry xcode version

I was getting this error when my XCode wasn’t set to use the newest version as default. Go to XCode > Preferences > Locations, and make sure that the Command Line Tools dropdown says “Xcode 9.0”. Only v9 of XCode has the ARKit code, so it won’t find it to compile if your command line tools are set to use an older version.