Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to debug "Installation Check failure" error in Mac App Pkg installers?

I am testing an application I created in Xcode. I archived it then clicked 'Shared' on the Organizer. From there I chose "Mac OSX App Store Package".

When launch the created pkg file then it immediately quits with 'MyApp can’t be installed on this computer' message. The system log has only the following log.

07/02/12 10:56:01.793 AM Installer: Installation check failure.  . MyApp can’t be installed on this computer..

How do I debug and find the issue?

like image 378
AppleGrew Avatar asked Feb 07 '12 05:02

AppleGrew


2 Answers

You can check the Install log file for issues related to installers. File Path: /var/log/install.log.

like image 70
Tushar Sharma Avatar answered Nov 07 '22 08:11

Tushar Sharma


If you are installing from a command line, you can also redirect the logs to a specific file (using dumplog)

sudo installer yourpackage.pkg -target \ -dumplog yourLogFile.log

See also: installer help

like image 36
Meir Gerenstadt Avatar answered Nov 07 '22 07:11

Meir Gerenstadt