ARKit iOS plist injection on build

I found another way to change the string, but still it is a temporary solution:

edit
\Program Files\Epic Games\UE_4.21\Engine\Plugins\Runtime\AppleARKit\Source\AppleARKit\AppleARKit_IOS_UPL.xml
or wherever the engine code is and change the NSCameraUsageDescription value in there:

In my case:

<addElements tag="dict" once="true">
            <key>NSCameraUsageDescription</key>
            <string>Permit Camera Usage? It is used to capture your facial expressions</string>
</addElements>

Make sure to change the value for each engine update :slight_smile:

After that the ipa would be fine :slight_smile:

I taught that an engine rebuild will be needed, but the ipa build reads this xml file at runtime!

2 Likes