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

Vladimir Kotikov commented on CB-11398:
---------------------------------------

Can you reproduce this on clean app? {{cordova build windows -- --archs="x86 
x64 arm" --bundle --win}} works for me and doesn't yield any errors (please 
notice that JIRA markup messed up double dash between 'windows' and 'archs' 
arguments - this is important!).
{noformat}
..\cordova-dev.cmd clean windows && ..\cordova-dev.cmd build windows -- 
--archs="x86 x64 arm" --bundle --win
Building project: 
D:\PROJECTS\Temp\bundle\platforms\windows\CordovaApp.Windows.jsproj
        Configuration : debug
        Platform      : x86
  CordovaApp.Windows -> 
D:\PROJECTS\Temp\bundle\platforms\windows\build\windows\debug\x86\win8.1\CordovaApp.Windows_0.0.1.0_x86_debug.appx
  CordovaApp.Windows -> 
D:\PROJECTS\Temp\bundle\platforms\windows\AppPackages\CordovaApp.Windows_0.0.1.0_debug_Test\CordovaApp.Windows_0.0.1.0_x86_debug.appxbundle
  CordovaApp.Windows -> 
D:\PROJECTS\Temp\bundle\platforms\windows\AppPackages\CordovaApp.Windows_0.0.1.0_x86_bundle_debug.appxupload
  Your package has been successfully created.
Building project: 
D:\PROJECTS\Temp\bundle\platforms\windows\CordovaApp.Windows.jsproj
        Configuration : debug
        Platform      : x64
  CordovaApp.Windows -> 
D:\PROJECTS\Temp\bundle\platforms\windows\build\windows\debug\x64\win8.1\CordovaApp.Windows_0.0.1.0_x64_debug.appx
  CordovaApp.Windows -> 
D:\PROJECTS\Temp\bundle\platforms\windows\AppPackages\CordovaApp.Windows_0.0.1.0_debug_Test\CordovaApp.Windows_0.0.1.0_x64_debug.appxbundle
  CordovaApp.Windows -> 
D:\PROJECTS\Temp\bundle\platforms\windows\AppPackages\CordovaApp.Windows_0.0.1.0_x64_bundle_debug.appxupload
  Your package has been successfully created.
Building project: 
D:\PROJECTS\Temp\bundle\platforms\windows\CordovaApp.Windows.jsproj
        Configuration : debug
        Platform      : arm
  CordovaApp.Windows -> 
D:\PROJECTS\Temp\bundle\platforms\windows\build\windows\debug\arm\win8.1\CordovaApp.Windows_0.0.1.0_arm_debug.appx
  CordovaApp.Windows -> 
D:\PROJECTS\Temp\bundle\platforms\windows\build\windows\debug\x86\win8.1\CordovaApp.Windows_0.0.1.0_x86_debug.appx
  CordovaApp.Windows -> 
D:\PROJECTS\Temp\bundle\platforms\windows\build\windows\debug\x64\win8.1\CordovaApp.Windows_0.0.1.0_x64_debug.appx
  CordovaApp.Windows -> 
D:\PROJECTS\Temp\bundle\platforms\windows\AppPackages\CordovaApp.Windows_0.0.1.0_debug_Test\CordovaApp.Windows_0.0.1.0_x86_x64_arm_debug.appxbundle
  CordovaApp.Windows -> 
D:\PROJECTS\Temp\bundle\platforms\windows\AppPackages\CordovaApp.Windows_0.0.1.0_x86_x64_arm_bundle_debug.appxupload
  Your package has been successfully created.
{noformat}

({{../cordova-dev.cmd}} is my local [email protected] installation)

Looking at the AppxPackages folder i can see that final .appxupload for arm, 
x86 and x64 architectures is present:
!AppPackages.png!

{{AppPackages/CordovaApp.Windows_0.0.1.0_debug_Test/CordovaApp.Windows_0.0.1.0_x86_x64_arm_debug.appxbundle}}
 is also present and contains 3 appx files - one for each architecture:
!Appxbundle_contents.png!

Could you please try these steps on clean project? I suspect that there might 
be something wrong with your Windows project. If you're still seeing this - 
please post *exact* repro steps, so finally could reproduce the problem.






> .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: cannot-reproduce, wfc, windows
>         Attachments: AppPackages.png, Appxbundle_contents.png
>
>
> *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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to