First, Xcode doesn’t support python . Even if you use custom workflows it’ll be a nightmare to get a work around. Second, use pycharm if you want a good python IDE.
Read moreIs Xcode a good IDE for Python?
Xcode is a really nice IDE for Python , you just have to do a few things to make it work with Python.
Read more