Tutorial: your first app
Tutorial: your first app
Follow these twelve steps in order. They take you from a new Horse account to a TestFlight build that sells, unlocks and reports every renewal. Plan on about an hour, most of it in App Store Connect and Xcode.
#Before you start
- You're an Admin or App Manager in App Store Connect for the team that publishes the app.
- The app exists in App Store Connect, and its subscriptions or in-app purchases are set up there with prices. They don't need to be approved yet.
- You have the Xcode project open, and a device or simulator to run it on.
#The steps
Step 1 · DashboardCreate your accountSign up and name your workspace.
Step 2 · App Store ConnectConnect your Apple accountCreate an App Store Connect API key and add it to Horse.
Step 3 · DashboardAdd your appPick it from App Store Connect and name its entitlement.
Step 4 · DashboardProducts and entitlementsImport what the app sells and map it to what it unlocks.
Step 5 · DashboardMake an offeringChoose the plans your paywall sells.
Step 6 · DashboardDesign a paywallLay it out, write the words, publish it.
Step 7 · XcodeInstall the Horse iOS SDKAdd the Swift package and pick a library.
Step 8 · XcodeConfigure it and check accessOne call at launch, one check per feature.
Step 9 · XcodeShow the paywallOne modifier, or your own paywall.
Step 10 · App Store ConnectApp Store Server NotificationsLet Apple tell Horse about renewals and refunds.
Step 11 · TestFlightTest with SandboxBuy, cancel, restore and reinstall, and check each one.
Step 12 · App StoreGo liveThe checklist before you submit for review.