You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Vladimir Kotikov (JIRA)" <ji...@apache.org> on 2016/08/10 14:02:21 UTC

[jira] [Comment Edited] (CB-11398) .appxbundle file is not generated with '--bundle' command

    [ https://issues.apache.org/jira/browse/CB-11398?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15415309#comment-15415309 ] 

Vladimir Kotikov edited comment on CB-11398 at 8/10/16 2:01 PM:
----------------------------------------------------------------

Here is my observations:

# {{cordova build windows -- --archs="x86 x64 arm" --bundle --win}} or {{cordova build windows -- --archs="x86 x64 arm" --bundle --phone}} work for me. Both commands produce multi-architecture bundles as expected.
# {{cordova build windows -- --archs="x86 x64 arm" --bundle --win}} also succeeds and yields corresponding win10 bundle w/ 3 packages inside for each architecture.
# The first command you mentioned - {{cordova build windows -- --archs="x86 x64 arm" --bundle}} fails w/ the error {{error APPX3102: You cannot create an app bundle containing more than one pack age per architecture. Value of AppxBundlePlatforms property is 'x86|x64|x86|x64'}}. AppPackages directory contains only intermediate bundles (each contains only one architecture).

Is that what you are seeing? If yes, then the workaround is to use {{--win}}, {{--phone}} or {{--appx uap}} options to generate bundles for Win8.1, WinPhone 8.1 and Win10 correspondingly.
Also this would mean that i would decrease priority to High rather than Critical, as there are existing workarounds.


was (Author: vladimir.kotikov):
Here is my observations:

1. {{cordova build windows -- --archs="x86 x64 arm" --bundle --win}} or {{cordova build windows -- --archs="x86 x64 arm" --bundle --phone}} work for me. Both commands produce multi-architecture bundles as expected.

2. {{cordova build windows -- --archs="x86 x64 arm" --bundle --win}} also succeeds and yields corresponding win10 bundle w/ 3 packages inside for each architecture.

3. The first command you mentioned - {{cordova build windows -- --archs="x86 x64 arm" --bundle}} fails w/ the error {{error APPX3102: You cannot create an app bundle containing more than one pack age per architecture. Value of AppxBundlePlatforms property is 'x86|x64|x86|x64'}}. AppPackages directory contains only intermediate bundles (each contains only one architecture).

Is that what you are seeing? If yes, then the workaround is to use {{--win}}, {{--phone}} or {{--appx uap}} options to generate bundles for Win8.1, WinPhone 8.1 and Win10 correspondingly.
Also this would mean that i would decrease priority to High rather than Critical, as there are existing workarounds.

> .appxbundle file is not generated with '--bundle' command
> ---------------------------------------------------------
>
>                 Key: CB-11398
>                 URL: https://issues.apache.org/jira/browse/CB-11398
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: Windows
>    Affects Versions: 6.1.1
>         Environment: cordova 6.1.1
> windows 4.3.2
>            Reporter: Michael Schmidt
>            Assignee: Vladimir Kotikov
>            Priority: Critical
>              Labels: triaged, wfc, windows
>
> *situation*
> - build.json built up as described in http://cordova.apache.org/docs/en/latest/guide/platforms/win8/index.html#signing-an-app
> - windows 10 universal app
> - goal: create an .appxbundle file as described in https://github.com/apache/cordova-windows/commit/eeda3df0711cee0ff7beb761aac33e18b534b5f0
> *problem: .appxbundle file is not generated*
> the command 
> {code}
> cordova build windows -- --archs="x86 x64 arm" --bundle
> {code}
> doesn't create an .appxbundle file
> same problem exists with release command
> {code}
> cordova build windows --release -- --archs="x86 x64 arm" --buildConfig="build.json" --bundle
> {code}
> I want to upload to the store - what alternatives are there from the CLI?



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org