SDK installation fails on macOS

Trying to install SDK version 1.13.5 on macOS Ventura 13.2 (22D49) fails:

Here are the errors:

Apr 25 17:39:14 iulian-macbook-pro-2021 Installer[15224]: Could not load resource readme: (null)
Apr 25 17:39:14 iulian-macbook-pro-2021 Installer[15224]: Could not load resource license: (null)
Apr 25 17:39:17 iulian-macbook-pro-2021 installd[14610]: PackageKit: ----- Begin install -----
Apr 25 17:39:17 iulian-macbook-pro-2021 installd[14610]: PackageKit: Install Failed: Error Domain=PKInstallErrorDomain Code=110 "An error occurred while extracting files from the package “PlaydateSDK.pkg”." UserInfo={NSLocalizedDescription=An error occurred while extracting files from the package “PlaydateSDK.pkg”., NSURL=file:///Users/revolt/Downloads/PlaydateSDK.pkg#PlaydateSDK.pkg, PKInstallPackageIdentifier=date.play.sdk, NSUnderlyingError=0x14d920e30 {Error Domain=PKXARArchiveErrorDomain Code=101 "archive open failed" UserInfo={NSURL=file:///Users/revolt/Downloads/PlaydateSDK.pkg, NSFileOwnerAccountID=501, NSFileHFSTypeCode=0, NSFileSystemFileNumber=140130664, NSFileExtensionHidden=false, NSFileSystemNumber=16777233, NSFileSize=30004361, NSFileGroupOwnerAccountID=20, NSFileHFSCreatorCode=0, NSFileOwnerAccountName=revolt, NSFilePosixPermissions=420, NSFileCreationDate=2023-04-19 17:41:53 +0000, NSFileType=NSFileTypeRegular, NSFileProtectionKey=NSFileProtectionCompleteUntilFirstUserAuthentication, NSFileGroupOwnerAccountName=staff, NSFileReferenceCount=1, NSFileModificationDate=2023-04-19 17:41:53 +0000, NSLocalizedDescription=archive open failed}}} {
	    NSLocalizedDescription = "An error occurred while extracting files from the package \U201cPlaydateSDK.pkg\U201d.";
	    NSURL = "file:///Users/revolt/Downloads/PlaydateSDK.pkg#PlaydateSDK.pkg";
	    NSUnderlyingError = "Error Domain=PKXARArchiveErrorDomain Code=101 \"archive open failed\" UserInfo={NSURL=file:///Users/revolt/Downloads/PlaydateSDK.pkg, NSFileOwnerAccountID=501, NSFileHFSTypeCode=0, NSFileSystemFileNumber=140130664, NSFileExtensionHidden=false, NSFileSystemNumber=16777233, NSFileSize=30004361, NSFileGroupOwnerAccountID=20, NSFileHFSCreatorCode=0, NSFileOwnerAccountName=revolt, NSFilePosixPermissions=420, NSFileCreationDate=2023-04-19 17:41:53 +0000, NSFileType=NSFileTypeRegular, NSFileProtectionKey=NSFileProtectionCompleteUntilFirstUserAuthentication, NSFileGroupOwnerAccountName=staff, NSFileReferenceCount=1, NSFileModificationDa
Apr 25 17:39:18 iulian-macbook-pro-2021 Installer[15224]: Install failed: The Installer encountered an error that caused the installation to fail. Contact the software manufacturer for assistance.
Apr 25 17:39:18 iulian-macbook-pro-2021 Installer[15224]: Displaying 'Install Failed' UI.
Apr 25 17:39:18 iulian-macbook-pro-2021 Installer[15224]: 'Install Failed' UI displayed message:'The Installer encountered an error that caused the installation to fail. Contact the software manufacturer for assistance.'.

I don't think I've heard of anyone else having this problem, certainly never have seen it myself, but a google search suggests moving the pkg out of the Downloads folder might help? Install with Pkg file failed | Page 2 | MacRumors Forums If that doesn't do the trick there's also a suggestion in that thread of running it via sudo on the command line.

Let us know how it goes!

These always happen to me and only 3 other people in the world :sweat_smile:

Moving it to the Documents directory worked, thanks!

1 Like

I have iCloud and Dropbox backing up certain folders on my machine (Desktop, Documents, Downloads, etc.) - moving to a folder that is not backed up is what worked for me.