here are the images of the project and target
what is the difference between this two?
why both are given?
An image of project..
An image of target..
here are the images of the project and target
what is the difference between this two?
why both are given?
An image of project..
An image of target..
It's a good thing to have both because it lets you create different products from the same set of files. As an example, you can target different architectures/devices, or build a testing product which runs unit tests against your code.
You can have multiple targets in 1 xcode project. That way you can develop a project that has multiple applications or frameworks, like an application that also includes a framework you are working on. You can make xcode compile the framework target, then it can compile the other target, your actual application and copy the framework in the frameworks path in the bundle.
It's well-documented here in Apple official docs - Xcode concepts. I just read it. It could help a lot.