Please advise.
- 42 Posts
- 0 Reply Likes
- frustrated
Posted 4 years ago
JesseMonroy650 (Volunteer), Champion
- 3325 Posts
- 122 Reply Likes
I was looking at your past messages. A LOT has changed in two (2) years.
Pleas read the bold sentences in this FAQ. Then respond so we can deal with your issue.
Top Mistakes by Developers new to Cordova/Phonegap
Thanks
Jesse
- 42 Posts
- 0 Reply Likes
What I don't understand is up until yesterday this was not an issue with the ios build. As a matter of fact, not only did we have no issue with the ios build but it also generated a windows build. But now it only generates a failed ios build and a working android build. I also noticed that cli-5.2.0 seems to be coming up but was not there before? We are not using CLI.
I attached a screen shot of the app in our bd account. In addition, the log is not giving us any information on the error. This is what is in the log: Build Date: 2016-03-03 14:25:04 -0800
Any thoughts?

JesseMonroy650 (Volunteer), Champion
- 3325 Posts
- 122 Reply Likes
- 42 Posts
- 0 Reply Likes
the error log that came back is not html... but I wrapped it in tags in case that helps.
The error log that renders is:
Build Date: 2016-03-03 14:25:04 -0800
- 42 Posts
- 0 Reply Likes
JesseMonroy650 (Volunteer), Champion
- 3325 Posts
- 122 Reply Likes
1) What I don't understand is up until yesterday this was not an issue with the ios build. 2) As a matter of fact, not only did we have no issue with the ios build but it also generated a windows build. 3) But now it only generates a failed ios build and a working android build. 4) I also noticed that cli-5.2.0 seems to be coming up but was not there before? We are not using CLI.
@Vanessa,
1) If you did building, then something had to change. Otherwise, why rebuild? Please clarify.
2) When building, sometimes you need to set the build flag. There is a bug in the system - and we are not sure where it is at. Here is what you need to do.
Docs -> Configuring -> The Basics -> Platform Build Selection
Example Usage
<platform name="ios" />
<platform name="android" />
<platform name="winphone" />
3) When building for iOS you MUST always use a signing key for the Development version. (There is a different procedure for release) This might have turn off because one of two reason. 1. The signing key for development gets turned of after thirty (30) days. 2. When you went to rebuild, it might have reset the bug that make this situation happen.
4) AHHHH.. This appears to be your issue. In your config.xml, you need to set the phonegap-version.
This appears to be to basis of all your issues. FWIW: cli-5.2.0 is a *flag*. It indicate which Tool Release is in use. FWIW: the valid flags are available in documentation under
Docs -> Configuring -> Preferences -> Multi-Platform
3.0.0, 3.0.0, 3.1.0, 3.2.0, 3.3.0, 3.4.0, 3.5.0, 3.6.3, 3.7.0, cli-5.1.1, and cli-5.2.0
I should note ALL 3.X will no longer be available because Google will NOT accept any Phonegap version earlier than 4.1.1
Jesse
JesseMonroy650 (Volunteer), Champion
- 3325 Posts
- 122 Reply Likes
Jesse
- 42 Posts
- 0 Reply Likes
We changed the phonegap-version earlier today and when we changed that it also broke the android app and we had to switch it back just to get it working on android again. What do you recommend that the version be switched to?
I will also check the signing key.
JesseMonroy650 (Volunteer), Champion
- 3325 Posts
- 122 Reply Likes
If you previously, it was cli-5.1.1 - you are on a good track and we must find the exact error.
If you previously, it was 3.x or earlier, then you might need to make major changes. At the very least, you will need to apply the whitelist plugin and the associate parts.
Jesse
- 42 Posts
- 0 Reply Likes
we have also tried adding
so that is now showing up again.
We have been wracking our brains over this for 2 days now. Any suggestions?
- 42 Posts
- 0 Reply Likes
However winphone is now showing up since we added that platform back into the config file.
PLEASE HELP!
Brett, OFFICIAL REP
- 547 Posts
- 54 Reply Likes
- 42 Posts
- 0 Reply Likes
Suggestions?
- 42 Posts
- 0 Reply Likes
Brett, OFFICIAL REP
- 547 Posts
- 54 Reply Likes
(eg. /res/icon and /res/Icon)
JesseMonroy650 (Volunteer), Champion
- 3325 Posts
- 122 Reply Likes
- 42 Posts
- 0 Reply Likes
Success!
JesseMonroy650 (Volunteer), Champion
- 3325 Posts
- 122 Reply Likes
can you please let us know what the exact issue were so we could help other developers that might fall into the same pitfall.
Jesse
JesseMonroy650 (Volunteer), Champion
- 3325 Posts
- 122 Reply Likes
ON Desktop App, it is a learning and testing tool. IT SHOULD NOT BE part of your workflow.
Desktop App is a PITA. Here is my canned message on that.
Canned Message
I need to blog this, so i don't have to repeat this answer again and again.
You cannot use Phonegap Desktop App with Phonegap Build.
Phonegap Desktop App uses Phonegap CLI, so if you want to use Phonegap Desktop App you need to stay with Phonegap CLI.
If you want to use Phonegap Build, then forget what you have done and start over _OR_ make Minor modifications to move Phonegap Desktop App to Phonegap Build. To be clear, the difference is minor, but enough to keep tripping you.
Also, you will not be able to use Phonegap Developer App as that is meant to work with Phonegap Desktop App. You cannot use either CLI or Build with Developer App.
FWIW: I've been trying to get Phonegap to fix this. Here is the report on the issue.
Let me know what you want to do.
Jesse
- 42 Posts
- 0 Reply Likes
Thank you for that explanation. I wish that was more clearly stated in the documentation. It seems there are a lot do's and don'ts because it is easy when you are newer to this to get the platforms mixed up and it takes a lot of time searching through forums to try to figure that stuff out.
When we first started this we used the desktop app to try it out but ended up building the app in dreamweaver and saving our code to github as we made changes. Then we would upload the files to build. But this is very helpful information to know.
As for what was causing the build error. After inspecting the files it came to our attention that there were a lot of icon files that somehow ended up being duplicated but the duplicated files were empty files that were 5 bytes each. We are not sure where the files actually ended up coming from, maybe a glitch during an upload or something... but once they were deleted everything was corrected and the build for iOS and Windows was able to successfully complete.
JesseMonroy650 (Volunteer), Champion
- 3325 Posts
- 122 Reply Likes
On your issue, WOW! That is annoying.
FWIW: sometimes .png files have issues when being saved.
On the rest, Yes - I'm almost weekly writing a bug reports.
This is the nature of Open Source. As a whole people take, but rarely give back. The bug reports, like yours, help us find transient errors that should caught be the developer, but often other persons - such Petra V., Chris Griffith, jcesarmobile and I are the firewalls.
In short, somewhere between laziness, incompentence, and oversight sit us.
Best of Luck
Jesse
Related Categories
-
PhoneGap Build
- 15111 Conversations
- 275 Followers



