# Original iOS sample apps

These two small SwiftUI examples are original starter projects: Tap Counter and Focus Timer. Each folder contains an `App.swift` source file, an `Info.plist`, and an `install-manifest.plist` template. They do not include an IPA and are not installable as-is.

The files in this directory are dedicated to the public domain under [CC0 1.0](https://creativecommons.org/publicdomain/zero/1.0/). This applies only to `www/ios-apps/`; the rest of Starbound Arcade remains under the project license.

## Build and install

1. On a Mac with Xcode, create an iOS App project for the chosen sample and add its `App.swift` source. Use the matching `Info.plist` as a starting point.
2. Set a unique bundle identifier that belongs to your Apple developer team. Update `CFBundleIdentifier` in `Info.plist` and `bundle-identifier` in `install-manifest.plist` to the same value.
3. Archive and export the app in Xcode using your own valid signing identity and provisioning profile.
4. Host the exported, signed `.ipa` at the production URL already shown in its manifest (`https://www.starboundarcade.com/ios-apps/<app>/<AppName>.ipa`), or change the manifest to the exact public HTTPS IPA URL you use. Publish the completed manifest at its matching `https://www.starboundarcade.com/ios-apps/<app>/install-manifest.plist` path.
5. Only after both files are live and verified, an install link has this form (URL-encode the manifest URL):

   ```text
   itms-services://?action=download-manifest&url=https%3A%2F%2Fwww.starboundarcade.com%2Fios-apps%2Ftap-counter%2Finstall-manifest.plist
   ```

The website intentionally does not expose an install link until real signed IPAs are available. An unsigned, placeholder, or third-party IPA must not be presented as an installable download. Apple signing, device eligibility, hosting, and distribution requirements still apply.
