Monday, March 22, 2010

VATviewer iPhone App

Today my first iPhone application officially got approved into the AppStore: VATviewer. VATviewer is a simple VATSIM live map/listing application for the online controllers and pilots. It also provides a simple airport search to find various data such as weather (METARs), airport name, flights, etc.

Check it out:
itms://itunes.apple.com/us/app/vatviewer/id361334638?mt=8

Thank you!

Tuesday, March 16, 2010

iPhone SDK - Easily check for an internet connection

So, I have found that the simplest way to check for an internet connection in the iPhone SDK is not via the "Reachability" classes that are provided through the Apple iPhone example projects.

The easiest is as demonstrated through my video tutorial:



Simply put, you can create an NSString from a URL (in this case it is http://google.com), and check to see if that string then exists or not.

Thanks for visiting my blog!

Sunday, March 14, 2010

iTunes Connect Code Signing Solution

Drum line please...

I finally figured out the solution for uploading my first iPhone App (VATviewer) to iTunes Connect without getting any Code signing error.

After successfully adding your iPhone Distribution profile and provisioning profile to your project, make sure to add the string "--keychain login.keychain" to "Other Code Signing Flags" (access this by going to Project->Edit Project Settings->Build and ensuring that your Distribution profile is selected).

That was my final solution, but I cannot guarantee that it will be the solution to your iPhone SDK uploading problems.

Good Luck!

Connor

iPhone SDK Distribution Pains

So here I am, finalizing an application that I have been working on for a few weeks. It has been a long process learning Objective-C and the iPhone SDK, but I finally have the application ready for upload to iTunes Connect (the AppStore). But, little did I know that Apple's code-signing certificates, provisions, etc.  are even more of a pain than the coding and development process.

I have added and re-added provisioning profiles to both my device and XCode, added certificates to KeyChain, etc., and I have built my application and Zipped it. I have tried multiple times to upload the application binary using Apple's website and the Application Loader, but each time I receive a message telling me that the binary was not code signed properly.

I have tried everything based off of google searches, but with no success. The final thing that I am going to try is to install the newest version of XCode and the iPhone SDK v3.2 Beta, and see if anything is fixed.

Does anybody have any other suggestions?

Android SDK anyone?