Excpetion "EXCEPTION: Error: Uncaught (in promise): Failed to load file" is shown into iOS Console

Solution Verified - Updated -

Issue

  • App reports "Failed to load file" in the device log
  • Hybrid app works fine on Android but hangs on iOS
  • Excpetion "EXCEPTION: Error: Uncaught (in promise): Failed to load file" is shown into iOS Console.

Following an example of this log.

EXCEPTION: Error: Uncaught (in promise): Failed to load file:///var/containers/Bundle/Application/5D7E8623-F13A-437D-9F5DFA4E0B79C711/test.app/www/app/+home/test.component.css

Environment

  • Red Hat Mobile Application Platform (RHMAP) - v3
  • iOS
  • Cordova v3.9.2

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.