Can Xcode Build Standalone Executables?

Can Xcode build a macOS native application that uses compiled Python code?

I know Python scripts can be compiled into OS-level executables (I haven't tried PyInstaller, etc. on macOS yet) ... and I'm assuming the bundled Python executable can be included inside the Application Package ... but I was hoping there's a way to include Python code as a subroutine/object and call it natively within a "native" macOS application.

Can Xcode Build Standalone Executables?
 
 
Q