Saturday, May 1, 2010

Validate Build Product

In the last post, I mentioned Xcode 3.2's new Validate option that runs the same checks the App Store Review Team will use before looking at the content of your app and which may be used by Build and Archive (or any other Build command, for that matter), I probably should have mentioned what determines whether it will get run. It's your project settings. To turn it on or off, select Edit Project Settings from the Project menu, and it's under the Build Options, and it's just a checkbox you can turn on or off.

Screen shot 2010-05-01 at 10.14.00 AM.png

I would recommend not waiting until App Store submission to run validate. Do it before you send to testers or to your client. It will allow you to address problems before your app gets tested, reducing the need for regression testing.



13 comments:

MPH said...

Any idea what this does, specifically?

I tried to use a private API and it didn't seem to complain.

Jeff LaMarche said...

No, the exact checks are not documented and it's unclear whether the App Review Team has additional automated checks besides these. If I knew more, I'd share, but I don't :(

Dave Murdock said...

Do you get any messages with this on, positive or negative?

When I enable this and build, or use "Validate Application..." in the Organizer, nothing seems to happen after I put my credentials in.

Jeff LaMarche said...

Dave:

It gets triggered by the build. If your application passes the validate, then you don't get any warnings or errors. Try, for example, to build a distribution version using your developer certificate, and you'll see a warning. I don't know exactly what this checks, but it definitely will catch some things. If it doesn't, you're probably good to go.

Jeff

Dave Murdock said...

Thanks Jeff. I guess I am good to go then.

pippin said...
This comment has been removed by the author.
AngerBee said...

Do you possibly know of a way to trigger a response on purpose?

Victoryperfect said...

I actually enjoyed reading through this posting.Many thanks.


Product Development

TheVole said...

Jeff: Great article and great site. Always worth reading and learning from.

One question... I have tried in vain to see something reported from the "Validate Built Product" build option and I always (and I mean always) see a clean validate step in the build log - even when I supply missized iphone/ipad icons. I am currently running the iOS 4 SDK with XCode 3.2. I have also uninstalled and reinstalled the final SDK image but I still get no validation errors reported (when I expect them).

Any ideas of things I can try? I've scoured the web and Apple developer forums. I appear to be the only one on the planet with this issue. You're my last hope obiwan.

Santosh said...

Hi, i need to know how to validate the textfields like username, password (character,numbers,symbols). Please send me the code if possible. Thanks.

Pavel said...

We developed mobile applications that take advantage of the following iPhone technologies: multi-touch interface, accelerometer, GPS, proximity sensor, dialer, address book and calendar, etc. We have made GPS-based iPhone application development and (Location Based Service) LBS based location tracking applications for iPhone.
java software company | software development company | java web development | blackberry application development | iphone application development | android application development | java outsourcing | it outsourcing services | http://www.tenaxtechnologies.com

SEO Services Consultants said...

Nice information, many thanks to the author. It is incomprehensible to me now, but in general, the usefulness and significance is overwhelming. Thanks again and good luck! Web Design Company

h4ns said...

What youre saying is completely true. I know that everybody must say the same thing, but I just think that you put it in a way that everyone can understand. I also love the images you put in here. They fit so well with what youre trying to say. Im sure youll reach so many people with what youve got to say.

Arsenal vs Huddersfield Town live streaming
Arsenal vs Huddersfield Town live streaming
Wolverhampton Wanderers vs Stoke City Live Streaming
Wolverhampton Wanderers vs Stoke City Live Streaming
Notts County vs Manchester City Live Streaming
Notts County vs Manchester City Live Streaming
Bologna vs AS Roma Live Streaming
Bologna vs AS Roma Live Streaming
Juventus vs Udinese Live Streaming
Juventus vs Udinese Live Streaming
Napoli vs Sampdoria Live Streaming
Napoli vs Sampdoria Live Streaming
Fulham vs Tottenham Hotspur Live Streaming
Fulham vs Tottenham Hotspur Live Streaming
AS Monaco vs Marseille Live Streaming
AS Monaco vs Marseille Live Streaming
Alajuelense vs Perez Zeledon Live Streaming
Alajuelense vs Perez Zeledon Live Streaming
Technology News | News Today | Live Streaming TV Channels