trying to identify the cause for a CORS error message on iOS