mix dala.setup_ios_bluetooth (dala v0.0.7)

Copy Markdown View Source

Automated setup for iOS Bluetooth and WiFi functionality in Dala.

This task configures your iOS project by:

  1. Adding Bluetooth source files to the Xcode project
  2. Linking CoreBluetooth.framework
  3. Adding required Info.plist entries for Bluetooth usage

Usage

mix dala.setup_ios_bluetooth              # Use default ios/ directory
mix dala.setup_ios_bluetooth /path/to/ios # Specify custom path

Examples

# Set up with default settings
mix dala.setup_ios_bluetooth

# Set up with verbose output
mix dala.setup_ios_bluetooth --verbose

# Check what would be done without making changes
mix dala.setup_ios_bluetooth --dry-run

Options

--check        Verify current setup without making changes
--dry-run      Show what would be done without making changes
--verbose      Show detailed output
--help         Show this help message

Prerequisites

  • Xcode project must exist in the ios/ directory
  • Ruby is preferred (for pbxproj modification); sed fallback if unavailable
  • plutil or PlistBuddy must be available (for Info.plist modification)

The required Bluetooth files should already exist in the ios/ directory:

  • DalaBluetoothManager.h
  • DalaBluetoothManager.m
  • DalaBluetoothCInterface.m
  • DalaBluetooth.swift