I am facing one of the strangest problem.My ionic v1 app works fine in android and iphone but it is not working properly in ipad. My app has four tabs one of the tab is home which loads ‘home’ view to which ‘HomeController’ is binded, but somehow this controller fails to load while app running in ipad i.e angularjs is unable to find the ‘HomeController’.
Below is the Xcode log screenshot displaying “HomeController” error.
As we can see in the above Xcode log screenshot angularjs is unable to find and load “HomeController”.
i have also checked for any case error in name while including “HomeController.js” file in index.html that is also correct.Also i have checked for any Dependency injection error but everything is right if it was not then app would not run on any device.
Below is configuration information-
@ionic/cli-utils : 1.9.2 ionic (Ionic CLI) : 3.9.2 global packages: Cordova CLI : 7.0.1 Gulp CLI : not installed globally local packages: Cordova Platforms : ios 4.1.0 Ionic Framework : ionic1 1.3.1 System: Node : v6.11.2 npm : 3.10.10 OS : macOS Sierra Xcode : Xcode 8.3.3 Build version 8E3004b
Ipad’s ios version:-9.3.5