pythonxcode

How can I run Pygame (and python in general) in xcode?


I want to put a simple python game in the IOS app store but I am struggling to get it work properly in xcode, which prevents me from easily publishing the app.

I have looked online and I am able to open the python in xcode, I just can't get it to run. I am not sure it is possible, but I have seen some older forum that suggest it is.

I have tried to open and run the python code in xcode, and I assumed it would run similar to swiftUI which is more purpose built but it did not work as expected.


Solution

  • cd location_of_python3
    ln python3 examplePython3
    

    If you have any other questions, just ask.