Closed fangyuxi closed 4 years ago
Instead of mainBundle
, use this to get the path of a resource inside a framework: https://developer.apple.com/documentation/foundation/nsbundle/1411929-bundlewithidentifier?language=objc
I don't know where you're getting a Python.framework
from, but it wasn't produced by recent builds of this project. If you're using an older build (such as the 2.7 build), those configurations are no longer supported - partly because they weren't compatible with the App Store, but also because Python 2 has reached End Of Life and is no longer supported.
I know this is because Python.Framework is included in the copy bundles resources, but if I don’t do this, then there is no way to specify the root directory of the python (such as the code screenshot in the example image).
Can I include the source code of python to run in the project, but not the compiled python binary?
Thank you Best Regards