beeware / Python-Apple-support

A meta-package for building a version of Python that can be embedded into a macOS, iOS, tvOS or watchOS project.
MIT License
1.08k stars 155 forks source link

How to use python to call c++functions in the project of iOS physical devices #173

Closed chenzb2015 closed 1 year ago

chenzb2015 commented 1 year ago

What is the problem or limitation you are having?

How to use python to call c++functions in the project of iOS physical devices

Describe the solution you'd like

So far, I haven't found a method to use python to call c++in iOS projects

Describe alternatives you've considered

So far, I haven't found a method to use python to call c++in iOS projects

Additional context

No response

freakboy3742 commented 1 year ago

Binding to C++ libraries isn't an issue that is specific to this project, or even to iOS; it's a general problem of language interoperability. Tools like PyBind11 may be helpful.