Whenever we have any static library in our project and we want to make archive( .ipa) of that project. Compiler won’t allow us to make archive of that as it shows an warning ““[Project name] does not contain a single–bundle application or contains multiple products” error in Xcode 4.2. So, there is only a single wayout of it.
1. Open the static library project. In the Build Settings search for the “Deployment” group.
2. Find “Skip Install” in this group and set it to “YES”.
3. Now, “Archive” the project.
Note:- If you have more dependent project or static libraries then repeat these steps for all of them.
Also, these steps are only valid for dependent projects or static library. Do not make such kind of changes to your main application