Sandboxed mac app does not get a receipt

I'm trying to validate the receipt for a Mac app, but I'm stuck on getting one in the first place.

  • Signing is set to "Mac App Store"
  • Team is set to correct team
  • Sanbox tester is created in iTunes Connect
  • App Sandbox entitlement is turned on


When I run the app in debug mode, the app checks for the receipt, doesn't find one and exits(173).

Then a "Sign in to use this application on this computer" window pop-up is shown (this is already weird, since every resource I've read notes that it should not work when I run from Xcode and that I should run the app from Finder instead). That is filled in with the Sandbox tester's credentials, but next another pop-up is shown:


"test.app” is damaged and can’t be opened. Delete “test.app” and download it again from the App Store.


And no receipt is stored in the .app directory. This happens when I open the app from Finder as well as when using Archive -> Export a Development-signed Application.


First time after logging in with the test account, the App Store noted that it should switch to the Dutch Store, but then gives a connection error.

My personal account is signed out of the App Store.


Any help is appreciated!

Accepted Reply

Appearently you have to add the app to iTunes Connect as well.

When I did that everything worked...

http://stackoverflow.com/questions/6195531/mac-app-store-receipt-validation-for-testing-i-never-get-a-receipt

Replies

Appearently you have to add the app to iTunes Connect as well.

When I did that everything worked...

http://stackoverflow.com/questions/6195531/mac-app-store-receipt-validation-for-testing-i-never-get-a-receipt

I have this very same problem.
I already tried to upload the binary to itunes connect stil get the same error.