Mac pkg installation checks failed - installation

In xcode 5.0.2, I created a pkg using the archive->distribute->export as->mac installer pkg.
The app signing is set to Developer ID. After the package has been created, I use productsign to sign my pkg file. I also tested the newly signed pkg using:
spctl -a -v --type install <file path>
the package installs perfectly on the machine that I built it on but when I tried installing on a different machine the installation fails with:
installation check failure <app name> can't be installed on this computer.
I also ran the spctl command previously on the new machine and got an accepted response with source = Developer ID.
How can I fix this problem? Or at the very least does anyone knows how to debug the installation check failure error? I can't seem to find any logs to determine where the check fails.

Related

NetBeans package untrusted macOS

I'm trying to install NetBeans 8.0.1 on macOS Catalina 10.15.7
I need that specific version for university.
But it prompts an error message I've never seen in 4 years using mac: "the package baseide-8.0.1.pkg is untrusted"
baseid-8.0.1.pkg is a package inside the NetBeans8.0.1.pkg which I downloaded from official site.
Things I tried already?
Give full access to the Oracle certificate
Change system date to 3 months before the certificate expires
Install it via terminal: brew cask install http://download.netbeans.org/netbeans/8.0.1/final/bundles/netbeans-8.0.1-macosx.dmg
(Non) Installation proccess:
Certificate problem prompt
Certificate is trusted
After the typical steps, installation fails
So... what can I do? Thank you.
$ brew cask install netbeans-java-se

XCode prerequisite version check failed? Unable to package app with Intune Packager

Edit: It appears the latest Release Notes from Apple indicate massive changes with the build system. Currently, Intune's Package Manager hasn't been recently updated, so I don't expect a fix besides downgrading until update.
I just updated XCode and OSX and ran the Intune MAM packager as always, but now instead of succeeding, I get this:
Version of MACOSX is 10.13.5
XCode prerequisite version check failed: failure in executing the xcodebuild command.
Missing prerequisite.
Cause of the error to be provided for investigation:Error Domain=IntuneAppPackager Code=22 "XCode version 5 or greater is required to run this tool." UserInfo={NSLocalizedDescription=XCode version 5 or greater is required to run this tool.}
I already had to re-enable certs to match the profile, but this seems unrelated. I have the latest XCode and the build tools installed via default settings. I googled different parts of this error and nothing came back. This could be InTune's mam packager but the error itself is relatively specific in saying XCode Build tools.
Try this code in your terminal:
xcode-select -p, then check if that path is correct path of your Xcode.
If this doesn't work, try this code:
sudo xcode-select --switch /correct path of the xcode app.
For example:
sudo xcode-select --switch /Applications/Xcode_7.3.1.app/Contents/Developer
This is what I did, and it works!
I have Xcode installed via App Store and came across the same error after switching to a new version of Intune MAM Packager.
sudo xcode-select --switch /Applications/Xcode_7.3.1.app/Contents/Developer
That worked for me

I cannot install the IBM Cloud CLI

I am trying to get started building a voice interface with Watson Assistant, and following the docs I need to install the IBM Cloud CLI. I have downloaded the three latest versions from here (https://console.bluemix.net/docs/cli/reference/bluemix_cli/all_versions.html) but the installs all fail. I tried running the command line install as well, but that fails too:
Download complete. Executing installer...
installer: Package name is IBM Cloud Command Line Interface
installer: Installing at base path /
installer: The install failed (The Installer encountered an error that
caused the installation to fail. Contact the software manufacturer for
assistance.)
Install failed.
I tried installing on Macintosh HD disk and in a project folder, but it all fails! Help?
I tried versions 0.6.6, 0.6.5, and 0.6.4. I am running macOS High Sierra 10.13.3.
pls see if there is /usr/local/bin directory in your OS. If not, create the directory and install again.
This will be fixed in next release v0.6.7.

Installing a UWP package on Windows 10 gives HashMismatch certificate error

We have previously successfully installed a packaged debug version of our application on Windows 10.
When now try to install by running the Add-AppDevPackage.ps1, when it prompts me to install the certificate, I get the error:
Error: could not install the certificate. Status: HashMismatch. For
more information, see http://go.Microsoft.com/fwlink/?LinkID=252740
I can see that the appropriate certificate in the Trusted People certificate store - so the Certificate has been installed ok.
Has anyone seen this and/or got a solution to this problem?
If the certificate is already installed, you don't need to run the powershell script. Have you tried to double click the package to install?

Unknown error when creating packages with pkgbuild

I followed several tutorials-which all appeared to say the same thing-on how to create deployable flat-packages (.pkg) using the OS X system provided pkgbuild tool. The packages was always generated just fine. They did, however, not want to be installed.
Running the graphical Apple Installer or the command line interface installer aborted the installation early on giving an generic “Unknown error” after prompting for higher permissions.
Hours later after closer investigation I discovered that I could not install other packages either. Not even updates and new installations from the OS X App Store. Why could I not install my own nor any other packages? What was going on?
The installer daemon service itself is unresponsive. Force quit the installed program from from the Activity Monitor, or from the command line with sudo killall installd.

Resources