iOS 4.2 update and the Base SDK Missing error

If after updating to iOS 4.2 SDK you get a “Base SDK Missing” error:

  1. open Project settings and choose “Latest iOS” under Base SDK for All Configurations
  2. open your target and make sure the settings applies to it (in case you overrode it)
  3. (yes, somehow the “Base SDK Missing” error seems to stick)
  4. shutdown Xcode and reopen.

The SDK now is set.

Advertisements

Quickly rebuild your iOS app when Provisioning Profile expires

  1. Login into the Provisioning Portal, click “Provisioning” on the left side column
  2. Renew your expired profile (or create new one) and download it
  3. Drag it over the Xcode dock icon (or add it into the Organizer)
  4. Remove old profiles from Xcode Organizer
  5. Open your Device target. Select the Build tab -> Code Signing Identity, and make sure the new profile is the one in use.
    Xcode has the habit of not automatically updating its targets to use the newly installed provisioning profile. (Even if you physically removed the old one.)

At this point you should be able to rebuild the app.