Validation Error in APS 2.0 Package "Upsell Demo Project" on Sandbox - aps

After i figured out how to build the Demo Project "Upsell Management" (project), i'm struggling now with the installation in the sandbox.
I'm running a sandbox with POA 5.5-5562_update06-824 and every time i try to install it i get a Status "Validation Error":
http://i.imgur.com/2v6GEJc.png
So, is there a log file or anything to find out what is the error behind that?

'Validation error' means that package import task has failed, more details on this can be found in Operations->Tasks
If you see a validation error that you did not see while running apsbuild/apslint tool this means that either you or POA have an older version of apstools.
The best way is redeploy sandbox to latest POA version and update APS tools on your build machine (http://doc.apsstandard.org/2.1/tools/cli-tools/#cli-tools)

Related

Publish Failed to sign msix

Using Visual Studio 2019 to publish an update to an existing windows store application. This worked a week ago.
Our solution builds without error. When I go to create the setup package I get an error "Failed to sign 'D:\dev\MeyerMusic\MeyerTablet\TabletDistribution\bin\AnyCPU\Release\MeyerMusicTabletSetup_2.6.6.0_AnyCPU.msix'."
We are distributing the application as a Microsoft Store app under the existing app name.
Last week on this same development computer I built version 2.6.5 as well as many packages before that.
The error number is blank or missing. I do not have a reason for the failure. I only see one fact in the error message and that points to line 4574 in the file: C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\MSBuild\Microsoft\VisualStudio\v16.0\AppxPackage\Microsoft.AppXPackage.Targets
That line is this:
<SignAppxPackage Condition="'$(AppxPackageSigningEnabled)' == 'true'"
AppxPackageToSign="$(AppxMainPackageOutput)"
CertificateThumbprint="$(PackageCertificateThumbprint)"
CertificateFile="$(PackageCertificateKeyFile)"
CertificatePassword="$(PackageCertificatePassword)"
HashAlgorithmId="$(AppxHashAlgorithmId)"
EnableSigningChecks="$(EnableSigningChecks)"
SignAppxPackageExeFullPath="$(SignAppxPackageExeFullPath)"
TempCertificateFilePath="$(TempCertificateFilePath)"
VsTelemetrySession="$(VsTelemetrySession)"
SigningTimestampServerUrl="$(AppxPackageSigningTimestampServerUrl)"
SigningTimestampDigestAlgorithm="$(AppxPackageSigningTimestampDigestAlgorithm)"
/>
Troubleshooting steps:
Attempted to build a side load package. Results in same error
Successfully built a side load package that was not signed
I have restarted Visual Studio
I have rebooted the machine
I have deleted OBJ, BIN for the entire solution
I have looked for errors in the event log but none have been found so far.
After uninstalling KB4535996 the problem was resolved.
I found this via a tip from the following post: https://developercommunity.visualstudio.com/content/problem/934967/uwp-error-failed-to-sign.html

Error on create a new account from Hyperledger iroha using swift

I tried to download and build the iroha-ios from iroha iOS github then started to use the sample project to create a new account. I have deployed an iroha server on my PC. When I run the program, it prints out an error like this.
SwiftyIrohaExample.Iroha_Protocol_QueryResponse:
error_response {
reason: STATEFUL_INVALID
message: "query signatories did not pass validation"
}
When I checked the hash that is produced on the log in Xcode, it doesn't exist in the iroha system.
What step did I miss?
Unfortunately, the libraries might not be up-to-date all the time. At the moment one of the maintainers fixed the library to work with develop branch. Here: https://bitbucket.org/Emkil/swiftyiroha/

AWS Appium Project Package

I see below error while packaging appium project for AWS.
Unknown lifecycle phase --DskipTests=true. You must specify a valid lifecycle phase or a goal in the format
Note:
Executing packaging command on mac terminal
Tried both --DskipTests=true & -DskipTests=true (see same error for both)
Looking forward for some help. Thanks!
I work for the AWS Device Farm team.
I have seen this error when users copy-paste the command from the documentation.
We are working on updating this as there seems to be some unknown characters that get introduced.
Users have got this to work by deleting -DskipTests=true and typing it instead of copy pasting it.
Since you are on a Mac terminal you will need to use a single dash '-' for the parameter.
Apologies for the inconvenience.
Hope this helps.

Xcode Server Bot won't connect to Gitlab server (Fails to integrate)

I'm trying to integrate a simple Xcode Bot with my Xcode server.
I'm using OS X Server 5 Beta 3 and Xcode 7 Beta 5
I create a bot and everything goes great. I use an existing ssh key for connecting to this git repository on gitlab and that works fine everywhere else and even Xcode (in accounts preferences) seems to not have a problem with the repo.
But when I go to integrate the bot, it fails to check out the source with:
Failed to authenticate SSH session: Callback returned error (-1)
I've tried changing this to use my actual gitlab credentials instead of the ssh key and I get the same error. It doesn't seem to matter what I use for the bot, it fails to sign in. Yet all of those credentials work on gitlab using git and Xcode itself just fine.
Anyone else run into this? And/or are there any better logs somewhere of what's going on?
Not much in the verbosity in the xcodebuild logs on the server either:
2015-08-10 09:42:28.303 xcsbuildd[14203:84978] XCSIntegrationExecutor.m:229 [XCSIntegrationExecutor integrationStep:didFinishWithError:result:] [BuildService, Error] XCSCheckoutIntegrationStep finished integration with an error: Error Domain=XCSBuildServiceDomain Code=-1 "Could not checkout sources because the source control information is in an invalid format. UserInfo=0x7fb8ece65810 {NSLocalizedDescription=Could not checkout sources because the source control information is in an invalid format., XCSErrorFixItType=scm-failure}
Not sure what it means by invalid format?:
Could not checkout sources because the source control information is
in an invalid format

RhoMobile rake Windows Mobile Error

I am receiving an error message whenever I try to compile a test RhoMobile application developed in RhoStudio. The test application was developed using the instructions provided here:
http://docs.rhomobile.com/rhostudio.tutorial
The compile command issued was:
rake run:wm
The error message received at the end of the compile sequence was:
CMD: vcbuild /M4 rhodes.sln "Release|MC3000c50b (ARMV4I)" rake aborted
I am running the application on Windows 7 64 bit, with the compiler configured according to these specifications:
http://docs.rhomobile.com/rhodes/build#build-for-windows-mobile
Would it be possible for somebody to inform me as to why this error message is occuring? Thank you.
Cheers
The first thing to check is your rhobuild.yml file and see if the windows mobile specifics are well configured. Mine for example has this:
cabwiz: "C:/Program Files/Windows Mobile 6 SDK/Tools/CabWiz"
vcbuild: "C:/Program Files/Microsoft Visual Studio 9.0/VC/vcpackages/vcbuild.exe"
msbuild: "C:/Windows/Microsoft.NET/Framework/v4.0.30319/MSBuild.exe"
Also, is there any other message showing a vcBuild error?
I used to have this error for example:
vcbuild.exe : error VCBLD0007: Could not find project configuration
RELEASE|WINDOWS MOBILE 6.5.3 PROFESSIONAL DTK (ARMV4I) to build.
If you haven't already check in the Rhomobile Google group. There are probably similar problems there and can give an extra insight.

Resources