iPadMini4 device profile doesn’t work because the engine looks for iPadMini5.
Here’s the broken bit of code:
static const TCHAR* IOSDeviceNames[] =
{
L"IPhone4",
L"IPhone4S",
L"IPhone5",
L"IPhone5S",
L"IPodTouch5",
L"IPodTouch6",
L"IPad2",
L"IPad3",
L"IPad4",
L"IPadMini",
L"IPadMini2",
L"IPadMini5",
L"IPadAir",
L"IPadAir2",
L"IPhone6",
L"IPhone6Plus",
L"IPhone6S",
L"IPhone6SPlus",
L"IPadPro",
L"AppleTV",
L"IPhoneSE",
L"IPadPro_12.9",
L"IPadPro_9.7",
L"Unknown",
};
Note the L"IPadMini5" entry should be L"IPadMini4"