Open Playtimekz opened 2 years ago
I just ran into this also in one app and in another I get IndexError: tuple index out of range
Both apps are trying to use python 3.10.6 for the first time Tried py2app 0.28 and latest 0.28.2
@hasii2011 : Your error is different from the original question, and should be fixed in the latest release.
@Playtimekz : What happens if you leave out the "-A" option?
What version of macOS are you using?
I'll pick up the latest release
I'm experiencing the same issue. On an M1 macbook, and ran "python3 setup.py py2app -A"
If I leave out "-A", I get a code signing error when opening the app.
I tried every way but I can't solve it,too.:(
Same issue. "RuntimeError: Cannot sign bundle '/Users/evgeniy/PycharmProjects/create_macos_app/dist/my_app.app'". MacOs 10.11.6, Python 3.10, py2app 0.28.5. I used both "python setup.py py2app" and "python setup.py py2app -A".
I think error reason is the old version of MacOs. There is no problem on Monterey.
@pavlinbl4 I have got Monterey and have the same problem.
In my case it was a problem with jpeg files. I fixed it with simple change them to png.
For me the issue was that codesign
binary was from homebrew and did not support some arguments. Changing path to /usr/bin/codesign
fixed it.
For me the issue was that
codesign
binary was from homebrew and did not support some arguments. Changing path to/usr/bin/codesign
fixed it.
How did you do this?
@leifadev just edit the file that is causing the issue.
alternatively you can try running the build in a clean environment env -i sh
, with a full path to the python
executable
When i try to finish the setup, it "returns raise RuntimeError("Cannot sign bundle %r" % (bundle,))". Can anyone help me
?