---
title: Publish your own iOS build | Space Works for iOS docs
description: This guide prepares a build for one deployment. Use RELEASE-READINESS.md for the complete build/test commands, deployment inputs, privacy review and…
url: https://spaceworkslabs.tech/docs/ios/white-label/
updated: 2026-10-19
---

[Space Works for iOS](https://spaceworkslabs.tech/docs/ios/) Overview
- [Overview](https://spaceworkslabs.tech/docs/ios/overview/)
Features
- [Native push integration](https://spaceworkslabs.tech/docs/ios/push-notifications/)
- [Localization readiness](https://spaceworkslabs.tech/docs/ios/localization/)
- [Publish your own iOS build](https://spaceworkslabs.tech/docs/ios/white-label/)
- [Native provider setup](https://spaceworkslabs.tech/docs/ios/native-sdk-setup/)
[All docs](https://spaceworkslabs.tech/docs/)

Space Works for iOS · Features

# Publish your own iOS build

This guide prepares a build for one deployment. Use[RELEASE-READINESS.md](https://github.com/SpaceWorks-Labs/SpaceWorks-iOS/blob/5efe81d5ee027955d020be1eb931c4589af57269/docs/RELEASE-READINESS.md) for the complete build/test commands, deployment inputs, privacy review and distribution evidence. The owner's batch workflow permits tested phases on`dev`before a final reviewed merge.

Mobile UX guidance is maintained in this app's`docs/mobile-auth-ux-spec.md`, and mobile motion in`tokens/mobile-motion.json`. Keep the matching inputs aligned between Android and iOS. The existing`design/`submodule supplies the original brand masters and semantic colors; mobile-specific additions do not belong in the Design repository.
- Fork this repo and clone recursively (`git clone --recurse-submodules <repository-url>`). Keep the pinned`design/`commit unless intentionally updating the design system.
- Edit`branding/brand.json`: set your display name, unique reverse-domain`ios_bundle_id`, Apple`ios_team_id`, HTTPS deployment origin in`server_url`, and support/privacy URLs. A null server URL asks the user on launch; a fixed URL locks the build to that deployment. Paths, credentials, queries and fragments are rejected.
- Replace`branding/app-icon.svg`with your artwork. It must have an explicit opaque top-level background rectangle (`fill="#RRGGBB"`). The generator rasterizes to an opaque 1024 px App Store icon. Point`app_icon`to this repository-local file. Change`theme_tokens`to your light/dark semantic token JSON if rebranding the theme; preserve all semantic roles.
- Install and select Xcode 26.2 with its iOS 26 SDKs (the CI toolchain), XcodeGen, Python 3.10+, and librsvg (`brew install xcodegen librsvg`). Run`python3 scripts/generate.py`then`xcodegen generate`.`Brand.xcconfig`, Swift constants, adaptive color assets, icons and staging schema are generated and ignored. Open the generated`SpaceWorks.xcodeproj`. Never edit or commit it.
- Enroll your organization in the Apple Developer Program, register the bundle ID, and choose your signing team in your private build environment. Configure App Attest and Push Notifications capabilities/provisioning for that identity. Confirm development/production environments against the backend allowlist and use real hardware for attestation verification.
- Create an APNs key in your own Apple account and configure it privately on your server. iOS uses APNs directly; it does not need a Firebase project. Self-hosters publishing Android separately need their own Firebase project for Android FCM. Push routing also needs the published native contract and server link files; see the backend dependency issue in the release guide.
- Inject signing certificates/provisioning profiles and`.p8`files from CI secrets. Never commit keys, tokens, provisioning files, or`google-services.json`. Simulator tests use a temporary ad-hoc`LOCALCI`Keychain identity; it is not an Apple team identity or distribution credential.
- Run the CI checks and archive a Release build using your Apple signing configuration. Check your deployment URL, dark/light themes, VoiceOver and the largest Dynamic Type size on a device. Supply support/privacy URLs and your own App Store privacy declarations, screenshots and reviewer demo account.
- Upload an owner-signed, validated archive to your App Store Connect account and TestFlight first. Require the recorded phase checks and owner-provisioned integration tests before publication, including whole-account deletion against your deployment. An unsigned CI compile or demo journey is not a submitted build.

Optional deployment links and artwork are configured in the same`branding/brand.json`:
- `support_url`and`privacy_url`accept`null`or an absolute HTTPS URL. Leave them null until you have real deployment pages; their actions stay unavailable. The generator normalizes the HTTPS scheme and DNS host, and rejects credentials, malformed escapes, whitespace, control characters and invalid URL syntax before writing generated files. Paths, query strings and fragments are allowed for these page links; the separate`server_url`must remain an origin.
- Optional top-level artwork keys accept repository-local PNG paths in light/dark pairs.`logo_symbol`pairs with`logo_symbol_reversed`,`logo_stacked`with`logo_stacked_reversed`, and`logo_horizontal_one_colour_ink`with`logo_horizontal_reversed`. An omitted asset pair uses the original pinned Design masters. Supply both members of each configured pair. The generator checks each selected file's repository path, PNG header, dimensions (48–8192 pixels) and size (at most 20 MiB) before writing generated outputs; Xcode still needs to compile the selected images successfully.
- A custom display name uses native text in auth until you provide custom symbol or stacked artwork. Generated`hasCustomWordmark`,`hasCustomStacked`and`hasCustomSymbol`flags select the supplied auth artwork; when only one of those pairs is supplied, it is used across compact and regular layouts. Keep artwork static, undistorted and opaque, preserve its clear space, and inspect both color schemes. Android accepts SVG artwork for its equivalent symbols and stacked logos; use the corresponding platform format from the same licensed source.

Run the generator tests as well as generation after changing branding. Test a fresh build with your actual name, icon, palette, artwork, support/privacy links and bundle identifier; inspect the installed app and the Release bundle rather than only the JSON configuration. The automated fixture tests prove generator behavior with temporary inputs; they do not validate your deployment pages, signing or store submission.

App content uses the owner's supplied Gilroy native faces with Dynamic Type and Bold Text support. Native bars/system activities retain platform conventions; IDs and secrets use Gilroy with tabular digits, not a monospace family. Gilroy and the Unbounded accent font conversion provenance are in`SpaceWorks/Resources/Fonts/`; upstream licenses still apply and this repository grants no new font rights. Brand assets retain their upstream licenses; this repo does not grant additional embedding rights. Keep master logos static, undistorted and fully opaque with the Design clear space; motion belongs on sibling content and respects Reduce Motion.

Sign-in buttons follow your server's`native.providers`configuration. Register the real Google iOS OAuth client, enter it as the server's "Google ios client id" and set its reversed ID as`google_reversed_client_id`. Enable Sign in with Apple for the registered bundle/team and list the bundle ID in "Apple native app ids". For organization OIDC, add`spaceworks://auth/callback`as a redirect URI on the provider's public client. Phone sign-in needs the server's phone login and SMS delivery. See[NATIVE-SDK-SETUP.md](https://spaceworkslabs.tech/docs/ios/native-sdk-setup/) . Never substitute a browser cookie or access-only response for a complete native grant.

Native capability generation supports optional`aps_environment`(`null`or`"production"`) and`associated_domains`(an explicit array of owned`applinks:`/`webcredentials:`DNS names). When push is enabled, Debug uses the development APNs environment and Release uses production. Configured capabilities require the owner's real ten-character Apple team ID and matching provisioning. Leave these inputs absent until the deployment is configured. Supply the actual associated-domain files on the owner's server; generating an entitlement does not verify them. Edit these deployment inputs instead of hand-editing generated entitlement files, which the prebuild generator recreates. See[PUSH-NOTIFICATIONS.md](https://spaceworkslabs.tech/docs/ios/push-notifications/) for consent, returned registration IDs, cleanup and membership routing.

`SpaceWorks/Resources/PrivacyInfo.xcprivacy`declares same-app UserDefaults access (`CA92.1`) for locally stored preferences such as theme, server selection and introduction completion, no tracking, and the data the app itself sends to your server for app functionality (name, email, phone, user and device identifiers, staff evidence photos and other member-entered content), all linked to the account. Review app collection and linked SDK manifests against the actual deployment before store submission;[Apple's required-reason API guidance](https://developer.apple.com/documentation/bundleresources/describing-use-of-required-reason-api) explains the declaration.

From[SpaceWorks-iOS/docs/WHITE-LABEL.md](https://github.com/SpaceWorks-Labs/SpaceWorks-iOS/blob/5efe81d5ee027955d020be1eb931c4589af57269/docs/WHITE-LABEL.md) at 5efe81d, updated 2026-10-19.[Suggest a change](https://github.com/SpaceWorks-Labs/SpaceWorks-iOS/edit/main/docs/WHITE-LABEL.md)  [PreviousLocalization readiness](https://spaceworkslabs.tech/docs/ios/localization/) [NextNative provider setup](https://spaceworkslabs.tech/docs/ios/native-sdk-setup/)
