logo
AFFiNE Docs
Try Online
Try Online
logo
AFFiNE Docs
Get Started
Core Concepts
Blocks that assemble your next docs, tasks kanban or whiteboard
Elements of AFFiNE
Blocks
Docs
Page Mode
Doc info
Blocks with Databases
Collections
Workspaces
Members
Settings
frames & groups
Slash command
Roadmap
What AFFiNE is Not
Features
Template
Calendar Integrations
Meeting (macOS)
Editor
Self-host AFFiNE
Install
Requirements
Docker Compose [Recommended]
After Installation
Configuration
Upgrade
Features
Basic User Quota
Team License
Administer
Naming
Domain and HTTPS
Backup and Restore
Email Notifications
OAuth 2.0
Postgres
Redis
Storage
User management
Indexer
AI
Getting AI API Keys
Monitoring
References
Environment Variables
Legacy .env deployments
docker-compose.yml
Develop [WIP]
Architecture
Project
Frontend
Setup
Electron
iOS
Android
State management
i18n
Testing
Backend
Setup
Database Migrations
Testing
BlockSuite [WIP]
Architecture
Store
Block Model
Block Reactive
Transformer & Adapter
Transformer Middleware
Selection
Contributing
Code Of Conduct
Releases
Version and Releases

iOS

Prepare

  • rust

  • NodeJS

  • yarn

  • xcode

One-click Setup

For iOS developers, just run packages/frontend/apps/ios/setup.sh, the script will automatically configure the environment and complete the build. it will automatically open Xcode, and you can just launch the app in Xcode.

Develop

Start frontend webpack dev server, and keep it open

yarn af ios dev

Configure ios app in dev mode

yarn af ios sync:dev

Open xcode

yarn af ios xcode

Last Updated: 2026/7/27 08:13:17

Previous PageElectron
Next PageAndroid