App Store Whitespace Validation Failure with Xcode 3.2.5

it seems that when Apple released iOS 4.2 and Xcode 3.2.5 they introduced a bug to the App Store integration within Xcode. The problem happens after you “Build and Archive” and then use the “Validate…” button in the Xcode organizer prior to submitting to the App Store.

If you have an application with a bundle display name (CFBundleDisplayName) that happens to contain a space you will get a validation error as follows:

The application "*My App Name*" has failed validation because of the
following issues.

The detailed description for the “issue” is as follows:

My App Name.ipa: filename may not contain whitespace

What is odd about this problem is that if you look at the actual application file that has been archived (right-click on the archived application in the Xcode organizer and use Show in Finder) it is still named using the application product name not the display name. However, even if the product name does not contain a space, you still get the validation failure.

Application Loader

The best workaround I can find until Apple fixes Xcode is to use the standalone Application Loader application that is bundled with Xcode. You will find this in /Developer/Applications/Utilities, I currently have v1.4 installed with Xcode 3.2.5. The first time you run Application Loader you need to enter your iTunes Connect login information. After that the procedure is as follows:

Application Loader does not seem to suffer from the same bug as the app submission code in Xcode so, at least for now, it is a good workaround if you have a space in your applications display name.

Never Miss A Post

Sign up to get my iOS posts and news direct to your inbox and I'll also send you a PDF of my WWDC Viewing Guide

    Unsubscribe at any time. See privacy policy.

    Archives Categories