Artin, of the blog site The Geek Blog provided an excellent post to solve an issue with XCode 4.2, that many of us are having. This involves archiving a binary, when we end up trying to submit it and getting the fun error:
“[Your App Name] does not contain a single-bundle application or contains multiple products. Please select another archive, or adjust your scheme to create a single-bundle application.”
Basically, if you have static libraries they end up getting bundled/archived, so you must prevent that. The steps you need to do to rectify this include:
Find all static libraries (ones usually have the project icon and are sitting on the left-hand navigator side. Go to the build settings and :
- search for Skip Install and select YES instead of NO.
- in build phases, under copy headers, move all public and private files to Project section.
Now, one extra bit of tip here.