I’m making a mac app with wxpython, and when I bundle it with py2app, I get the “no appropriate 64-bit architecture” message. This can be fixed by checking “open in 32-bit mode” in the Get Info panel, but this isn’t very convenient for people using the app. Is there a line I can add to my script to make it run in 32-bit, even though Python’s default is 64-bit?
Share
You can create a 32-bit-only version of the app using
ditto:MyApp-32.appwill be an application bundle that only starts in 32-bit mode. As a nice bonus,dittostrips out the 64-bit architecture entirely, leaving you with a smaller application bundle (around half the size in my testing).