flavor_tools 2.0.3 copy "flavor_tools: ^2.0.3" to clipboard
flavor_tools: ^2.0.3 copied to clipboard

CLI tool for creating and managing Flutter flavors. Configures iOS (Xcode, xcconfig, schemes) and Android (Gradle) automatically.

2.0.3 #

  • Added validation for Gradle file existence before Android flavor creation
  • Added validation for invalid YAML flavor entries in create-all command

2.0.2 #

  • Fixed dart analyze warnings
  • Updated dependencies
  • Updated README.md documentation

2.0.0 #

New features #

  • create-all command — batch flavor creation from YAML config file (flavor_tools.yaml)
  • update command — update package name and display name for existing flavors (iOS xcconfig + Android Gradle)
  • Smart diff detectioncreate-all automatically detects config changes and updates only modified flavors
  • Kotlin DSL support — auto-detection and support for build.gradle.kts alongside Groovy build.gradle
  • Duplicate check — skips flavor creation if it already exists in the project

Improvements #

  • XCBuildConfiguration modernized to Xcode 16 standards:
    • Removed ENABLE_BITCODE
    • CODE_SIGN_IDENTITY: iPhone DeveloperApple Development
    • CLANG_CXX_LANGUAGE_STANDARD: gnu++0xgnu++20
    • GCC_C_LANGUAGE_STANDARD: gnu99gnu17
    • IPHONEOS_DEPLOYMENT_TARGET: 12.013.0
    • SWIFT_VERSION: 5.06.0
  • Auto-detection of project settings — reads SWIFT_VERSION, IPHONEOS_DEPLOYMENT_TARGET, TARGETED_DEVICE_FAMILY, CLANG_CXX_LANGUAGE_STANDARD, GCC_C_LANGUAGE_STANDARD from existing Xcode configurations instead of hardcoding
  • Scheme generation rewritten with xml package — correct BlueprintIdentifier from PBXNativeTarget, scheme version 1.7, customLLDBInitFile support
  • Removed unused Profile xcconfig file references (Profile reuses Release xcconfig per Flutter standard)
  • Refactored create_xc_flavor.dart — eliminated duplication across build types using loops and UUID maps
  • Error handling — proper exit codes (exit(1) instead of exit(404)), descriptive context messages for all error points

1.0.6 #

  • Updated XCBuildConfiguration.
2
likes
160
points
238
downloads

Publisher

unverified uploader

Weekly Downloads

CLI tool for creating and managing Flutter flavors. Configures iOS (Xcode, xcconfig, schemes) and Android (Gradle) automatically.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

args, collection, xcode_parser, xml, yaml

More

Packages that depend on flavor_tools