Launch Error
- Ngôn ngữ chính
- Python
- Star
- 0
- Fork
- 0
- Chỉ số merge pull request
- Không có pull request nào được merge trong 30 ngày
Mô tả
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
Hướng dẫn đóng góp
Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này
Đánh giá
Issue này chưa được đánh giá.