PackageKit: Install Failed: Error Domain=NSCocoaErrorDomain Code=513

Hello everyone,

I published my game Boulder Dash 40 which was created in Unity, exported as an Xcode project, and uploaded using Xcode’s Archive and Distribute functionality. The game successfully passed Apple’s review process and is available on the App Store. However, two users have reported that they are unable to install the game on their Macs. After downloading, the installation fails with an error message. The game installs and runs correctly for other users, including myself. Both affected users installed the game using redeem codes and had no prior installation of the game on their devices. The installation failure also occurs when attempting to install the app via TestFlight. I have made several changes to settings in both Unity and Xcode, but the issue persists. Could anyone provide insights or suggestions on what might be causing this installation failure? Thank you in advance for your help!

Best regards, Jan

Part of installation log with error attached

Answered by haaanz in 860675022

Problem solved, there was older version of the same application distributed directly in Downloads folder. Since Bundle ID was the same (name was different- BD40), installer try to move this older version instead of the new version from AppStore/TestFlight.

Accepted Answer

Problem solved, there was older version of the same application distributed directly in Downloads folder. Since Bundle ID was the same (name was different- BD40), installer try to move this older version instead of the new version from AppStore/TestFlight.

PackageKit: Install Failed: Error Domain=NSCocoaErrorDomain Code=513
 
 
Q