Launch Error
- Dominant language
- Python
- Stars
- 0
- Forks
- 0
- PR merge metrics
- No merged PRs in 30d
Description
Launch error in Bundled app generated from py2app
```
Counter-App % ./dist/counter_app.app/Contents/MacOS/counter_app
Traceback (most recent call last):
File "/Users/abhishek.sawalkar/Desktop/Codefiles/Counter-App/dist/counter_app.app/Contents/Resources/__boot__.py", line 30, in
import ctypes
File "", line 259, in load_module
File "ctypes/__init__.pyc", line 8, in
ImportError: dlopen(/Users/abhishek.sawalkar/Desktop/Codefiles/Counter-App/dist/counter_app.app/Contents/Resources/lib/python3.9/lib-dynload/_ctypes.so, 0x0002): Library not loaded: @rpath/libffi.8.dylib
Referenced from: <48D8AB5A-C429-3CFF-B125-CCCEE0F48A7C> /Users/abhishek.sawalkar/Desktop/Codefiles/Counter-App/dist/counter_app.app/Contents/Resources/lib/python3.9/lib-dynload/_ctypes.so
Reason: tried: '/Users/abhishek.sawalkar/Desktop/Codefiles/Counter-App/dist/counter_app.app/Contents/Resources/lib/python3.9/lib-dynload/../../libffi.8.dylib' (no such file), '/Users/abhishek.sawalkar/Desktop/Codefiles/Counter-App/dist/counter_app.app/Contents/Resources/lib/python3.9/lib-dynload/../../libffi.8.dylib' (no such file), '/Users/abhishek.sawalkar/Desktop/Codefiles/Counter-App/dist/counter_app.app/Contents/Frameworks/libffi.8.dylib' (mach-o file, but is an incompatible architecture (have 'arm64', need 'x86_64')), '/Users/abhishek.sawalkar/Desktop/Codefiles/Counter-App/dist/counter_app.app/Contents/Frameworks/libffi.8.dylib' (mach-o file, but is an incompatible architecture (have 'arm64', need 'x86_64')), '/usr/local/lib/libffi.8.dylib' (no such file), '/usr/lib/libffi.8.dylib' (no such file, not in dyld cache)
2024-07-30 11:12:58.354 counter_app[53462:1251681] Launch error
2024-07-30 11:12:58.354 counter_app[53462:1251681] Launch error
See the py2app website for debugging launch issues
```

Solutions tried:
1. libffi re-installation
2. Placing libffi.8.dylib and libffi.dylib manually in Frameworks folder
3. Re-installing dependencies setuptools, rumps, wheel
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.