iOS build is not installing

  • 1
  • Problem
  • Updated 4 years ago
Hi,

I have two problems. First is that i'm unable to install my apps that I've created on phonegap now either by QRcode or iTunes. They installed just fine before. My current iPad ver is 9.3.2.

Secondly, now when I upload new zip file to update, it shows that it has created the build but it shows the older version on the phone gap app page and since I can't install the app, I'm not sure where is the problem.

Regards.
Photo of Irfan Samuel

Irfan Samuel

  • 8 Posts
  • 0 Reply Likes

Posted 4 years ago

  • 1
Photo of Petra V.

Petra V., Champion

  • 7794 Posts
  • 1391 Reply Likes
If your zip file is available online somewhere, please post its url and I'll be happy to have a look.
Photo of Irfan Samuel

Irfan Samuel

  • 8 Posts
  • 0 Reply Likes
Sorry, I can't send you the whole project as its for a client and I'm not allowed.
Its a simple html project with one javascript to save text data in text area.
Do you need config.xml to examine?
Photo of Petra V.

Petra V., Champion

  • 7794 Posts
  • 1391 Reply Likes
That wouldn't allow me to check for errors elsewhere. My guess is that you assembled an incompatible zip file, either a full Cordova project or config and index in the wrong place.

Yet, we could start with the config, yes.

Is your client aware that the app's code will be open to everyone, once published?
Photo of Irfan Samuel

Irfan Samuel

  • 8 Posts
  • 0 Reply Likes
Its a simple ebook with the ability to save text in text area.

I haven't moved the files. Just creating the zip files and uploading via phonegap update code button.
Photo of JesseMonroy650 (Volunteer)

JesseMonroy650 (Volunteer), Champion

  • 3325 Posts
  • 122 Reply Likes
@Petra,
beginner, using stock config.xml - likely this one https://github.com/phonegap/phonegap-...

Best of Luck
Jesse
Photo of Petra V.

Petra V., Champion

  • 7794 Posts
  • 1391 Reply Likes
A whole lot of errors.

1. The document declaration line is missing.

2. You are using all old, deprecated plugins from the pgb repo. Use the latest versions from npm instead. Be aware tha they are named differently, though!

3. You have assets for Blackberry and WebOS in your config. Why?

4. You have a whitelist rule, but the whitelist plugin is missng

5. Since you specify paths like "www/res/..." in your config, I guess that your index.html and config.xml are not both in the root directory of your zip file, which causes PGB to ignore the config completely.
Photo of Irfan Samuel

Irfan Samuel

  • 8 Posts
  • 0 Reply Likes
@Petra
Thank you for the feedback. I'll download the latest config.xml and will let you know.
Regards.
Photo of Petra V.

Petra V., Champion

  • 7794 Posts
  • 1391 Reply Likes
Any config you dowload will not be your config. You need to edit the present config according to the suggestions above and change the directory structure to have both index and config in the root of the zip.
Photo of Irfan Samuel

Irfan Samuel

  • 8 Posts
  • 0 Reply Likes
Thanks a lot Petra :)
really appreciate your response.
Photo of JesseMonroy650 (Volunteer)

JesseMonroy650 (Volunteer), Champion

  • 3325 Posts
  • 122 Reply Likes
@Irfan
Since this appears to be your first posting, please answer the following questions.
- is this your first hybrid mobile app?
- are you using phonegap desktop app?
- Are you using CLI, Build or SDK? Please do not assume the answer. Please read the link.

Thanks
Jesse