Fix iOS issue when xml isn't cached on the device