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