Automated setup for iOS Bluetooth and WiFi functionality in Dala.
This task configures your iOS project by:
- Adding Bluetooth source files to the Xcode project
- Linking CoreBluetooth.framework
- 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 pathExamples
# 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-runOptions
--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 messagePrerequisites
- 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