Skip to content
This repository has been archived by the owner on Mar 26, 2018. It is now read-only.

Tutorial for Standalone App

Davide Casali edited this page May 4, 2013 · 2 revisions

Using Baker is simple and even if there are some technicalities involved, it's doable with just basic technical knowledge.

This tutorial assumes that you choose the Standalone publication support in Baker. If you're not sure, read [here](Newsstand vs Standalone publications in Baker 4.0).


REQUIREMENTS

  1. A Mac with Xcode
  2. An Apple iOS Developer account (required to publish to the store).

CREATE YOUR PUBLICATIONS

  1. Create your issues using the [HPub tutorial](How to package an HPub).

CONFIGURE BAKER STANDALONE

  1. Download and unzip the latest version from the website.
  2. Open Baker.xcodeproj in the latest version of Xcode.
  3. Change the Bundle ID in Baker to your own Bundle ID (which you can find on iTunes Connect).
  4. Replace the icon files (ios-icon-*.png, check the Apple Guidelines for reference).
  5. Within Xcode, open folder BakerShelf and the file Constants.h.
  6. Delete #define BAKER_NEWSSTAND in Constants.h (you can also comment it out)
  7. Remove NewsstandKit.framework from the list of linked libraries baker frameworks
  8. Remove the following entries from Baker/Supporting Files/Baker-Info.plist:
    • UINewsstandIcon ("Icon files" -> "Newsstand Icon")
    • UIBackgroundModes ("Required background modes")
    • UINewsstandApp ("Application presents content in Newsstand") Baker-Info.plist
  9. Add your Hpub publications in the books folder in Xcode (unzipped, one publication per sub-folder) and build the application.

OPTIONAL CUSTOMIZATION

  1. Within Xcode, open file UIConstants.h inside the BakerShelf folder.
    There you can set many details about the shelf look and feel.
    Title color, info text color, button color, button text color, loading color and so on.
  2. Within Xcode, open file Baker/Supporting Files/en.lproj/Localizable.strings.
    There you can set the shelf title, button titles and messages related to downloading and archiving.

TEST AND PUBLISH

  1. Test your publication, subscriptions and downloads
  2. If you have problems check the Problems and Debugging page.
  3. When you're ready, submit to the App Store.