This guide helps you set up a development environment for Mintify.
- macOS 14.0+ (Sonoma or later)
- Xcode 15.0+
- XcodeGen for project generation
brew install xcodegengit clone https://github.com/YOUR_USERNAME/Mintify.git
cd Mintifyxcodegen generateThis creates Mintify.xcodeproj from project.yml.
open Mintify.xcodeprojIf you want to run on a real device or distribute:
- Open project settings in Xcode
- Select the "Mintify" target
- Go to "Signing & Capabilities"
- Set your Development Team
Press ⌘R to build and run.
The project.yml file defines the Xcode project structure. Key sections:
name: Mintify
options:
bundleIdPrefix: com.yourname
deploymentTarget:
macOS: "14.0"
targets:
Mintify:
type: application
platform: macOS
sources:
- path: MintifyIf you add new Swift files:
xcodegen generateThis updates the Xcode project to include new files.
- Use
@EnvironmentObjectfor state shared across views - Extract reusable views to
Views/Shared/ - Keep views focused on presentation, logic in State classes
- One type per file (with minor exceptions)
- Views in feature-based folders
- Services contain business logic
- Models are pure data structures
xcodebuild -scheme Mintify -configuration Release archiveRun xcodegen generate to regenerate the project.
Set your Development Team in Xcode project settings, or leave empty for local development.
Check Console.app for crash logs. The app runs as a menu bar accessory by default.