Error when running a python3 Xcode project
Hi, I recently bought a new computer (I am completely new with macOS):
MacBook Pro (13-inch, M1, 2020)
Puce Apple M1
macOS Big Sur version 11.1
I would like to set-up a python3 development environment in Xcode.
I followed the following tutorial on the web:
https://www.youtube.com/watch?v=GUBGoeCu19I
I set up the project interpreter to python3.
However, when I click on the play button, I get an error:
2021-01-09 12:17:40.062440+0100 python3[1139:27278] Failed to open macho file at /Applications/Xcode.app/Contents/Developer/usr/bin/python3 for reading: Too many levels of symbolic links
/Applications/Xcode.app/Contents/Developer/usr/bin/python3: can't open file 'PythonTest.py': [Errno 1] Operation not permitted
Program ended with exit code: 2
I also tried to execute python3 code in the cmd, its working well.
So the problem seems to come from Xcode.
Moreover, I observed in my Xcode project that I can select among three propositions:
- apple Silicon
- apple Rosetta
- apple Silicon (arm64)
What is the difference among then (in terms of python execution) ?
Thanks for your help.
MacBook Pro 13″, macOS 11.1