Search Unity

Build error in Xcode - Undefined symbols for architecture arm64: "_UnityARKit_FaceProvider_TryRem

Discussion in 'AR/VR (XR) Discussion' started by Futurristic, Jul 26, 2019.

  1. Futurristic

    Futurristic

    Joined:
    Jun 21, 2016
    Posts:
    29
    Hi there !

    I'm using Unity 19.1.0f2, LWRP 5.6.1 & Arfoundation 1.1.0(preview 6), ARkit XR plugin 1.0.0 (preview 27)

    When I'm trying to do the build in Xcode getting the below error.

    iphoneos/ProductName.app/ProductName normal arm64 (in target: Unity-iPhone)

    cd /Users/amit/Desktop/Edscope_Xcode-july26

    export IPHONEOS_DEPLOYMENT_TARGET=11.0

    /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang++ -arch arm64 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS12.1.sdk -L/Users/amit/Library/Developer/Xcode/DerivedData/Unity-iPhone-dqksbnuwhmajetaftfydaaqcwhlp/Build/Products/ReleaseForRunning-iphoneos -L/Users/amit/Desktop/Edscope_Xcode-july26 -L/Users/amit/Desktop/Edscope_Xcode-july26/Libraries -L/Users/amit/Desktop/Edscope_Xcode-july26/Libraries/com.unity.xr.arextensions/Runtime/iOS -L/Users/amit/Desktop/Edscope_Xcode-july26/Libraries/com.unity.xr.arkit/Runtime/iOS -F/Users/amit/Library/Developer/Xcode/DerivedData/Unity-iPhone-dqksbnuwhmajetaftfydaaqcwhlp/Build/Products/ReleaseForRunning-iphoneos -filelist /Users/amit/Library/Developer/Xcode/DerivedData/Unity-iPhone-dqksbnuwhmajetaftfydaaqcwhlp/Build/Intermediates.noindex/Unity-iPhone.build/ReleaseForRunning-iphoneos/Unity-iPhone.build/Objects-normal/arm64/ProductName.LinkFileList -Xlinker -map -Xlinker /Users/amit/Library/Developer/Xcode/DerivedData/Unity-iPhone-dqksbnuwhmajetaftfydaaqcwhlp/Build/Intermediates.noindex/Unity-iPhone.build/ReleaseForRunning-iphoneos/Unity-iPhone.build/ProductName-LinkMap-normal-arm64.txt -miphoneos-version-min=11.0 -dead_strip -Xlinker -object_path_lto -Xlinker /Users/amit/Library/Developer/Xcode/DerivedData/Unity-iPhone-dqksbnuwhmajetaftfydaaqcwhlp/Build/Intermediates.noindex/Unity-iPhone.build/ReleaseForRunning-iphoneos/Unity-iPhone.build/Objects-normal/arm64/ProductName_lto.o -fembed-bitcode-marker -stdlib=libc++ -fobjc-arc -fobjc-link-runtime -weak_framework CoreMotion -weak-lSystem -framework Security -framework MediaToolbox -liPhone-lib -framework CoreText -framework AudioToolbox -weak_framework AVFoundation -framework AVKit -framework CFNetwork -framework CoreGraphics -framework CoreMedia -weak_framework CoreMotion -framework CoreVideo -framework Foundation -framework OpenAL -framework OpenGLES -framework QuartzCore -framework SystemConfiguration -framework UIKit -liconv.2 -lil2cpp -lARExtensions /Users/amit/Desktop/Edscope_Xcode-july26/Libraries/com.unity.xr.arkit/Runtime/iOS/UnityARKit.a -framework ARKit -weak_framework Metal -Xlinker -dependency_info -Xlinker /Users/amit/Library/Developer/Xcode/DerivedData/Unity-iPhone-dqksbnuwhmajetaftfydaaqcwhlp/Build/Intermediates.noindex/Unity-iPhone.build/ReleaseForRunning-iphoneos/Unity-iPhone.build/Objects-normal/arm64/ProductName_dependency_info.dat -o /Users/amit/Library/Developer/Xcode/DerivedData/Unity-iPhone-dqksbnuwhmajetaftfydaaqcwhlp/Build/Products/ReleaseForRunning-iphoneos/ProductName.app/ProductName



    Undefined symbols for architecture arm64:

    "_UnityARKit_FaceProvider_TryRemoveFace", referenced from:

    _ARKitFaceSubsystem_UnityARKit_FaceProvider_TryRemoveFace_m311847F58873432C8C895CCC2F1CCB5A8991114F in Unity.XR.ARKit.FaceTracking.o

    _ARKitFaceSubsystem_TryRemoveFace_m602A91B84E0559639116D004186C7C3946A9748E in Unity.XR.ARKit.FaceTracking.o

    _ARKitFaceSubsystem_TryRemoveNativeFace_m23A47DE34E96D62D4F8A5677B38BE74C2DBFCBA8 in Unity.XR.ARKit.FaceTracking.o

    (maybe you meant: _ARKitFaceSubsystem_UnityARKit_FaceProvider_TryRemoveFace_m311847F58873432C8C895CCC2F1CCB5A8991114F)

    "_UnityARKit_FaceProvider_TryGetFaceBlendCoefficients", referenced from:

    _ARKitFaceSubsystem_UnityARKit_FaceProvider_TryGetFaceBlendCoefficients_m19E60ECE81157F4F9DCE2E9765A2134761AA4449 in Unity.XR.ARKit.FaceTracking.o

    _ARKitFaceSubsystem_TryGetNativeFaceBlendCoefficients_m394B48DF794BA51C2C560A42C4D64DD69F67B489 in Unity.XR.ARKit.FaceTracking.o

    (maybe you meant: _ARKitFaceSubsystem_UnityARKit_FaceProvider_TryGetFaceBlendCoefficients_m19E60ECE81157F4F9DCE2E9765A2134761AA4449)

    "_UnityARKit_FaceProvider_TryGetFaceMeshIndices", referenced from:

    _ARKitFaceSubsystem_UnityARKit_FaceProvider_TryGetFaceMeshIndices_m89DE521E400775BE204BF5342DF52FA020245999 in Unity.XR.ARKit.FaceTracking.o

    _ARKitFaceSubsystem_TryGetNativeFaceMeshIndices_m5B9319A726C2CB76B7A1CAB383BCA52FF656A1F1 in Unity.XR.ARKit.FaceTracking.o

    (maybe you meant: _ARKitFaceSubsystem_UnityARKit_FaceProvider_TryGetFaceMeshIndices_m89DE521E400775BE204BF5342DF52FA020245999)

    "_UnityARKit_FaceProvider_TryGetFaceMeshVertices", referenced from:

    _ARKitFaceSubsystem_UnityARKit_FaceProvider_TryGetFaceMeshVertices_mBA68D741B9E973699CD229737192CC2806731723 in Unity.XR.ARKit.FaceTracking.o

    _ARKitFaceSubsystem_TryGetNativeFaceMeshVertices_m2FDF81CC52182CE6B1DCA1508C987C6B0957643B in Unity.XR.ARKit.FaceTracking.o

    (maybe you meant: _ARKitFaceSubsystem_UnityARKit_FaceProvider_TryGetFaceMeshVertices_mBA68D741B9E973699CD229737192CC2806731723)

    "_UnityARKit_FaceProvider_Stop", referenced from:

    _ARKitFaceSubsystem_UnityARKit_FaceProvider_Stop_m814D4D3BBF89E7BC4E3F742C5C4A40FA0622CA81 in Unity.XR.ARKit.FaceTracking.o

    _ARKitFaceSubsystem_Stop_m23125CC2079371CF298714C706FA51959BA4F1E3 in Unity.XR.ARKit.FaceTracking.o

    (maybe you meant: _ARKitFaceSubsystem_UnityARKit_FaceProvider_Stop_m814D4D3BBF89E7BC4E3F742C5C4A40FA0622CA81)

    "_UnityARKit_FaceProvider_Start", referenced from:

    _ARKitFaceSubsystem_UnityARKit_FaceProvider_Start_m2687BC560F4269B7EB699F64B533FAE0BBE67167 in Unity.XR.ARKit.FaceTracking.o

    _ARKitFaceSubsystem_Start_m81DDAA372D4493F97320A9DA8C2356791BA4374E in Unity.XR.ARKit.FaceTracking.o

    (maybe you meant: _ARKitFaceSubsystem_UnityARKit_FaceProvider_Start_m2687BC560F4269B7EB699F64B533FAE0BBE67167)

    "_UnityARKit_FaceProvider_TryGetAllFaces", referenced from:

    _ARKitFaceSubsystem_UnityARKit_FaceProvider_TryGetAllFaces_mDB7119BF076A30AEC53514A5F06651B6C883C95D in Unity.XR.ARKit.FaceTracking.o

    _ARKitFaceSubsystem_TryGetNativeAllFaces_mDABACB017D0EA4CF9AED31AB117A2263D4451C53 in Unity.XR.ARKit.FaceTracking.o

    (maybe you meant: _ARKitFaceSubsystem_UnityARKit_FaceProvider_TryGetAllFaces_mDB7119BF076A30AEC53514A5F06651B6C883C95D)

    "_UnityARKit_FaceProvider_TryGetFaceMeshUVs", referenced from:

    _ARKitFaceSubsystem_UnityARKit_FaceProvider_TryGetFaceMeshUVs_mE8B345E671437DF81570A19F17E4E8731DE7E44F in Unity.XR.ARKit.FaceTracking.o

    _ARKitFaceSubsystem_TryGetNativeFaceMeshUVs_m2C2168403C67F53FE45A8083E25153ECD145EE8C in Unity.XR.ARKit.FaceTracking.o

    (maybe you meant: _ARKitFaceSubsystem_UnityARKit_FaceProvider_TryGetFaceMeshUVs_mE8B345E671437DF81570A19F17E4E8731DE7E44F)

    "_UnityARKit_FaceProvider_Shutdown", referenced from:

    _ARKitFaceSubsystem_UnityARKit_FaceProvider_Shutdown_mCFF708E77F0C69BBCD28FC35D2041DC9288BA76E in Unity.XR.ARKit.FaceTracking.o

    _ARKitFaceSubsystem_Destroy_mE0185004BEF17A21E21A5CE1E6FBE09159194F4A in Unity.XR.ARKit.FaceTracking.o

    (maybe you meant: _ARKitFaceSubsystem_UnityARKit_FaceProvider_Shutdown_mCFF708E77F0C69BBCD28FC35D2041DC9288BA76E)

    "_UnityARKit_FaceProvider_SetFaceAnchorCallbacks", referenced from:

    _ARKitFaceSubsystem_UnityARKit_FaceProvider_SetFaceAnchorCallbacks_mCCED563595101D0E86284CA574EED5AE9BE602E4 in Unity.XR.ARKit.FaceTracking.o

    (maybe you meant: _ARKitFaceSubsystem_UnityARKit_FaceProvider_SetFaceAnchorCallbacks_mCCED563595101D0E86284CA574EED5AE9BE602E4)

    "_UnityARKit_FaceProvider_Initialize", referenced from:

    _ARKitFaceSubsystem_UnityARKit_FaceProvider_Initialize_mDC61B1E4243285043F5A1CBC344F725EC0FC9E9F in Unity.XR.ARKit.FaceTracking.o

    _ARKitFaceSubsystem__ctor_mCFD2FDAC2B2FD45B7C15B697268F6D9B54691905 in Unity.XR.ARKit.FaceTracking.o

    (maybe you meant: _ARKitFaceSubsystem_UnityARKit_FaceProvider_Initialize_mDC61B1E4243285043F5A1CBC344F725EC0FC9E9F)

    ld: symbol(s) not found for architecture arm64

    clang: error: linker command failed with exit code 1 (use -v to see invocation)


    I tried with both enabled/disabled state of ARKit face tracking, but always got the same above error. Can you someone pls help here. Appreciate it.

    Thanks