I am using Xcode to develop application. But I include some test files, and I would like to keep a reference timestamp while I do compiling. Is this possible for me to do some scripting before I start compiling the programme? Of course, I can manually run the script before I compiling, but I would like to do it in one step
, and recommend? Thanks.
I started wondering if it was possible to use Xcode to code python, the answers "Yes", but it requires a little setting up to do.
Python for iOS and iPadOSPyto also provides a complete development environment for running Python 3 including many third-party libraries and system integration on an iPad or iPhone.
Swift For TensorFlow supports Python interoperability. You can import Python modules from Swift, call Python functions, and convert values between Swift and Python.
You need to add a build phase. Go to the project file, Build Phases, click Editor on the tool bar menu, add Build Phase, Add Run Script... You can select and drag the script to put it before/after anything.
Then the shell should be /usr/bin/python, then you can type in your script below. The script will run every time you build.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With