Packaging py2app app with productbuild

347 Views Asked by At

I am using pyobjc to create my mac app. I generated the .app executable using py2app using the command python setup.py py2app. I am now trying to submit this app to the app store. In order to do this, I need to convert it into a .pkg file. I am doing this using the command productbuild --content dist/MaApp.app dist/MyApp.pkg. The .pkg file is successfully created and on double clicking it, I am able to install my application. I even get the 'Installation was successful' screen of the installer. However, I am not able to find the installed application at the end of this process. I am not getting the usual screen which asks the user to drag the app to the application folder. Do I need to make any modifications to the build process to achieve this?

enter image description here

enter image description here

1

There are 1 best solutions below

0
On

The problem seems to be due to the fact that I did not sign my application. After I signed it, I see that the unpacked application in the /Applications folder!