Building for windows/winphone does not seem to work (cli-6.0.0)

  • 3
  • Problem
  • Updated 4 years ago
Trying to build for windows/winphone with cli-6.0.0 does not seem to work.
Documentation is not updated to describe if we should still build with platform=winphone or windows.

Attempting to build with windows leaves me with no builds being built at all.

Attempting to build with winphone starts a build, but fails with the following, extremely uninteresting log:
Build Date: 2016-02-10 10:04:19 +0000

Am I missing something here, or is this totally broken?
Photo of Statens vegvesen Vegdirektoratet

Statens vegvesen Vegdirektoratet

  • 29 Posts
  • 0 Reply Likes

Posted 4 years ago

  • 3
Photo of JesseMonroy650 (Volunteer)

JesseMonroy650 (Volunteer), Champion

  • 3325 Posts
  • 122 Reply Likes
Statens,
are you talking about these instructions?

Docs -> Configuring -> The Basics -> Platform Build Selection

Jesse
Photo of ryan

ryan, Developer

  • 1538 Posts
  • 132 Reply Likes
For the time being you should continue to use


<platform name="winphone" />


for PhoneGap Build cli-6.0.0 Windows builds. We've left this for backwards compatibility but may update.
Photo of Statens vegvesen Vegdirektoratet

Statens vegvesen Vegdirektoratet

  • 29 Posts
  • 0 Reply Likes
Thanks for clearing that up. Then we're left with solving why the build fails with practically no logging.
Photo of ryan

ryan, Developer

  • 1538 Posts
  • 132 Reply Likes
Can I get your App ID?
Photo of Statens vegvesen Vegdirektoratet

Statens vegvesen Vegdirektoratet

  • 29 Posts
  • 0 Reply Likes
The App ID is 948817, but it's a few builds since I tried building for Windows with cli-6.0.0.
Photo of JesseMonroy650 (Volunteer)

JesseMonroy650 (Volunteer), Champion

  • 3325 Posts
  • 122 Reply Likes
@Statens,
several issues were found with the windows build. See if any of these were yours.

http://community.phonegap.com/nitobi/topics/installed-6-0-0-but-where-is-windows-support#reply_16606004

Jesse
Photo of Statens vegvesen Vegdirektoratet

Statens vegvesen Vegdirektoratet

  • 29 Posts
  • 0 Reply Likes
I looked at that thread, and at the threads that it linked to. The only thing close to a suggestion for solving problems was that "feature" tags are causing some issues with Windows builds.
I don't have any feature tags, so no luck there.
Photo of Niall

Niall

  • 6 Posts
  • 0 Reply Likes
Is there any news on getting builds for 6.0.0 with windows fixed?

I'm still having problems with it.
Photo of JesseMonroy650 (Volunteer)

JesseMonroy650 (Volunteer), Champion

  • 3325 Posts
  • 122 Reply Likes
Photo of Niall

Niall

  • 6 Posts
  • 0 Reply Likes
Thanks, but got all of these in already and still no go.
Photo of JesseMonroy650 (Volunteer)

JesseMonroy650 (Volunteer), Champion

  • 3325 Posts
  • 122 Reply Likes
okay.

Please post App Id.

Photo of Niall

Niall

  • 6 Posts
  • 0 Reply Likes
Thanks,


App Id
1380581

Build Version
PhoneGap (iOS / Android / Windows)
cli-6.0.0 (4.0.1 / 5.1.0 / 4.3.0)



Log only contains a single line

Build Date: 2016-02-16 22:44:36 +0000
Photo of Statens vegvesen Vegdirektoratet

Statens vegvesen Vegdirektoratet

  • 29 Posts
  • 0 Reply Likes
I posted my appid earlier. Rest is the same as Niall.
Photo of ryan

ryan, Developer

  • 1538 Posts
  • 132 Reply Likes
OK looks like there's currently two issues with Windows cli-6.0.0 builds:

1. Fixed Adding a Publisher ID seems to cause failure. Looking into this.

2. Fixed Not having all of the correct updated cordova-windows icons included also causes failure. Have a look at the "Windows Phone 8.1+ (cordova-windows)" section on the Build docs and add icons accordingly. That said Build should be handling this case gracefully -- working on this.

Edit the issue with the icons is now fixed. Any icons missing will use the default phonegap project icon.

Edit 2 the Publisher ID issue is also fixed.
Photo of ryan

ryan, Developer

  • 1538 Posts
  • 132 Reply Likes
As per update above, Windows cli-6.0.0 builds should be working now.
Photo of Frank Chabrie

Frank Chabrie

  • 9 Posts
  • 0 Reply Likes
I can build windows appx files now, but:

1. the author tag cannot be inside a platform tag, otherwise the build fails
2. if I put the author tag at the top of my config.xml (outside a platform tag), I am able to build, but uploading the file to the windows store fails, if I put my name inside the author tag. The error message is, that my publisher id is expected, not my name. Do i use my publisher id inside the author tag, I get the next error during upload to the windows store, that my publisher name is missing

What can I do?
Photo of David Olivier

David Olivier

  • 12 Posts
  • 0 Reply Likes
I have a similar issue here: http://community.phonegap.com/nitobi/...