iOS Project Workspace Setup

Source: Internet
Author: User

General company projects are a workspace package consisting of two projects, a master project, a pods project, and of course a project, and then put a third party in the project's folder.

The advantage of this is that the project is less likely to be copied to another location, and the project can be started normally after the copy is finished. The downside is updating the third-party manual,

Of course, some things do not have to be so updated, not like the previous period of AFN loopholes, there is no need to update. However, it is still the mainstream construction work space contains the main project pods project, younger brother Novice, today hair map do this thing.

The first step is to create a new project.

The second step is to create a podfile file under the sibling folder of the. xcodeproj file.

Directly to the new file file. text file, and then remove. text, for Podfile

Then open Podfile write start, project minimum iOS7.0

Platform:ios, ' 7.0 '

Then write to the third party you need, and you can search for pods in the terminal.

Get a little test.

After saving, it is in the terminal CD to the current directory, and then execute the pod install

You can see the point of the terminal icon after the automatic CD to the current directory

Then pod install

Hold on a moment.

Look at the folder again.

Third party has, pods configuration is successful, the workspace is automatically generated, open the workspace and start working.

iOS Project Workspace Setup

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.