Open rpayanm opened 8 years ago
@rpayanm Do you mean you set the mode
to phonegap
in the settings.js
file?
Are you using cordova save plugin
after adding the plugins? You have to use that now so it properly rebuilds the app. Then in xCode I go to project -> clean, and then relaunch it from xCode to make sure all the new code is pulled in.
@rpayanm Do you mean you set the mode to phonegap in the settings.js file?
Yes, sorry, the issue I made a mistake I set the mode to phonegap in the settings.js file, like this:
// DrupalGap Mode (defaults to 'web-app')
// 'web-app' - use this mode to build a web application for a browser window
// 'phonegap' - use this mode to build a mobile application with phonegap
//drupalgap.settings.mode = 'web-app';
drupalgap.settings.mode = 'phonegap';
Already I managed to work and without doing anything. The issue occurs in the iphone 6, on the other devices it runs fine.
@rpayanm normally this errors was from phonegap and not for drupalgap, try to post this in forums of phonegap, probably also i read each update of ios have problems
Hello: I'm working on an app for Android and iOS, have these installed plugins:
When I compile the app for Android everything it works fine, but when I do I generate for iOS and the .ipa I get: In both the emulator and on iOS devices (iPhone, iPad, etc).
To generate the .ipa in Xcode 7.2 and follow these steps:
--- Install Xcode v7 or higher. --- Install NodeJS https://nodejs.org/en/ --- Run in terminal:
sudo npm install -g cordova
--- In terminal:--- Replace the www folder with my code. In index.html I add:
<script type="text/javascript" src="cordova.js"></script>
and setdrupalgap.settings.mode = 'web-app';
insettings.js
--- I run in terminal: $ cordova build --- I run the .xcodeproj file on MyApp/platform/ios/ --- I follow this steps: http://virteom.com/how-to-create-an-ipa-file-using-xcode
What am I doing wrong?
Thank you