Playdate SDK v1.11.0 fails to install on Mac OS 12.3.1

Hi,

The Playdate SDK does not complete when attemping to install on a late 2015 Intel chip Macbook Pro.

"The installer encountered an error that caused the installation to fail. Contact the software manufacturer for assistance"

Any ideas what could be the issue here?

I'm using v1.11.0 SDK / MacOS 12.3.1 and using an admin account to install.

I'm running exactly this setup.

What does Console.app say when you try installing?

I'm not getting much which looks relevant from the console.log

I did try installing the pkg from the terminal which provided a little more insight.

It fails at the validating packages stage.

installer: Installing at base path /
installer: Preparing for installation….....
installer: Preparing the disk….....
installer: Preparing Playdate SDK….....
installer: Waiting for other installations to complete….....
installer: Configuring the installation….....
installer: 	
#
installer: Writing files….....
#
installer: Writing files….....
#
installer: Preparing to install….....
#
installer: Running package scripts….....
#
installer: Running package scripts….....
#
installer: Running package scripts….....
installer: Running package scripts….....
installer: Running package scripts….....
installer: Running package scripts….....
installer: Running package scripts….....
installer: Running package scripts….....
installer: Running package scripts….....
installer: Running package scripts….....
installer: Running package scripts….....
installer: Running package scripts….....
installer: Running package scripts….....
installer: Running package scripts….....
installer: Running package scripts….....
installer: Running package scripts….....
installer: Running package scripts….....
installer: Running package scripts….....
installer: Running package scripts….....
installer: Running package scripts….....
installer: Running package scripts….....
installer: Running package scripts….....
installer: Running package scripts….....
installer: Running package scripts….....
installer: Running package scripts….....
installer: Running package scripts….....
installer: Running package scripts….....
installer: Running package scripts….....
installer: Running package scripts….....
installer: Running package scripts….....
installer: Running package scripts….....
installer: Running package scripts….....
installer: Running package scripts….....
installer: Running package scripts….....
installer: Running package scripts….....
installer: Running package scripts….....
installer: Running package scripts….....
installer: Running package scripts….....
installer: Running package scripts….....
installer: Running package scripts….....
installer: Running package scripts….....
installer: Running package scripts….....
installer: Running package scripts….....
installer: Running package scripts….....
installer: Running package scripts….....
installer: Running package scripts….....
installer: Running package scripts….....
installer: Running package scripts….....
installer: Running package scripts….....
installer: Running package scripts….....
installer: Running package scripts….....
installer: Running package scripts….....
installer: Running package scripts….....
installer: Running package scripts….....
installer: Running package scripts….....
installer: Running package scripts….....
installer: Running package scripts….....
installer: Running package scripts….....
installer: Running package scripts….....
installer: Running package scripts….....
installer: Running package scripts….....
installer: Validating packages….....
#
installer: The install failed. (The Installer encountered an error that caused the installation to fail. Contact the software manufacturer for assistance. An error occurred while running scripts from the package “PlaydateSDK.pkg”.)
`type or paste code here`

The Mac Installer also has a log

May 14 11:17:12 macbook-pro Installer[1781]: Could not load resource readme: (null)
May 14 11:17:12 macbook-pro Installer[1781]: Could not load resource license: (null)
May 14 11:17:29 macbook-pro installd[704]: PackageKit: ----- Begin install -----
May 14 11:17:31 macbook-pro installd[704]: PackageKit: PKInformSystemPolicyInstallOperation failed with error:An error occurred while registering installation with Gatekeeper.
May 14 11:18:02 macbook-pro installd[704]: PackageKit: Install Failed: Error Domain=PKInstallErrorDomain Code=112 "An error occurred while running scripts from the package “PlaydateSDK.pkg”." UserInfo={NSFilePath=./postinstall, NSURL=file:///Users/robertdavis/Downloads/PlaydateSDK.pkg#PlaydateSDK.pkg, PKInstallPackageIdentifier=date.play.sdk, NSLocalizedDescription=An error occurred while running scripts from the package “PlaydateSDK.pkg”.} {
	    NSFilePath = "./postinstall";
	    NSLocalizedDescription = "An error occurred while running scripts from the package \U201cPlaydateSDK.pkg\U201d.";
	    NSURL = "file:///Users/robertdavis/Downloads/PlaydateSDK.pkg#PlaydateSDK.pkg";
	    PKInstallPackageIdentifier = "date.play.sdk";
	}
May 14 11:18:02 macbook-pro Installer[1781]: Install failed: The Installer encountered an error that caused the installation to fail. Contact the software manufacturer for assistance.
May 14 11:18:02 macbook-pro Installer[1781]: Displaying 'Install Failed' UI.
May 14 11:18:02 macbook-pro Installer[1781]: 'Install Failed' UI displayed message:'The Installer encountered an error that caused the installation to fail. Contact the software manufacturer for assistance.'.

It appears destpite the installer looking to have failed, the playdate simulator has been installed correctly which I'm assuming means the SDK is installed.

From googling, the original issue looks to be Gatekeeper blocking the install of a 3rd party app, but disabling it didn't make the installer work correctly still. Weird. Oh well, working now.

1 Like

I'm having the same issues! But without the automatic fix it seems. Same details except my computer is early 2015, not late. Any help appreciated.

When I install the Playdate SDK, the installer stops with a generic error message— Installation failed, please contact the developer.

The console outputs are below—first line seems the most relevant to me, but have no real idea what Gatekeeper is.

MacBook Pro (Retina, 13-inch, Early 2015), Intel chip, running Monterey 12.4

installd[1096]: PackageKit: PKInformSystemPolicyInstallOperation failed with error:An error occurred while registering installation with Gatekeeper.
installd[1096]: PackageKit: Install Failed: Error Domain=PKInstallErrorDomain Code=112 "An error occurred while running scripts from the package “PlaydateSDK-1.11.1.pkg”." UserInfo={NSFilePath=./postinstall, NSURL=file:///Users/name/Downloads/PlaydateSDK-1.11.1.pkg#PlaydateSDK.pkg, PKInstallPackageIdentifier=date.play.sdk, NSLocalizedDescription=An error occurred while running scripts from the package “PlaydateSDK-1.11.1.pkg”.} {
	    NSFilePath = "./postinstall";
	    NSLocalizedDescription = "An error occurred while running scripts from the package \U201cPlaydateSDK-1.11.1.pkg\U201d.";
	    NSURL = "file:///Users/Caroline/Downloads/PlaydateSDK-1.11.1.pkg#PlaydateSDK.pkg";
	    PKInstallPackageIdentifier = "date.play.sdk";
	}