Skip to main content
Sync provisioning profiles by triggering a build with automatic signing. This downloads and updates provisioning profiles from Apple Developer Portal.
# Sync provisioning profiles (uses saved state)
flowdeck project sync-profiles

# Sync with explicit workspace and scheme
flowdeck project sync-profiles -w App.xcworkspace -s MyApp

# Show detailed build output
flowdeck project sync-profiles --verbose

Options

OptionShortDescription
--project <path>-pProject directory (defaults to current directory)
--workspace <path>-wPath to workspace (.xcworkspace) or project (.xcodeproj)
--scheme <name>-sScheme name
--verbose-vShow detailed xcodebuild output
--json-jOutput as JSON

How It Works

This command triggers a build with the -allowProvisioningUpdates and -allowProvisioningDeviceRegistration flags, which allows Xcode to:
  1. Download missing provisioning profiles from your Apple Developer account
  2. Register new devices if needed
  3. Update expired profiles
Run this command when you see signing errors related to expired or missing provisioning profiles.

Use Cases

Fix Signing Errors

# When you see "Provisioning profile not found" errors
flowdeck project sync-profiles -w MyApp.xcworkspace -s MyApp

After Adding New Team Members

# Sync profiles after team membership changes
flowdeck project sync-profiles --verbose

CI/CD Setup

# Ensure profiles are up-to-date in CI
flowdeck project sync-profiles -w MyApp.xcworkspace -s MyApp --json