kewlbear/Python-iOS

App crashes in Testflight

flatninth opened this issue · 2 comments

Hello.

I've been able to successfully integrate it in my iOS project and works well in release mode.
Bit, when I archive it and open it through Testflight the app crashes.
Error is "PythonKit Fatal error: Python library not found."

[My tries during 1 week]
I tried "Enable Bitcode" and "Strip Style" all yes or all no.
updated Python package (update package)
PythonSupport.initialize() in appdelegate.wift
I read all issue in your project for python-ios, pythonkit ..

[My config]
Xcode 13.3.1
IOS14/15

How can I resolve this issue?

Thank you.

I resolved it!

Deployment - Strip Style - Debugging Symbols
and Enable Bitcode (uncheck) for archieving.

Thank you!