Xcode builds a python development environment

Source: Internet
Author: User

1. Locate the path where Python is installed on your computer. OSX system has Python installed by default, the default path is/usr/bin/python. In case of uncertainty, you can also open the command line and view it with the Whereis python command.

2. Open Xcode7, select File->new->project, and the new Project menu will pop up

3. In the Open Project menu dialog box, select "External Build System" Under the Other tab, then click "Next"

4. The diagram fills in the "Product name", "Organization name", "Organization Identifier", "Build Tool", the first three items on the project name, the organization name and the organization logo customization can be filled, The last item to install the Python path, and finally click "Next"

5. Click on the menu Product->scheme->edit scheme, this scheme I understand is the configuration parameters of the new project

6.6. In the Scheme Edit dialog box, run->info->executable, after selecting other, it is expected to pop up a selection dialog box, the python shown in the figure is the effect I configured, the default is no Python option

After selecting the other expected pop-up selection dialog box, directly enter "/", you can enter the custom path input box, enter "/usr" after go

In the Scheme Edit dialog box, run->arguments->arguments Passed on Launch, create a new. py file that you are about to create

tab option, tick working directory and select the folder where Xcode project is located, which is where your. py file is stored, and finally determine

Do not tick off, will error;

Message from Debugger:cannot attach to process due to System Integrity Protection

Program ended with exit code:-1

Message from Debugger:cannot attach to process due to System Integrity Protection

Program ended with exit code:-1

Xcode builds a python development environment

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.