A hybrid app was developed using Drupalgap cordova for iOS. The project is named ExampleApp, as followed by a tutorial, and once started in Xcode (5 and 6) the app works well in iOS simulator. Now I need to rename the app to a custom name to put it for submission in the App Store, but once I do that in Xcode, the app breaks. I followed the official Apple Support page to do that and the one here on stackoverflow with no luck. The app is present on iOS iPhone simulator dashboard with the icon and a new name, but once it starts loading the splash screen, it breaks as soon as it loads it. What is the best way to resolve this problem?
Asked
Active
Viewed 332 times
1 Answers
0
Here's what I would do:
- use the PhoneGap Command Line Interface to create a new "official" project:
cordova create OfficialApp com.official "OfficialApp"
- add the iOS xCode project files:
cordova platform add ios
- install the DrupalGap SDK on top of the empty project
- copy the
www/app
folder from ExampleApp into your new empty project'swww/app
folder - prepare/build the app from the terminal
- test in xCode simulator
Be sure to replace any custom modifications you had to the index.html file of your new Project. More info: http://drupalgap.org/node/193
Each step of the way, I'd recommend doing a prepare/build via the terminal and then launch the app via xCode to verify PhoneGap works out of the box, then DrupalGap works out of the box, then drop your app on top and run it.
If these steps don't work, I'd recommend opening up an issue in one of the queues:

tyler.frankenstein
- 2,314
- 1
- 23
- 36
-
Thank you very much for your comment. I will try to follow your advice and let you know if I had any luck. – MiG Oct 14 '14 at 06:58
-
1I can now confirm this works nicely and the app loads well. Thank you very much for your suggested solution. – MiG Oct 14 '14 at 11:53