Latest 1.0.3
License MIT
Platforms ios 8.0, tvos 9.0, requires ARC

Badge w/ Version
Badge w/ Version

This library is an easy to use way to check if there are updates available for your application on the iOS App Store.


This is the first iteration of this library and has all of the basic functionality to call out to Apple’s lookup service and return the current data for your app. This means that your app must be approved and active in the App Store for this to work. Failsafes are built in at every step to return NO for updates available if anything were to change or not get returned correctly. This way you should be safe and comfortable putting the checks in without accidentally prompting the user to update.


This library is predicated on the fact that you are using Semantic Versioning for your application. This means your versions are set as follows.


For this library to work your version must be an NSString (which is pretty easy since Apple requires it to be this way) and your items are separated with a period. Assuming you are versioning this way, this library will work for you.

Version Types

You can specify in your check for udpates how precise you want your lookup to be. Maybe you only care about prompting users when you release a major or minor update, but don’t want to hassle them for bug fixes.

SMAVersionTypeMajor // only prompts for update if major version changes
SMAVersionTypeMajorMinor // only prompts for update if major or minor version changes
SMAVersionTypeMajorMinorBug // only prompts for update if major, minor, or bug version changes
SMAVersionTypeDefault // will prompt for update at any level of update


[SMAUpdatesAvailable checkForUpdatesWithType:SMAVersionTypeMajorMinorBug onCompletion:^(SMAUpdateResponse *response) {
    if (response.updateAvailable) {
        // safe to prompt user to update your app
    } else {
        // no updates available 

The SMAUpdateResponse object contains all of the data used to check for the update. You can query the response and parse the data yourself if you like.

response.appVersion // current version of your app as reported by MainBundle
response.appStoreVersion // current version of your app as reported by Apple's lookup service (if returned)
response.updateAvailable // BOOL to quickly determine if update is available for your app
response.rawData // NSDictionary of the full response returned by Apple's lookup service (has a lot of Store information)
response.error // error returned in the event of failures at any point and can be helpful for user messages if needed


  • #import "SMAUpdatesAvailable.h" where you want to check for updates
  • pod install SMAUpdatesAvailable
  • Copy source files to your project. Only SMAUpdatesAvailable and SMAUpdateResponse are required


SMAUpdatesAvailable requires [iOS 8.0] or later. We will be working to make this availble to as many versions as we can after proper testing.

  • iOS 8.0 or later
  • tvOS 9.0 or later


SMAUpdatesAvailable was written for use in projects created by Simply Made Apps so we could help users update to the latest version of our apps.


Bill Burgess @billburgess


SMAUpdatesAvailable is available under the MIT license. See the LICENSE file for more information.

What’s Next

  • Testing that this works on older versions of iOS so we can safely add older versions of iOS.
  • Add support for Mac App Store updates.
  • Native/better support for Swift. Most of this is in place now, but a Swift branch would avoid bridginge headers.
  • Mocking library to round out the tests surrounding my network calls and getting data from the main bundle.
  • We welcome any pull requests or suggestions for this library.

Latest podspec

    "name": "SMAUpdatesAvailable",
    "version": "1.0.3",
    "summary": "An easy to use library to check if there are iOS updates available for your application.",
    "homepage": "",
    "license": "MIT",
    "authors": {
        "Bill Burgess": "[email protected]"
    "platforms": {
        "ios": "8.0",
        "tvos": "9.0"
    "source": {
        "git": "",
        "tag": "1.0.3"
    "source_files": "SMAUpdatesAvailable/*.{h,m}",
    "requires_arc": true

Pin It on Pinterest

Share This