Hello
Duplicate of this closed issue:
Similar to the other cases App using ARFoundation was rejected by apple today. The app doesn't use TrueDepth.
"During review, we found that your app includes TrueDepth APIs. However, we were not able to locate any features in your app that use TrueDepth APIs. If your app uses the Unity ARKit plugin, it would be appropriate to update to the latest version, which includes a setting that allows you to exclude TrueDepth APIs."
Findings:
1) I don't see ARKitSettings equivalent in ARFoundation to exclude TrueDepth, does it exist?
2) Following @mdurand42 's and recommendation and
@tdmowrer here I've also checked the Xcode project generated by Unity and indeed it does include a Facetracking library libUnityARKitFaceTracking.a

3) Package includes ARKit Face Tracking

Should I remove the ARKit Face tracking package or maybe that breaks ARF? Or should I just a raw right-click & delete the ARKitFaceTracking library libUnityARKitFaceTracking.a from XCode project and leave the ARKit Face tracking package as is?
Please give me some guidance what a good next step to resolve this is please.
Thank you
You can remove the package and still use ARFoundation. You just will not be able to access the ARKit face tracking provider if the package is removed (which relies on a native plugin to interact with the ARKit true Depth API). As long as you do not need face tracking in your application you can do this without any problem.
Hi @DavidMohrhardt , thanks a bunch for your prompt response!
After experimenting and as you kindly highlight, removing ARKit face tracking package didn't break the project , though I note I did have to delete script ARKitBlendShapeVisualizer.cs as mentioned by @posthaugness and further confirmed by @SynSeia in unity's forum to be able to build.
I was then able to upload to apple now awaiting feedback. I'll post back when I hear :)
thank you again for your help !
@sergiosolorzano This is exactly the reason we provide face tracking functionality via a separate package. This is not a bug, but the expected behavior. Please see https://github.com/Unity-Technologies/arfoundation-samples#why-is-arkit-face-tracking-a-separate-package for an explanation.
As @DavidMohrhardt says, if you are not using face tracking, then you should remove the ARKit Face Tracking package. Its presence triggers additional privacy concerns during app validation. See Apple's statement:
Note
Face tracking provides your app with personal facial information. If you use ARKit face tracking features, your app must include a privacy policy describing to users how you intend to use face tracking and face data. For details, see the Apple Developer Program License Agreement.
Thank you for the clarification @tdmowrer , now I undertand and makes sense, i've removed the word Bug from the title too
Cheers !
Evening people! So I had this issue with Apple to but they sent me a link on how to resolve this. You can select or deselect using Face Tracking in ARKit Settings that can be found in the XR Plug-in Management. Just uncheck face tracking in the inspector. More info see here https://forum.unity.com/threads/submitting-arkit-apps-to-appstore-without-face-tracking.504572/#post-3297235
That forum link is not talking about the ARKit XR Plugin that is part of ARFoundation, but yes, you can disable face tracking from XR Plug-in Management. This is exactly the reason it is there :)
That forum link is not talking about the ARKit XR Plugin that is part of ARFoundation, but yes, you can disable face tracking from XR Plug-in Management. This is exactly the reason it is there :)
my apologies. I had the issue with TrueDepth API from my submission today and got rejected for it. Hopefully ticking that box solves the issue
The way to be sure is to check your Xcode project and make sure it does _not_ reference libUnityARKitFaceTracking.a, as in this screenshot:

If you still see it there, you can remove the ARKit Face Tracking package via the Package Manager.
The way to be sure is to check your Xcode project and make sure it does _not_ reference
libUnityARKitFaceTracking.a, as in this screenshot:
If you still see it there, you can remove the ARKit Face Tracking package via the Package Manager.
Yep I did that as per the link, and it's not there! Thank you :)