|
Post by egghead on Sept 19, 2018 17:05:37 GMT
I'm getting this error while building for uwp : [DEBUG] RET: C:\Program Files (x86)\MSBuild\Microsoft\VisualStudio\v14.0\AppxPackage\Microsoft.AppXPackage.Targets(2557,5): error APPX0108: The certificate specified has expired. For more information about renewing certificates, see go.microsoft.com/fwlink/?LinkID=241478. [e:\RhoMobileSuite6.0.11\ruby\lib\ruby\gems\1.9.1\gems\rhodes-6.0.11\platform\uwp\rhodes\rhodes.csproj] ............ ............ cp e:/RhoMobileSuite6.0.11/ruby/lib/ruby/gems/1.9.1/gems/rhodes-6.0.11/platform/uwp/bin/ARM/rhodes/Release/AppxPackageDir/rhodes_1.0.0.0_ARM_Test/rhodes_1.0.0.0_ARM.appx e:/RhoMobileSuite6.0.11/ruby/lib/ruby/gems/1.9.1/gems/rhodes-6.0.11/platform/uwp/bin/ARM/rhodes/Release/AppxPackageDir/rhodes.appx [INFO] build:uwp:rhodes| Error building How do I renew the certificate? Does it have anything to do with RhoMobileSuite6.0.11\ruby\lib\ruby\gems\1.9.1\gems\rhodes-6.0.11\platform\uwp\rhodes\Package.appxmanifest
|
|
|
Post by Alex Epifanov on Sept 19, 2018 23:11:02 GMT
egghead we'll need some tome to look at this. Just FYI we're going to drop UWP support. Win32 is a way to go for Windows RhoMobile apps.
|
|
|
Post by egghead on Sept 20, 2018 1:32:03 GMT
Actually, I wanted to do WP8, as submission to store for WP8.x is allowed till before 31st October. Unfortunately, I don't have a Windows 8 PC now AFAIK, new UWP apps can be submitted to the store till 2023 if not beyond. I quote Microsoft : "Important dates regarding apps with Windows Phone 8.x and earlier and Windows 8/8.1 packages submitted to Microsoft Store As a part of our Windows device life cycle, Microsoft Store will soon stop accepting new apps with Windows Phone 8.x or earlier or Windows 8/8.1 packages (XAP and APPX). Soon after that date, we will stop distributing app updates to Windows Phone 8.x or earlier and Windows 8/8.1 devices; at that time, updates will only be made available to customers using Windows 10 devices. Take note of the following dates so you can effectively plan your development cycles: October 31st, 2018 – Microsoft will stop accepting new app submissions with Windows Phone 8.x or earlier or Windows 8/8.1 packages (XAP or APPX) This will not affect existing apps with packages targeting Windows Phone 8.x or earlier and/or Windows 8/8.1. You can continue to submit updates to these apps as described below. July 1st, 2019 – Microsoft will stop distributing app updates to Windows Phone 8.x or earlier devices. You’ll still be able to publish updates to all apps (including those with Windows Phone 8.x or earlier packages). However, these updates will only be made available to Windows 10 devices. July 1st, 2023 – Microsoft will stop distributing app updates to Windows 8/8.1 devices. You’ll still be able to publish updates to all apps (including those with Windows 8/8.1 packages). However, these updates will only be made available to Windows 10 devices." 👆So, in effect, you can only develop new Windows Phone apps targeting UWP w.e.f. 31st October, 2018. But the old apps already in the Store and targeting WP 8/8.1 can still be updated (and they also run on Windows Mobile 10) till July 1st, 2023! Please correct me if I'm wrong.
|
|
|
Post by egghead on Sept 21, 2018 13:26:33 GMT
Well, I've just installed RMS 6.1 and progressed up to building an .appx for both x86 as well as ARM, but whereas I could install the x86 package in my Windows 10 PC using windows power shell, how do I install the ARM package to my Windows Mobile 10 device.
There is a subfolder called "dependencies" with 3 .appx files in there, besides the app's .appx. The way I install the x86 package using power shell is to include the -dependencies parameter.
Any idea on how to deploy the ARM package to my device? I tried using the deployment tool also, but it gives an error like :
Error- There is an error in XML document (2,2)
Any help would be greatly appreciated.
|
|
|
Post by Alex Epifanov on Sept 21, 2018 14:56:31 GMT
georgy will help you when he's back from vacation
|
|
|
Post by egghead on Sept 21, 2018 17:55:01 GMT
Well, I've just installed RMS 6.1 and progressed up to building an .appx for both x86 as well as ARM, but whereas I could install the x86 package in my Windows 10 PC using windows power shell, how do I install the ARM package to my Windows Mobile 10 device. There is a subfolder called "dependencies" with 3 .appx files in there, besides the app's .appx. The way I install the x86 package using power shell is to include the -dependencies parameter. Any idea on how to deploy the ARM package to my device? I tried using the deployment tool also, but it gives an error like : Error- There is an error in XML document (2,2) Any help would be greatly appreciated. Forgot to mention that I did above with rake device:uwp:production On trying rake run:uwp:device with my phone connected to USB port in development mode, I get (had to wait for ages) : Time Elapsed 00:00:20.27 ** Execute default [INFO] Files dir platform/uwp/rhodes/rho [INFO] The following step may take several minutes or more to complete depending on your processor speed [INFO] E:/rhoworkspace/myfirstrho6app/bin/target/uwp [INFO] Now you can install application and dependencies by using the Windows PowerShell command [Add-AppxPackage -Path "Path to Appx file"]. [INFO] Windows App Deployment Tool Version 10.0.0.0 Copyright (c) Microsoft Corporation. All rights reserved. Opening connection to device at '00000011-9036-a096-0000-000000000000'. Uninstalling app... Disconnecting. 0x80131500 - Windows cannot remove caa0300f-1021-40aa-bb98-27c5547616fa_1.0.0.0_arm__yevc0txzry062 because the current user does not have that package installed. Use Get-AppxPackage to see the list of packages installed. 0x80073cf1 [INFO] Windows App Deployment Tool Version 10.0.0.0 Copyright (c) Microsoft Corporation. All rights reserved. Opening connection to device at '00000011-9036-a096-0000-000000000000'. Installing app... Disconnecting. 0x80131500 - Failed to install or update package: Windows cannot install app data for package Microsoft.NET.Native.Runtime.1.4_1.4.24201.0_arm__8wekyb3d8bbwe to volume D: because it is already installed to volume C:. 0x80073cf9 0x80131500 - Windows cannot install app data for package Microsoft.NET.Native.Runtime.1.4_1.4.24201.0_arm__8wekyb3d8bbwe to volume D: because it is already installed to volume C:. 0x80073cf9 Not sure what volume D is (could this be the external SD card in my phone?), but I hope this will further help in troubleshooting the problem
|
|
|
Post by egghead on Sept 23, 2018 1:44:31 GMT
Finally, I tried to sideload by copying the .appx file to my mobile device and then tapping on it. It asks if I want to install [appname] from Tautechnologies, to which I tapped Yes. Next dialog says "There's a problem with this package. Please contact the person who made it" or some similar thing with no further details
|
|
|
Post by egghead on Sept 27, 2018 16:02:54 GMT
And finally, trying to submit the .appx to Windows Store gives me this error : Package acceptance validation error: You cannot submit pre-compiled .NET Native packages. Please upload the Microsoft Store appxupload file and try again with a Learn More link that points to : docs.microsoft.com/en-us/windows/uwp/packaging/packaging-uwp-apps
|
|
|
Post by georgy on Oct 1, 2018 8:40:21 GMT
Hi, eggheadFirst things first, the UWP platform is actually not a good choice. We are stopped working on it then Microsoft said, that they would deprecate it not so far (because noone use it, I guess), so the one thing that we didn't check - is the loading to the store (it is not so simple and you should get your own certificate docs.microsoft.com/en-us/windows/uwp/packaging/packaging-uwp-apps ). But still, it works properly then you are installing it not from the store. On the message from Sep 21, 2018 at 8:55pm you described the normal installing messages. We are trying to uninstall package if it is installed and install all dependencies. And if you already have installed dependencies - you just get this messages, but it doesn't throw any errors. The simplest way to install an application on the phone if you don't want to use 'rake run:uwp:device' - is just putting appx package on the phone thru the computer explorer and just clicking on it from the phone explorer (I had rechecked it now). If you have problems with that - just describe step by step, what did you do.
|
|
|
Post by egghead on Oct 1, 2018 11:19:16 GMT
Hi georgy, hope you enjoyed your vacation. Hate to spoil it now Sorry for this. I know Windows Phone or Windows Mobile (whatever Microsoft calls it), is almost dead. But not UWP. As stated in my post dated Sep 20, 2018 at 7:02am, I quote myself : "AFAIK, new UWP apps can be submitted to the store till 2023 if not beyond" OK, coming back to my post of Sep 21, 2018 at 11:25pm, where I used rake run:uwp:device, it shows : 0x80131500 - Failed to install or update package: Windows cannot install app data for package Microsoft.NET.Native.Runtime.1.4_1.4.24201.0_arm__8wekyb3d8bbwe to volume D: because it is already installed to volume C:. 0x80073cf9 0x80131500 - Windows cannot install app data for package Microsoft.NET.Native.Runtime.1.4_1.4.24201.0_arm__8wekyb3d8bbwe to volume D: because it is already installed to volume C:. 0x80073cf9 This is when I set new apps to be installed into my phone's SDCard. When I set new apps to be installed into my phone memory (not SDCard), I get the exact same errors but with volume names reversed, like so: 0x80131500 - Failed to install or update package: Windows cannot install app data for package Microsoft.NET.Native.Runtime.1.4_1.4.24201.0_arm__8wekyb3d8bbwe to volume C: because it is already installed to volume D:. 0x80131500 - Windows cannot install app data for package Microsoft.NET.Native.Runtime.1.4_1.4.24201.0_arm__8wekyb3d8bbwe to volume C: because it is already installed to volume D:. I could try uninstalling Microsoft.NET.Native.Runtime from both volumes before reattempting to re-install the package, but then I'm not sure whether that would affect other already installed apps that might depend on the existence of the runtime. In fact, I already tried that, it won't allow me to uninstall the runtime saying its needed by some other app. I used WinAppDeployCmd for that. This is the first scenario. Second scenario is to copy the .appx to phone while phone is connected through USB. I did that also and details of results can be seen from my post of Sep 23, 2018 at 7:14am. I quote myself for easy reference : "...I tried to sideload by copying the .appx file to my mobile device and then tapping on it. It asks if I want to install [appname] from Tautechnologies, to which I tapped Yes. Next dialog says "There's a problem with this package. Please contact the person who made it" or some similar thing with no further details." Finally, in the third scenario (uploading rhodes_1.0.0.0_ARM.appxupload from RhoMobileSuite6.1\ruby\lib\ruby\gems\2.3.0\gems\rhodes-6.1\platform\uwp\bin\ARM\rhodes\Release\AppxPackageDir) to Microsoft Store, I get these validation errors : rhodes_1.0.0.0_ARM.appxupload 14.2 MB Invalid package identity name: caa0300f-1021-40aa-bb98-27c5547616fa ( expected: 55979SoftMindInfoQuest.myfirstrho6app) Invalid package family name: caa0300f-1021-40aa-bb98-27c5547616fa_yevc0txzry062 ( expected: 55979SoftMindInfoQuest.myfirstrho6app_59gmqn6x1z8ew) Invalid package publisher name: CN=TauTechnology ( expected: CN=BBB60039-E52E-4769-BE27-A891585DA3CA) Now, I don't know where to change these parameters (in bold) above
|
|
|
Post by egghead on Oct 5, 2018 16:42:25 GMT
georgy, I have good news. I set new apps to install into my phone's main memory, not SD card. I copied the .appx to phone memory. Then tapped on it through file explorer on phone. It asks whether I'd like to install appname from Tau Technologies. I tapped Yes. Then nothing, no message. I checked apps list, nothing. I shutdown and rebooted the phone. Lo and behold, the shiny new app appears in app list at the top (recent). I tap on it. It exits (crashes) once or twice after showing splash screen. I retry 3-4 times. Then it works. I feel its a lot slower than a .xap made with Rho.
Anyway, sorry for the nagging questions.
Would've been happier if I could also host it in the Store. Any tips?
|
|
|
Post by georgy on Oct 8, 2018 13:22:18 GMT
Hi, egghead Those bold parameters are the parameters from key file. The key file is placed here: <rhodes>\platform\uwp\rhodes\rhodes_TemporaryKey.pfx . You can generate your own in MSVS 2015 and just replace ours with yours. I think if you generate the key with parameters, that Microsoft Store expected - you could upload your file to it... theoretically. Please, try it and write, if it helps.
|
|
|
Post by egghead on Oct 9, 2018 17:17:09 GMT
You can generate your own in MSVS 2015 and just replace ours with yours. How?
|
|
|
Post by georgy on Oct 10, 2018 12:07:14 GMT
|
|
|
Post by egghead on Oct 10, 2018 15:43:40 GMT
|
|