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