Quantcast
Channel: DoronKatz.com » iPhone Development
Viewing all articles
Browse latest Browse all 6

Tip: “[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.”

$
0
0

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 :
  1. search for Skip Install and select YES instead of NO
  2. in build phases, under copy headers, move all public and private files to Project section.

Now, one extra bit of tip here. 

After doing all the steps above and archiving and getting the error : 
does not contain a single-bundle application or contains multiple 

you may in fact have either not done the steps above properly, or there is another static library you missed out on adding the flag install skip : YESor move copy header files to project from public/private. Go to the organizer–>archive screen of Xcode (image one)

you then select show in Finder. When in finder, right click and show contents

You can see above, some of the files that are packaged/archived up. If you see/recognise any other static libraries in the hierarchy somewhere, you can work out which one you have missed out. Obviously I don’t have any others up there, but if i did, it would show in a sub-folder somewhere down there. 


Viewing all articles
Browse latest Browse all 6

Trending Articles