IOS Engineering Structure Understanding

Source: Internet
Author: User

There are three key parts to the engineering structure in iOS development, namely: Targets,projects and Workspaces.


Targets specifies how the project or library file is compiled, including building Setting,compiler and linker flags, as well as which files (source and resource files) belong to the project. When running or compiling, you can specify only one target for activation.

Sometimes there may be multiple target, they share some source files and resource files, these different target can be a slightly different version of the app (such as Ipad/iphone, etc.). All of these related target can be combined into one project. This project contains all the files for all of its target. For the same build setting, you can set it in project build setting, and for a different setting for a target, set the build setting separately.
* Note: For the settings of build setting in project, all target components that make up project will inherit unless target is set separately.


Workspace is a collection of multiple project classes that contain and manage all of the project's Projects,workspace, and their target is interdependent.

Refer to Https://developer.apple.com/library/content/featuredarticles/XcodeConcepts/Concept-Projects.html#//apple_ Ref/doc/uid/tp40009328-ch5-sw1

IOS Engineering Structure Understanding

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.