Problem with exporting to xcode and running in ios simulator
I have exported my successfully running app with custom javascript to XCode. The exporting works fine but when I build and run it, there are 2 issues
My home page has a button which when clicked should take you to the next page using Tiggr.navigateTo(). In the ios simulator, the home page loads fine but when i click the button nothing happens. When i loaded the html in chrome did the same action this is what i got in the javascript console
XMLHttpRequest cannot load file:///Users/jvenkata/Downloads/Cric_Score%204/iOSTiggrTemplate/PhoneGapTemplate/Resources/www/project/enterTeamDetails.html. Origin null is not allowed by Access-Control-Allow-Origin.
When i tried to load the second page in chrome I got the following javascript issue
Uncaught TypeError: Cannot call method 'getItem' of undefined.
This 'getItem' is used as part of Tiggr.applicationStorage.getItem ();
Can anyone please help me.
Thanks,
Jayanth.