My project works fine on Google Chrome and Ripple ,

but when I settup VMWare with Mac OS 10.7.5, Xcode 4.6.2, I follow setup platform ios on http://www.drupalgap.org/node/193

when I run project on Iphone Simulator, it shows blank screen, and no log, only Xcode output :

2014-09-05 19:17:00.709 OffersApp[4359:18e03] Multi-tasking -> Device: YES, App: YES 
2014-09-05 19:17:00.727 OffersApp[4359:18e03] Unlimited access to network resources 
2014-09-05 19:17:00.735 OffersApp[4359:18e03]   Started backup to iCloud! Please be careful. Your application might rejected by Apple if you store too much data. For more information please read "iOS Data Storage Guidelines" You could find it at the following address https://developer.apple.com/icloud/documentation/data-storage/ .  
2014-09-05 19:17:00.805 OffersApp[4359:18e03] [CDVTimer][file] 36.345005ms 
2014-09-05 19:17:00.806 OffersApp[4359:18e03] [CDVTimer][TotalPluginStartup] 38.089991ms 
2014-09-05 19:17:00.935 OffersApp[4359:18e03] Resetting plugins due to page load. 
2014-09-05 19:17:03.793 OffersApp[4359:18e03] Finished load of: file:///Users/huynhat/Library/Application%20Support/iPhone%20Simulator/6.1/Applications/C5BACCD3-EA58-4A0F-B234-81EBC2DFF05C/OffersApp.app/www/index.html

anyone please help me.

Comments

tyler.frankenstein’s picture

Status: Active » Postponed (maintainer needs more info)

I would recommend stepping through each function, and outputting some debug info to the console, e.g.:

dpm('A');
...
dpm('B');
...
dpm('C');
...

Start with drupalgap_onload(), then move through it. Once you're satisfied that function is working properly, then move onto _drupalgap_deviceready(), and so on...

See this page for info on using the makefile to generate a new bin/drupalgap.js file, or you can modify the bin/drupalgap.js file directly: http://www.drupalgap.org/node/224

And of course, be sure to update your DrupalGap Module and SDK to the latest recommended releases. Also, I'd recommend using PhoneGap 3.3.0.

tyler.frankenstein’s picture

Status: Postponed (maintainer needs more info) » Closed (works as designed)

Closing due to inactivity, please open a new issue if a problem persists.