Flutter 마이그레이션용 읽기 전용 Dart CLI

무엇이 바뀌는지, 옮기기 전에 확인하세요.

Flutter 버전은 올라가도 네이티브 설정 파일은 그대로 남습니다. 다음 빌드 전에 Podfile 수정과 Android 시스템 바 영향을 점검하세요.

flutter_migration_audit edge-to-edge --from 3.24.5 --to 3.27.1 실제 CLI 출력 발췌
Summary: 5 affected, 0 needs check, 0 not affected

[affected] edge-to-edge opt-out
  The style `NormalTheme` and its parents have no opt-out item,
  so on Android 15 and later devices the app draws edge-to-edge.
  App clues:
    android/app/src/main/AndroidManifest.xml:13  @style/NormalTheme
    android/app/src/main/res/values/styles.xml:6  <style name="NormalTheme">
  Doc evidence:
    Flutter 3.27 docs (flutter/website d69db60f99)
  Device tests:
    - On an Android 15 (API 35) emulator, check whether the app
      draws behind the status and navigation bars.
한 번만 설치 · Dart 3.5 이상 (Flutter에 포함)
dart pub global activate flutter_migration_audit

내 버전에 맞는 edge-to-edge 명령어 만들기

현재 Flutter 버전과 목표 버전을 입력하면 지원 여부를 확인하고 바로 복사할 수 있는 명령어를 만들어 드립니다.

지원 구간 프리셋
지원됨 · targetSdk 34 → 35 (Android 15) 해당 사례 보기 ↓
생성된 명령어
flutter_migration_audit edge-to-edge --from 3.24.5 --to 3.27.1

지금 준비하는 마이그레이션부터 살펴보세요

상황을 고르면 도구가 읽는 파일, 실행 명령, 그리고 실제 기록된 보고서를 확인할 수 있습니다.

iOS / macOS

Podfile에는 의존성만 들어 있지 않습니다.

Flutter 안내서는 수동 Podfile 수정을 제거하라고만 말합니다. 이 명령은 앱의 Podfile을 포함된 Flutter 템플릿(v0.1.0 - 3.50.1)과 비교해 각 설정을 Swift Package Manager에서 어디로 옮겨야 하는지 알려 줍니다.

터미널에서 실행
flutter_migration_audit spm --input path/to/app
  • 최소 배포 버전, flavor 빌드 구성 매핑, use_modular_headers!, 전처리기 매크로, xcodeproj 스크립트, 앱 확장 타깃 pod를 점검합니다.
  • "Run Prepare Flutter Framework Script" 사전 작업이 빠진 flavor 스킴과 Flutter/*.xcconfig에 남은 Pods/ include를 찾습니다.
  • 검증된 pub.dev 버전 범위 안에서 네 개 플러그인의 Podfile 설정 전환 방식을 설명합니다.

플러그인별 SwiftPM 점검 항목 (v0.1.1 이상)

permission_handler_apple9.6.2 - 9.6.5

ios/Podfile의 PERMISSION_* 매크로

Package.swift와 같은 방식으로 Info.plist 사용 목적 설명 키를 읽어 매크로 유지 여부와 수정 사항을 알려 줍니다.

geolocator_apple2.3.15 - 2.4.4

BYPASS_PERMISSION_LOCATION_ALWAYS 매크로

CI를 포함한 모든 빌드에서 BYPASS_PERMISSION_LOCATION_ALWAYS=1 환경 변수를 설정하도록 안내합니다.

firebase_analytics12.4.3 - 13.1.0

$FirebaseAnalyticsWithoutAdIdSupport 전역 변수

Package.swift가 FirebaseAnalyticsCore를 링크하도록 빌드마다 FIREBASE_ANALYTICS_WITHOUT_ADID 설정을 안내합니다.

appsflyer_sdk6.18.1, 7.0.2 - 7.0.4

$AppsFlyerStrictMode / $AppsFlyerPurchaseConnector

SwiftPM 전환 시 Strict 모드(7.0.2+2, 7.0.4)와 Purchase Connector(6.18.1, 7.0.2 - 7.0.4)가 빠짐을 알리고 CocoaPods 유지를 권고합니다.

Xcode 프로젝트가 포함된 앱 루트를 지정하세요. 대응하는 프로젝트가 없는 Podfile은 needs check로 보고하고 해당 플랫폼 점검을 건너뜁니다. 플러그인별 SwiftPM 지원 여부는 flutter_spm_doctor가 담당합니다.

테스트용 앱의 전체 보고서 예시 보기
flutter_migration_audit 0.1.2: CocoaPods to Swift Package Manager
App: <app>
Rules verified against Flutter 3.50.0

iOS: Podfile present; Swift Package Manager integration started
  Closest Flutter Podfile template: 3.47.0/Podfile-ios to 3.50.0/Podfile-ios

  [affected] ios/Podfile:1
    Podfile configures AppsFlyer Strict mode
    In appsflyer_sdk 7.0.4, the CocoaPods podspec enables Strict mode when $AppsFlyerStrictMode is truthy. Swift Package Manager links the Regular AppsFlyer SDK, so the app loses the Strict SDK variant.
    Action: To keep Strict mode, keep ios/Podfile and set flutter.config.enable-swift-package-manager to false in pubspec.yaml. This setting uses CocoaPods for all Flutter plugin dependencies in the app. If you also enable Purchase Connector, confirm with AppsFlyer Support that your versions can be used together. CocoaPods may otherwise report duplicate frameworks.
    Check: After building with CocoaPods, check that Podfile.lock lists AppsFlyerFramework/Strict.
    Sources: [1] [2] [3] [4]

  [affected] ios/Podfile:2
    Podfile configures AppsFlyer Purchase Connector
    In appsflyer_sdk 7.0.4, the CocoaPods podspec enables Purchase Connector whenever $AppsFlyerPurchaseConnector is defined, including false or nil. Swift Package Manager omits the native Purchase Connector. Calling its API can throw MissingPluginException.
    Action: To keep Purchase Connector, keep ios/Podfile and set flutter.config.enable-swift-package-manager to false in pubspec.yaml. This setting uses CocoaPods for all Flutter plugin dependencies in the app.
    Check: After building with CocoaPods, check that Podfile.lock lists appsflyer_sdk/PurchaseConnector and exercise the Purchase Connector API.
    Sources: [5] [6] [4]

  [affected] ios/Podfile:3
    Podfile builds firebase_analytics without the advertising ID
    Under CocoaPods, the podspec of firebase_analytics uses FirebaseAnalytics/Core whenever the Podfile defines $FirebaseAnalyticsWithoutAdIdSupport, with any value. Under Swift Package Manager, the Podfile no longer reaches it: the Package.swift of firebase_analytics 13.1.0 uses FirebaseAnalyticsCore only when the environment variable FIREBASE_ANALYTICS_WITHOUT_ADID is set during the build, with any value, and FirebaseAnalytics otherwise. To keep the advertising ID, leave the variable unset. The docs also suggest the environment variables of the Xcode scheme; the tool has not confirmed that they reach Package.swift, so check builds started from Xcode as below.
    Action: Set FIREBASE_ANALYTICS_WITHOUT_ADID for every build, for example `FIREBASE_ANALYTICS_WITHOUT_ADID=true flutter build ios`, in scripts and CI too.
    Check: After a build, confirm that the app links FirebaseAnalyticsCore and not FirebaseAnalytics, for example in the package dependencies that Xcode resolved for the build.
    Sources: [7] [8] [9] [10] [11]

  [affected] ios/Podfile:5
    Podfile platform 15.0 is higher than the Runner target
    The pods are built for 15.0, but every Runner build configuration (12) targets 13.0. A Swift package that needs 15.0 will not build for them.
    Action: In Xcode, set the Minimum Deployments of the Runner target to 15.0 (General tab), then run `flutter build ios --config-only`.
    Check: Every Runner build configuration in ios/Runner.xcodeproj/project.pbxproj sets IPHONEOS_DEPLOYMENT_TARGET to 15.0 or higher.
    Sources: [12] [13] [14]

  [affected] ios/Podfile:53-57
    post_install sets the geolocator macro: BYPASS_PERMISSION_LOCATION_ALWAYS=1
    Under Swift Package Manager, the Podfile no longer reaches geolocator_apple. Its Package.swift (2.4.4) sets this macro to 1 only when the environment variable BYPASS_PERMISSION_LOCATION_ALWAYS is exactly 1 during the build, and to 0 otherwise. With 0, the code that requests location access "Always" is compiled in again, and the app needs NSLocationAlwaysAndWhenInUseUsageDescription in Info.plist, which the macro set to 1 makes unnecessary.
    Action: Set BYPASS_PERMISSION_LOCATION_ALWAYS to 1 for every build, for example `BYPASS_PERMISSION_LOCATION_ALWAYS=1 flutter build ios`.
    Check: Confirm that every build command, in scripts and CI too, sets BYPASS_PERMISSION_LOCATION_ALWAYS=1.
    Sources: [15] [16] [17] [18]

  [affected] ios/Podfile:59-65
    post_install sets permission_handler macros: PERMISSION_NOTIFICATIONS=1, PERMISSION_CAMERA=1, PERMISSION_MICROPHONE=1
    Under Swift Package Manager, the Package.swift of permission_handler_apple 9.6.5 sets these macros from the usage description keys in ios/Runner/Info.plist. PERMISSION_NOTIFICATIONS=1: Package.swift keeps it on, because it is on by default. PERMISSION_CAMERA=1: Package.swift keeps it on, because NSCameraUsageDescription is in ios/Runner/Info.plist. PERMISSION_MICROPHONE=1: Package.swift turns it off, because no Info.plist has NSMicrophoneUsageDescription. This holds for builds started from the app directory, such as `flutter build ios` and `flutter run`. A build started from Xcode.app finds no Info.plist, so Package.swift turns off every permission except notifications, which are on by default, unless PERMISSION_HANDLER_INFO_PLIST names the Info.plist or an environment variable such as PERMISSION_CAMERA=1 sets the permission.
    Action: If the app requests this permission, add NSMicrophoneUsageDescription to its Info.plist. After a change of Info.plist keys, use Xcode Settings > Locations to find DerivedData. Clear only this project's DerivedData folder, then rebuild so that Package.swift is evaluated again.
    Check: On a device, request each permission that the app uses: a permission that is compiled in shows the system dialog, and one that is compiled out reports `denied`.
    Sources: [19] [20] [21] [22] [23]

  [affected] ios/Podfile:70-72
    Pods that only CocoaPods gives to target 'ImageNotification': Firebase/Messaging
    Target 'ImageNotification' gets this pod from CocoaPods, not from a Flutter plugin. After CocoaPods is removed, nothing provides it.
    Action: In Xcode, add a Swift package that provides each pod to target 'ImageNotification': select the target, open the General tab, and under Frameworks, Libraries, and Embedded Content click + > Add Other > Add Package Dependency. This tool does not know which Swift package provides a pod; the pod's own documentation does.
    Check: After CocoaPods is removed, target 'ImageNotification' builds and the code that uses the pod still links.
    Sources: [24] [25]

  [affected] ios/Runner.xcodeproj/xcshareddata/xcschemes/production.xcscheme
    Scheme 'production' has no Swift Package Manager pre-action
    Flutter adds the "Run Prepare Flutter Framework Script" pre-action only to the scheme of the build it runs. A scheme that was never built with Swift Package Manager turned on lacks it, and a build started from Xcode with this scheme fails: the plugins' Swift packages cannot find the Flutter module.
    Action: With Swift Package Manager turned on, run `flutter build ios --config-only --flavor production`.
    Check: The scheme file now contains `xcode_backend.sh`.
    Sources: [26] [27] [28] [29] [30]

  [affected] ios/Runner.xcodeproj/xcshareddata/xcschemes/staging.xcscheme
    Scheme 'staging' has no Swift Package Manager pre-action
    Flutter adds the "Run Prepare Flutter Framework Script" pre-action only to the scheme of the build it runs. A scheme that was never built with Swift Package Manager turned on lacks it, and a build started from Xcode with this scheme fails: the plugins' Swift packages cannot find the Flutter module.
    Action: With Swift Package Manager turned on, run `flutter build ios --config-only --flavor staging`.
    Check: The scheme file now contains `xcode_backend.sh`.
    Sources: [26] [27] [28] [29] [30]

  [needs check] ios/Podfile
    Every plugin must support Swift Package Manager before CocoaPods is removed
    Flutter falls back to CocoaPods for a plugin without Swift Package Manager support. This tool does not check plugins; `flutter_spm_doctor` (pub.dev) checks them from pubspec.lock.
    Check: Every plugin in pubspec.lock that has iOS or macOS code has a Package.swift.
    Sources: [31] [32]

  [not affected] ios/Podfile:14-22
    Build configurations mapped for CocoaPods: Debug-development, Profile-development, Release-development, Debug-staging, Profile-staging, Release-staging, Debug-production, Profile-production, Release-production
    This map tells CocoaPods whether each custom build configuration builds pods like Debug or like Release. It goes away with the Podfile. The flavors behind these configurations still need their schemes migrated; see the scheme findings.
    Sources: [33] [26]

  [not affected] ios/Runner.xcodeproj/xcshareddata/xcschemes
    Schemes with the Swift Package Manager pre-action: Runner, development
    These schemes already run the "Run Prepare Flutter Framework Script" pre-action.
    Sources: [26] [27] [28] [29] [30]

macOS: no Xcode project

Summary: 9 affected, 1 needs check, 2 not affected

Sources

[1] "if defined?($AppsFlyerStrictMode) && $AppsFlyerStrictMode"
    appsflyer_sdk podspec (7.0.4)
    Pinned: https://github.com/AppsFlyerSDK/flutter_appsflyer_sdk/blob/0ea6a1710c36b68143003437c524ae32b5e93c15/ios/appsflyer_sdk.podspec#L17-L36
    Live: https://github.com/AppsFlyerSDK/flutter_appsflyer_sdk/blob/master/ios/appsflyer_sdk.podspec

[2] "Strict mode requires CocoaPods for this plugin."
    AppsFlyer Flutter installation guide (7.0.4)
    Pinned: https://github.com/AppsFlyerSDK/flutter_appsflyer_sdk/blob/0ea6a1710c36b68143003437c524ae32b5e93c15/doc/installation-guide.md#L96-L132
    Live: https://github.com/AppsFlyerSDK/flutter_appsflyer_sdk/blob/master/doc/installation-guide.md

[3] "duplicate-framework error until those native pins align."
    AppsFlyer Flutter installation guide (7.0.4)
    Pinned: https://github.com/AppsFlyerSDK/flutter_appsflyer_sdk/blob/0ea6a1710c36b68143003437c524ae32b5e93c15/doc/installation-guide.md#L96-L132
    Live: https://github.com/AppsFlyerSDK/flutter_appsflyer_sdk/blob/master/doc/installation-guide.md

[4] "Disabling Swift Package Manager causes Flutter to use CocoaPods for all dependencies."
    Swift Package Manager for app developers
    Pinned: https://github.com/flutter/website/blob/7c32e59eb1a26ff5f1e510230dea96c33b5f168a/sites/docs/src/content/packages-and-plugins/swift-package-manager/for-app-developers.md
    Live: https://docs.flutter.dev/packages-and-plugins/swift-package-manager/for-app-developers

[5] "if defined?($AppsFlyerPurchaseConnector) s.default_subspecs = 'Core', 'PurchaseConnector'"
    appsflyer_sdk podspec (7.0.4)
    Pinned: https://github.com/AppsFlyerSDK/flutter_appsflyer_sdk/blob/0ea6a1710c36b68143003437c524ae32b5e93c15/ios/appsflyer_sdk.podspec#L17-L36
    Live: https://github.com/AppsFlyerSDK/flutter_appsflyer_sdk/blob/master/ios/appsflyer_sdk.podspec

[6] "iOS: CocoaPods only — not compatible with Swift Package Manager."
    AppsFlyer Flutter Purchase Connector (7.0.4)
    Pinned: https://github.com/AppsFlyerSDK/flutter_appsflyer_sdk/blob/0ea6a1710c36b68143003437c524ae32b5e93c15/doc/purchase-connector.md#L76-L104
    Live: https://github.com/AppsFlyerSDK/flutter_appsflyer_sdk/blob/master/doc/purchase-connector.md

[7] "if defined?($FirebaseAnalyticsWithoutAdIdSupport)"
    firebase_analytics podspec (13.1.0)
    Pinned: https://github.com/firebase/flutterfire/blob/6c05baf70438121e826146db5cb8bb83b64527a4/packages/firebase_analytics/firebase_analytics/ios/firebase_analytics.podspec
    Live: https://github.com/firebase/flutterfire/blob/main/packages/firebase_analytics/firebase_analytics/ios/firebase_analytics.podspec

[8] "Set the `FIREBASE_ANALYTICS_WITHOUT_ADID` environment variable when building:"
    Get started with Google Analytics, Flutter (firebase_analytics 13.1.0)
    Pinned: https://github.com/firebase/flutterfire/blob/6c05baf70438121e826146db5cb8bb83b64527a4/docs/analytics/_get-started.md
    Live: https://firebase.google.com/docs/analytics/get-started?platform=flutter

[9] "You can also add this variable to your Xcode scheme's environment variables for persistent configuration."
    Get started with Google Analytics, Flutter (firebase_analytics 13.1.0)
    Pinned: https://github.com/firebase/flutterfire/blob/6c05baf70438121e826146db5cb8bb83b64527a4/docs/analytics/_get-started.md
    Live: https://firebase.google.com/docs/analytics/get-started?platform=flutter

[10] "let useWithoutAdId = ProcessInfo.processInfo.environment["FIREBASE_ANALYTICS_WITHOUT_ADID"] != nil"
    firebase_analytics Package.swift (13.1.0)
    Pinned: https://github.com/firebase/flutterfire/blob/6c05baf70438121e826146db5cb8bb83b64527a4/packages/firebase_analytics/firebase_analytics/ios/firebase_analytics/Package.swift
    Live: https://github.com/firebase/flutterfire/blob/main/packages/firebase_analytics/firebase_analytics/ios/firebase_analytics/Package.swift

[11] "If your app doesn't use IDFA, use the IDFA-free Analytics iOS dependency (`FirebaseAnalyticsCore` under SPM, or `FirebaseAnalytics/Core` under CocoaPods) instead of the default `FirebaseAnalytics` dependency to avoid App Store review questions about advertising identifiers."
    Get started with Google Analytics, Flutter (firebase_analytics 13.1.0)
    Pinned: https://github.com/firebase/flutterfire/blob/6c05baf70438121e826146db5cb8bb83b64527a4/docs/analytics/_get-started.md
    Live: https://firebase.google.com/docs/analytics/get-started?platform=flutter

[12] "Specifies the platform for which a static library should be built."
    CocoaPods Podfile DSL
    Pinned: https://github.com/CocoaPods/Core/blob/8eeeded7f012cf54dcdabcc2e633cdc778a537c4/lib/cocoapods-core/podfile/dsl.rb
    Live: https://guides.cocoapods.org/syntax/podfile.html

[13] "Increase your app's target **Minimum Deployments**."
    Swift Package Manager for app developers
    Pinned: https://github.com/flutter/website/blob/7c32e59eb1a26ff5f1e510230dea96c33b5f168a/sites/docs/src/content/packages-and-plugins/swift-package-manager/for-app-developers.md
    Live: https://docs.flutter.dev/packages-and-plugins/swift-package-manager/for-app-developers

[14] "If you updated your iOS app's **Minimum Deployments**, regenerate the iOS project's configuration files:"
    Swift Package Manager for app developers
    Pinned: https://github.com/flutter/website/blob/7c32e59eb1a26ff5f1e510230dea96c33b5f168a/sites/docs/src/content/packages-and-plugins/swift-package-manager/for-app-developers.md
    Live: https://docs.flutter.dev/packages-and-plugins/swift-package-manager/for-app-developers

[15] "When your project uses Swift Package Manager (SPM) instead of CocoaPods, set the `BYPASS_PERMISSION_LOCATION_ALWAYS` environment variable to `1` when building. This defines the same preprocessor macro for the `geolocator_apple` package:"
    geolocator README (geolocator_apple 2.4.4)
    Pinned: https://github.com/Baseflow/flutter-geolocator/blob/aad30732a765f0a475d94790103b08a289b00715/geolocator/README.md
    Live: https://pub.dev/packages/geolocator

[16] "let bypassLocationAlways = ProcessInfo.processInfo.environment["BYPASS_PERMISSION_LOCATION_ALWAYS"] == "1" ? "1" : "0""
    geolocator_apple Package.swift (2.4.4)
    Pinned: https://github.com/Baseflow/flutter-geolocator/blob/aad30732a765f0a475d94790103b08a289b00715/geolocator_apple/darwin/geolocator_apple/Package.swift
    Live: https://github.com/Baseflow/flutter-geolocator/blob/main/geolocator_apple/darwin/geolocator_apple/Package.swift

[17] "Leaving the variable unset (or `0`) keeps the default behavior and requests the "always" authorization."
    geolocator README (geolocator_apple 2.4.4)
    Pinned: https://github.com/Baseflow/flutter-geolocator/blob/aad30732a765f0a475d94790103b08a289b00715/geolocator/README.md
    Live: https://pub.dev/packages/geolocator

[18] "Setting this flag prevents your app from requiring the `NSLocationAlwaysAndWhenInUseUsageDescription` entry in Info.plist, and avoids questions from Apple when submitting your app."
    geolocator README (geolocator_apple 2.4.4)
    Pinned: https://github.com/Baseflow/flutter-geolocator/blob/aad30732a765f0a475d94790103b08a289b00715/geolocator/README.md
    Live: https://pub.dev/packages/geolocator

[19] "Under CocoaPods you set those macros yourself, in the `GCC_PREPROCESSOR_DEFINITIONS` block of your `Podfile`. Under Swift Package Manager the package manifest derives them instead: it locates your app's `Info.plist` files and enables a permission when the matching `NS*UsageDescription` key is present."
    permission_handler_apple README (9.6.5)
    Pinned: https://github.com/Baseflow/flutter-permission-handler/blob/40901caa9dda1abd75415f4a29280a2c0cd1e5a8/permission_handler_apple/README.md
    Live: https://pub.dev/packages/permission_handler_apple

[20] "func enabled(_ envKey: String, plistKeys: String..., defaultValue: String = "0") -> String {"
    permission_handler_apple Package.swift (9.6.5)
    Pinned: https://github.com/Baseflow/flutter-permission-handler/blob/40901caa9dda1abd75415f4a29280a2c0cd1e5a8/permission_handler_apple/ios/permission_handler_apple/Package.swift
    Live: https://github.com/Baseflow/flutter-permission-handler/blob/main/permission_handler_apple/ios/permission_handler_apple/Package.swift

[21] "**`PermissionGroup.notification`** has no required `Info.plist` key and is **enabled by default**. To opt out, disable it via environment variable before building:"
    permission_handler README (permission_handler_apple 9.6.5)
    Pinned: https://github.com/Baseflow/flutter-permission-handler/blob/40901caa9dda1abd75415f4a29280a2c0cd1e5a8/permission_handler/README.md
    Live: https://pub.dev/packages/permission_handler

[22] "**After changing any env var or Info.plist key**, clear Xcode's package cache once so `Package.swift` is re-evaluated:"
    permission_handler README (permission_handler_apple 9.6.5)
    Pinned: https://github.com/Baseflow/flutter-permission-handler/blob/40901caa9dda1abd75415f4a29280a2c0cd1e5a8/permission_handler/README.md
    Live: https://pub.dev/packages/permission_handler

[23] "Builds started from Xcode.app run with `/` as their working directory and cannot be detected, so point the manifest at your `Info.plist` explicitly:"
    permission_handler README (permission_handler_apple 9.6.5)
    Pinned: https://github.com/Baseflow/flutter-permission-handler/blob/40901caa9dda1abd75415f4a29280a2c0cd1e5a8/permission_handler/README.md
    Live: https://pub.dev/packages/permission_handler

[24] "If you have manually edited your `Podfile` to add CocoaPods dependencies or logic other than Flutter plugins, you must manually remove those changes."
    Swift Package Manager for app developers
    Pinned: https://github.com/flutter/website/blob/7c32e59eb1a26ff5f1e510230dea96c33b5f168a/sites/docs/src/content/packages-and-plugins/swift-package-manager/for-app-developers.md
    Live: https://docs.flutter.dev/packages-and-plugins/swift-package-manager/for-app-developers

[25] "You can also navigate to your target’s General pane, and in the “Frameworks, Libraries, and Embedded Content” section, click the + button, select Add Other, and choose Add Package Dependency."
    Adding package dependencies to your app (Apple Developer Documentation)
    Live: https://developer.apple.com/documentation/xcode/adding-package-dependencies-to-your-app

[26] "final String? scheme = projectInfo.schemeFor(_buildInfo);"
    flutter_tools SwiftPM integration migration (Flutter 3.50.0)
    Pinned: https://github.com/flutter/flutter/blob/ab2912035e160d9cad6306df307576da6128ebdb/packages/flutter_tools/lib/src/migrations/swift_package_manager_integration_migration.dart
    Live: https://github.com/flutter/flutter/blob/master/packages/flutter_tools/lib/src/migrations/swift_package_manager_integration_migration.dart

[27] "The following steps must be completed for each flavor."
    Swift Package Manager for app developers, adding SwiftPM integration manually (iOS)
    Pinned: https://github.com/flutter/website/blob/7c32e59eb1a26ff5f1e510230dea96c33b5f168a/sites/docs/src/_includes/docs/swift-package-manager/migrate-ios-project-manually.md
    Live: https://docs.flutter.dev/packages-and-plugins/swift-package-manager/for-app-developers#how-to-add-swift-package-manager-integration-manually

[28] "schemeInfo.schemeContent.contains('xcode_backend.sh')"
    flutter_tools SwiftPM integration migration (Flutter 3.50.0)
    Pinned: https://github.com/flutter/flutter/blob/ab2912035e160d9cad6306df307576da6128ebdb/packages/flutter_tools/lib/src/migrations/swift_package_manager_integration_migration.dart
    Live: https://github.com/flutter/flutter/blob/master/packages/flutter_tools/lib/src/migrations/swift_package_manager_integration_migration.dart

[29] "return sentenceCase(buildInfo?.flavor ?? 'runner');"
    flutter_tools Xcode project info (Flutter 3.50.0)
    Pinned: https://github.com/flutter/flutter/blob/ab2912035e160d9cad6306df307576da6128ebdb/packages/flutter_tools/lib/src/ios/xcodeproj.dart
    Live: https://github.com/flutter/flutter/blob/master/packages/flutter_tools/lib/src/ios/xcodeproj.dart

[30] "return candidate.toLowerCase() == expectedScheme.toLowerCase();"
    flutter_tools Xcode project info (Flutter 3.50.0)
    Pinned: https://github.com/flutter/flutter/blob/ab2912035e160d9cad6306df307576da6128ebdb/packages/flutter_tools/lib/src/ios/xcodeproj.dart
    Live: https://github.com/flutter/flutter/blob/master/packages/flutter_tools/lib/src/ios/xcodeproj.dart

[31] "Note that Flutter falls back to CocoaPods for dependencies that don't yet support Swift Package Manager."
    Swift Package Manager for app developers
    Pinned: https://github.com/flutter/website/blob/7c32e59eb1a26ff5f1e510230dea96c33b5f168a/sites/docs/src/content/packages-and-plugins/swift-package-manager/for-app-developers.md
    Live: https://docs.flutter.dev/packages-and-plugins/swift-package-manager/for-app-developers

[32] "Ensure that all plugins in your project support Swift Package Manager before removing CocoaPods."
    Swift Package Manager for app developers
    Pinned: https://github.com/flutter/website/blob/7c32e59eb1a26ff5f1e510230dea96c33b5f168a/sites/docs/src/content/packages-and-plugins/swift-package-manager/for-app-developers.md
    Live: https://docs.flutter.dev/packages-and-plugins/swift-package-manager/for-app-developers

[33] "It is possible also to specify whether the build settings of your custom build configurations should be modelled after the release or the debug presets."
    CocoaPods Podfile DSL
    Pinned: https://github.com/CocoaPods/Core/blob/8eeeded7f012cf54dcdabcc2e633cdc778a537c4/lib/cocoapods-core/podfile/dsl.rb
    Live: https://guides.cocoapods.org/syntax/podfile.html
SwiftPM 빌드 검증 기록 보기 ↗
Android 15

같은 플레이어도 시스템 바 동작은 달라집니다.

Flutter 3.24에서 3.27로 올리면 기본 targetSdk가 34에서 35로 바뀌어 edge-to-edge가 기본 적용됩니다. styles.xml만 다른 두 샘플의 차이를 비교해 보세요.

터미널에서 실행
flutter_migration_audit edge-to-edge --from 3.24.5 --to 3.27.1 --input path/to/app
  • player_default는 edge-to-edge opt-out, SystemUiMode 호출, SafeArea 없는 Scaffold 배치가 affected로 보고됩니다.
  • player_opt_out은 임시 opt-out 스타일이 적용되므로 이후 모드·배치 항목은 해당 없음으로 건너뜁니다.
  • Android 15 에뮬레이터에서 player_default만 내비게이션 바 아래까지 그려지고(하단 인셋 0 → 24, 48) 상태 바 scrim이 사라집니다.

opt-out 속성은 Android 15에서 추가되었습니다. Flutter 3.24에서 미리 적용하려면 compileSdk 35 이상이 필요합니다.

Android 15 에뮬레이터에서 Flutter 3.24와 3.27의 플레이어 화면을 opt-out 유무에 따라 비교한 캡처.
에뮬레이터 비교 캡처 (스크롤해 확인)원본 크기로 열기 ↗
기록된 전체 보고서 보기
flutter_migration_audit 0.1.2: Android system bars and edge-to-edge
Flutter 3.24.5 → 3.27.1
App: samples/player_default
Inputs: android/app/build.gradle, android/app/src/main/AndroidManifest.xml, android/app/src/main/res/values/styles.xml, android/app/src/main/res/values-night/styles.xml, lib/player_screen.dart

Summary: 5 affected, 0 needs check, 0 not affected

[affected] targetSdk change
  targetSdk follows flutter.targetSdkVersion, so it changes from API 34 to API 35 (Android 15).
  App clues:
    android/app/build.gradle:14  targetSdk = flutter.targetSdkVersion
  Doc evidence:
    "Prior to Flutter 3.27, Flutter apps target Android 14 by default and won't opt into edge-to-edge mode automatically, but your app _will_ be impacted when you choose to target Android 15. If your app targets `flutter.targetSdkVersion` (as it does by default), then it targets Android 15 starting with Flutter version 3.27, automatically opting your app in to edge-to-edge."
      Set default of `SystemUiMode` to edge-to-edge › Context · Flutter 3.27 docs (flutter/website d69db60f99)
      Live: https://docs.flutter.dev/release/breaking-changes/default-systemuimode-edge-to-edge
      Pinned: https://github.com/flutter/website/blob/d69db60f9945655fa06fcaac573478ff6088003e/src/content/release/breaking-changes/default-systemuimode-edge-to-edge.md
  Device tests:
    - On a Android 15 (API 35) emulator, open the first screen of the Flutter 3.24 build and of the Flutter 3.27 build, and compare the areas around the status bar and the navigation bar.

[affected] edge-to-edge opt-out
  The style `NormalTheme` and its parents have no opt-out item, so on Android 15 and later devices the app draws edge-to-edge.
  App clues:
    android/app/src/main/AndroidManifest.xml:13  android:resource="@style/NormalTheme"
    android/app/src/main/res/values/styles.xml:6  <style name="NormalTheme" parent="@android:style/Theme.Light.NoTitleBar">
  Doc evidence:
    "If your Flutter app targets Android SDK version 15 or later, your app automatically displays in edge-to-edge mode, as documented on the `SystemUiMode` API page. To maintain non-edge-to-edge app behavior (including an unset `SystemUiMode`), follow the steps in migration guide."
      Set default of `SystemUiMode` to edge-to-edge › Summary · Flutter 3.27 docs (flutter/website d69db60f99)
      Live: https://docs.flutter.dev/release/breaking-changes/default-systemuimode-edge-to-edge
      Pinned: https://github.com/flutter/website/blob/d69db60f9945655fa06fcaac573478ff6088003e/src/content/release/breaking-changes/default-systemuimode-edge-to-edge.md
  Device tests:
    - On a Android 15 (API 35) emulator, check whether the app draws behind the status and navigation bars.

[affected] SystemUiMode: immersiveSticky
  The Flutter docs say that with targetSdk 35 or later, SystemUiMode.immersiveSticky must follow the edge-to-edge migration guide. The device can behave differently from the docs, so check on a device how the screen changes.
  App clues:
    lib/player_screen.dart:16  SystemChrome.setEnabledSystemUIMode(SystemUiMode.immersiveSticky);
  Doc evidence:
    "Available starting at Android SDK 4.4 (API 19). Earlier versions of Android will not be affected by this setting. However, if your app targets Android SDK 15 (API 35) or later (Flutter does this by default), then you must migrate using the instructions in https://docs.flutter.dev/release/breaking-changes/default-systemuimode-edge-to-edge to use this mode."
      SystemUiMode enum › SystemUiMode.immersiveSticky · Flutter 3.27 docs (flutter/flutter 3.27.0)
      Live: https://api.flutter.dev/flutter/services/SystemUiMode.html
      Pinned: https://github.com/flutter/flutter/blob/8495dee1fd4aacbe9de707e7581203232f591b2f/packages/flutter/lib/src/services/system_chrome.dart
  Device tests:
    - On a Android 15 (API 35) emulator, open the screen that uses immersiveSticky mode, and check whether the status and navigation bars hide and how far content draws: behind the status bar, the navigation bar, or the display cutout.

[affected] SystemUiMode: manual
  The Flutter docs say that with targetSdk 35 or later, SystemUiMode.manual must follow the edge-to-edge migration guide. The device can behave differently from the docs, so check on a device how the screen changes.
  App clues:
    lib/player_screen.dart:21  SystemChrome.setEnabledSystemUIMode(SystemUiMode.manual, overlays: SystemUiOverlay.values);
  Doc evidence:
    "If your app targets Android SDK 15 (API 35) or later, then you must migrate using the instructions in https://docs.flutter.dev/release/breaking-changes/default-systemuimode-edge-to-edge to use this mode."
      SystemUiMode enum › SystemUiMode.manual · Flutter 3.27 docs (flutter/flutter 3.27.0)
      Live: https://api.flutter.dev/flutter/services/SystemUiMode.html
      Pinned: https://github.com/flutter/flutter/blob/8495dee1fd4aacbe9de707e7581203232f591b2f/packages/flutter/lib/src/services/system_chrome.dart
  Device tests:
    - On a Android 15 (API 35) emulator, open the screen that sets manual mode, and check whether the requested system bars show and whether content draws behind the status and navigation bars.

[affected] Layout near the system bars
  The Scaffold body draws without SafeArea or AppBar, so under edge-to-edge the top content goes behind the status bar.
  App clues:
    lib/player_screen.dart:27  return Scaffold(
  Doc evidence:
    "Fullscreen display with status and navigation elements rendered over the application."
      SystemUiMode enum › SystemUiMode.edgeToEdge · Flutter 3.27 docs (flutter/flutter 3.27.0)
      Live: https://api.flutter.dev/flutter/services/SystemUiMode.html
      Pinned: https://github.com/flutter/flutter/blob/8495dee1fd4aacbe9de707e7581203232f591b2f/packages/flutter/lib/src/services/system_chrome.dart
    "When running your app on the latest devices, you might encounter bits of the UI being blocked by cutouts on the device's screen. You can fix this with the `SafeArea` widget, which insets its child widget to avoid intrusions (like notches and camera cutouts), as well as operating system UI (such as the status bar on Android), or by rounded corners of the physical display."
      SafeArea & MediaQuery › SafeArea · Flutter 3.27 docs (flutter/website d69db60f99)
      Live: https://docs.flutter.dev/ui/adaptive-responsive/safearea-mediaquery
      Pinned: https://github.com/flutter/website/blob/d69db60f9945655fa06fcaac573478ff6088003e/src/content/ui/adaptive-responsive/safearea-mediaquery.md
    "It's generally recommended to wrap the body of a `Scaffold` widget in `SafeArea` as a good place to start, but you don't always need to put it this high in the `Widget` tree."
      SafeArea & MediaQuery › SafeArea · Flutter 3.27 docs (flutter/website d69db60f99)
      Live: https://docs.flutter.dev/ui/adaptive-responsive/safearea-mediaquery
      Pinned: https://github.com/flutter/website/blob/d69db60f9945655fa06fcaac573478ff6088003e/src/content/ui/adaptive-responsive/safearea-mediaquery.md
  Device tests:
    - On a Android 15 (API 35) emulator, check that text and buttons at the top of the screen do not overlap the status bar, and that buttons at the bottom do not overlap the navigation bar (both 3-button and gesture).
빌드와 기기 검증 기록 보기 ↗
Android 16

임시 opt-out이 더는 적용되지 않습니다.

Flutter 3.32에서 3.35 또는 3.50으로 올리면 기본 targetSdk가 35에서 36으로 바뀝니다. Android 16 기기는 android:windowOptOutEdgeToEdgeEnforcement를 무시하므로 두 샘플의 결과가 뒤집힙니다.

터미널에서 실행
flutter_migration_audit edge-to-edge --from 3.32.5 --to 3.35.1 --input path/to/app
flutter_migration_audit edge-to-edge --from 3.32.5 --to 3.50.1 --input path/to/app --json
  • player_default는 이미 edge-to-edge로 동작하므로 이번 업그레이드에서 배치 동작이 바뀌지 않습니다.
  • player_opt_out은 values-night를 포함한 리소스 한정자 전체에서 Android 16 기준 affected가 되며, Android 16 크래시 주의사항이 별도 needs check 항목으로 보고됩니다.
  • Flutter 3.50에서도 샘플 판정은 같으며, 다크 모드와 Android 16 크래시 안내가 포함된 3.50 문서 리비전을 직접 인용합니다. 기기 검증은 3.35.1에서 수행했습니다.

문서와 실제 기기 동작은 다를 수 있습니다. 기록된 Android 16 에뮬레이터 검증에서는 문서의 제한 안내와 달리 immersiveSticky와 manual 모드가 작동했습니다. 보고서는 고정된 문서 인용을 유지하면서 기기 확인을 요청합니다.

Android 16 에뮬레이터에서 Flutter 3.32에서 3.35로 올린 뒤 opt-out 플레이어가 edge-to-edge로 그려지는 모습을 비교한 캡처.
에뮬레이터 비교 캡처 (스크롤해 확인)원본 크기로 열기 ↗
기록된 전체 보고서 보기
flutter_migration_audit 0.1.2: Android system bars and edge-to-edge
Flutter 3.32.5 → 3.35.1
App: samples/player_opt_out
Inputs: android/app/build.gradle, android/app/src/main/AndroidManifest.xml, android/app/src/main/res/values/styles.xml, android/app/src/main/res/values-night/styles.xml, lib/player_screen.dart

Summary: 5 affected, 1 needs check, 0 not affected

[affected] targetSdk change
  targetSdk follows flutter.targetSdkVersion, so it changes from API 35 to API 36 (Android 16).
  App clues:
    android/app/build.gradle:14  targetSdk = flutter.targetSdkVersion
  Doc evidence:
    "[Android 16] Bumping Framework Default TargetSdk to 36 by @jesswrd in 168577"
      Flutter 3.35.0 release notes › Android · Flutter 3.35 docs (flutter/website ae1d177e32)
      Live: https://docs.flutter.dev/release/release-notes/release-notes-3.35.0
      Pinned: https://github.com/flutter/website/blob/ae1d177e3276748e7e81dff93e76f91ba01ab16e/src/content/release/release-notes/release-notes-3.35.0.md
  Device tests:
    - On a Android 16 (API 36) emulator, open the first screen of the Flutter 3.32 build and of the Flutter 3.35 build, and compare the areas around the status bar and the navigation bar.

[affected] edge-to-edge opt-out
  The style `values/NormalTheme` that a Android 16 (API 36) device selects has the opt-out item, so for now the app draws outside the system bars on Android 16 devices too. Other configurations also select style chains with the opt-out item: `values-night` (values-night/NormalTheme). When targetSdk becomes 36, Android 16 devices ignore the opt-out and the app draws edge-to-edge.
  App clues:
    android/app/src/main/AndroidManifest.xml:13  android:resource="@style/NormalTheme"
    android/app/src/main/res/values/styles.xml:7  <style name="NormalTheme" parent="@android:style/Theme.Light.NoTitleBar">
    android/app/src/main/res/values/styles.xml:9  <item name="android:windowOptOutEdgeToEdgeEnforcement">true</item>
    android/app/src/main/res/values-night/styles.xml:7  <style name="NormalTheme" parent="@android:style/Theme.Black.NoTitleBar">
    android/app/src/main/res/values-night/styles.xml:9  <item name="android:windowOptOutEdgeToEdgeEnforcement">true</item>
  Doc evidence:
    ":::note If your Flutter app targets Android SDK version 16 or later, your app automatically displays in edge-to-edge mode, and you cannot opt-out. To learn more about this change, check out the Android 16 release notes. :::"
      Set default of `SystemUiMode` to edge-to-edge › Summary · Flutter 3.35 docs (flutter/website ae1d177e32)
      Live: https://docs.flutter.dev/release/breaking-changes/default-systemuimode-edge-to-edge
      Pinned: https://github.com/flutter/website/blob/ae1d177e3276748e7e81dff93e76f91ba01ab16e/src/content/release/breaking-changes/default-systemuimode-edge-to-edge.md
  Device tests:
    - On a Android 16 (API 36) emulator, open the Flutter 3.32 build and the Flutter 3.35 build, and compare whether the app draws behind the status and navigation bars.

[affected] SystemUiMode: immersiveSticky
  The Flutter docs say that from targetSdk 36, Android ignores SystemUiMode.immersiveSticky on Android 16 devices, and an opt-out cannot bring it back. The device can behave differently from the docs, so check on a device how the screen changes.
  App clues:
    lib/player_screen.dart:16  SystemChrome.setEnabledSystemUIMode(SystemUiMode.immersiveSticky);
  Doc evidence:
    "If your app targets Android SDK 16 (API 36) or later, then the Android system will ignore this value."
      SystemUiMode enum › SystemUiMode.immersiveSticky · Flutter 3.35 docs (flutter/flutter 3.35.0)
      Live: https://api.flutter.dev/flutter/services/SystemUiMode.html
      Pinned: https://github.com/flutter/flutter/blob/b8962555571d8c170cff8e76023ea7bf60e5ec4b/packages/flutter/lib/src/services/system_chrome.dart
    "If your app targets Android SDK 16 (API 36) or later, then your Flutter app uses [SystemUiMode.edgeToEdge] by default on Android and setting any of the other [SystemUiMode]s will NOT work. There is no way to opt out of [SystemUiMode.edgeToEdge]."
      SystemChrome class › SystemChrome.setEnabledSystemUIMode · Flutter 3.35 docs (flutter/flutter 3.35.0)
      Live: https://api.flutter.dev/flutter/services/SystemChrome.html
      Pinned: https://github.com/flutter/flutter/blob/b8962555571d8c170cff8e76023ea7bf60e5ec4b/packages/flutter/lib/src/services/system_chrome.dart
  Device tests:
    - On a Android 16 (API 36) emulator, open the screen that uses immersiveSticky mode, and check whether the status and navigation bars hide and how far content draws: behind the status bar, the navigation bar, or the display cutout.

[affected] SystemUiMode: manual
  The Flutter docs say that from targetSdk 36, Android ignores SystemUiMode.manual on Android 16 devices, and an opt-out cannot bring it back. The device can behave differently from the docs, so check on a device how the screen changes.
  App clues:
    lib/player_screen.dart:21  SystemChrome.setEnabledSystemUIMode(SystemUiMode.manual, overlays: SystemUiOverlay.values);
  Doc evidence:
    "If your app targets Android SDK 16 (API 36) or later, then the Android system will ignore this value."
      SystemUiMode enum › SystemUiMode.manual · Flutter 3.35 docs (flutter/flutter 3.35.0)
      Live: https://api.flutter.dev/flutter/services/SystemUiMode.html
      Pinned: https://github.com/flutter/flutter/blob/b8962555571d8c170cff8e76023ea7bf60e5ec4b/packages/flutter/lib/src/services/system_chrome.dart
    "If your app targets Android SDK 16 (API 36) or later, then your Flutter app uses [SystemUiMode.edgeToEdge] by default on Android and setting any of the other [SystemUiMode]s will NOT work. There is no way to opt out of [SystemUiMode.edgeToEdge]."
      SystemChrome class › SystemChrome.setEnabledSystemUIMode · Flutter 3.35 docs (flutter/flutter 3.35.0)
      Live: https://api.flutter.dev/flutter/services/SystemChrome.html
      Pinned: https://github.com/flutter/flutter/blob/b8962555571d8c170cff8e76023ea7bf60e5ec4b/packages/flutter/lib/src/services/system_chrome.dart
  Device tests:
    - On a Android 16 (API 36) emulator, open the screen that sets manual mode, and check whether the requested system bars show and whether content draws behind the status and navigation bars.

[affected] Layout near the system bars
  The Scaffold body draws without SafeArea or AppBar, so under edge-to-edge the top content goes behind the status bar.
  App clues:
    lib/player_screen.dart:27  return Scaffold(
  Doc evidence:
    "Fullscreen display with status and navigation elements rendered over the application."
      SystemUiMode enum › SystemUiMode.edgeToEdge · Flutter 3.35 docs (flutter/flutter 3.35.0)
      Live: https://api.flutter.dev/flutter/services/SystemUiMode.html
      Pinned: https://github.com/flutter/flutter/blob/b8962555571d8c170cff8e76023ea7bf60e5ec4b/packages/flutter/lib/src/services/system_chrome.dart
    "When running your app on the latest devices, you might encounter bits of the UI being blocked by cutouts on the device's screen. You can fix this with the `SafeArea` widget, which insets its child widget to avoid intrusions (like notches and camera cutouts), as well as operating system UI (such as the status bar on Android), or by rounded corners of the physical display."
      SafeArea & MediaQuery › SafeArea · Flutter 3.35 docs (flutter/website ae1d177e32)
      Live: https://docs.flutter.dev/ui/adaptive-responsive/safearea-mediaquery
      Pinned: https://github.com/flutter/website/blob/ae1d177e3276748e7e81dff93e76f91ba01ab16e/src/content/ui/adaptive-responsive/safearea-mediaquery.md
    "It's generally recommended to wrap the body of a `Scaffold` widget in `SafeArea` as a good place to start, but you don't always need to put it this high in the `Widget` tree."
      SafeArea & MediaQuery › SafeArea · Flutter 3.35 docs (flutter/website ae1d177e32)
      Live: https://docs.flutter.dev/ui/adaptive-responsive/safearea-mediaquery
      Pinned: https://github.com/flutter/website/blob/ae1d177e3276748e7e81dff93e76f91ba01ab16e/src/content/ui/adaptive-responsive/safearea-mediaquery.md
  Device tests:
    - On a Android 16 (API 36) emulator, check that text and buttons at the top of the screen do not overlap the status bar, and that buttons at the bottom do not overlap the navigation bar (both 3-button and gesture).

[needs check] Opt-out item on Android 16 devices
  The style chains that a Android 16 (API 36) device selects still have the opt-out item: values/NormalTheme (`NormalTheme`), values-night/NormalTheme (`NormalTheme`). Later docs say that opting out this way on Android 16 or later can crash the app, and that version-specific resources avoid it. To drop the item on Android 16 devices only, use a directory that applies from API 36 and keeps the other qualifiers of the directory the device selects: `values-v36` for `values`, `values-night-v36` for `values-night`.
  App clues:
    android/app/src/main/res/values/styles.xml:7  <style name="NormalTheme" parent="@android:style/Theme.Light.NoTitleBar">
    android/app/src/main/res/values/styles.xml:9  <item name="android:windowOptOutEdgeToEdgeEnforcement">true</item>
    android/app/src/main/res/values-night/styles.xml:7  <style name="NormalTheme" parent="@android:style/Theme.Black.NoTitleBar">
    android/app/src/main/res/values-night/styles.xml:9  <item name="android:windowOptOutEdgeToEdgeEnforcement">true</item>
  Doc evidence:
    "Using the mechanism to opt out of edge-to-edge on Android 16 or later might cause your app to crash, but you can avoid this by using version-specific resources; for details, visit the migration guide."
      Set default of `SystemUiMode` to edge-to-edge › Android 16 (or later) · current docs (flutter/website a0b75bedb9) · corrected after the target release
      Live: https://docs.flutter.dev/release/breaking-changes/default-systemuimode-edge-to-edge
      Pinned: https://github.com/flutter/website/blob/a0b75bedb9557c5b71c81d8482a3073c05a0b7f3/sites/docs/src/content/release/breaking-changes/default-systemuimode-edge-to-edge.md
  Check: Consider removing the opt-out item from the styles that API 36 and later devices use.
  Device tests:
    - On a Android 16 (API 36) emulator, start the app and check that it opens the first screen without a crash.
    - On a Android 16 (API 36) emulator set to each configuration that selects `values-night` (dark mode, for example), start the app and check that it opens the first screen without a crash.
빌드와 기기 검증 기록 보기 ↗

CLI 레퍼런스

두 개의 하위 명령, 간단한 옵션, 그리고 로컬 실행과 CI 파이프라인에서 예측 가능한 종료 코드를 제공합니다.

명령어

spm
CocoaPods에서 SwiftPM으로 옮길 때 iOS·macOS Podfile, Xcode 프로젝트, 스킴, xcconfig 파일을 점검합니다.
edge-to-edge
Gradle targetSdk, AndroidManifest 테마, res/values* 스타일, Dart의 SystemUiMode와 SafeArea 사용을 점검합니다.

종료 코드

0
보고서 출력에 성공했습니다. affected 판정이 있어도 0을 반환하므로 자동화에서는 출력이나 JSON을 함께 확인하세요.
64
인자가 잘못되었거나 edge-to-edge가 지원하지 않는 Flutter 버전 구간입니다.
66
--input으로 지정한 앱 디렉터리가 존재하지 않습니다.

옵션

--input, -i
점검할 Flutter 앱 디렉터리입니다. 기본값은 현재 디렉터리입니다.
--json
텍스트 대신 구조화된 JSON으로 보고서를 출력합니다.
--[no-]color
텍스트 보고서에 터미널 색상을 적용합니다(NO_COLOR가 비어 있는 터미널에서 자동 활성화).
--from, --to
edge-to-edge 전용 필수 옵션으로, 현재 버전과 목표 버전을 지정합니다.
--help, -h
도구 전체 또는 특정 명령의 사용법을 출력합니다.
--version
설치된 패키지 버전을 출력합니다.

PATH 미등록 또는 로컬 체크아웃 실행

셸에서 flutter_migration_audit 명령을 찾지 못하면 Dart로 직접 실행하세요. 저장소 체크아웃을 시험하려면 경로로 활성화할 수 있습니다.

dart pub global run flutter_migration_audit --help
dart pub global activate --source path .

오프라인에서 동작하는 버전 고정 근거

실행 시 네트워크를 쓰지 않습니다. 모든 권고는 앱의 파일·줄 번호와 특정 커밋에 고정된 Flutter 공식 출처에 연결됩니다.

  1. 한 번 활성화

    dart pub global activate로 설치합니다. Flutter에 포함된 Dart 3.5 이상이 필요합니다.

  2. 앱 루트 점검

    --input으로 spm 또는 edge-to-edge를 실행합니다. 파일은 읽기만 하고 아무것도 수정하지 않습니다.

  3. 조치 확인 및 기기 테스트

    보고서의 파일 위치, 인용된 문서 근거, 그리고 제시된 확인 방법이나 에뮬레이터 테스트를 따라갑니다.

왜 목표 버전 시점의 문서가 중요한가요?

같은 Flutter 공식 문서 페이지라도 릴리스마다 설명이 달라집니다. 3.27 판본은 opt-out이 Android SDK 15+에 적용된다고 말하지만, 3.32 이후 판본은 API 36이 이를 무시하기 때문에 SDK 15로 범위를 좁힙니다. 이 패키지는 고정된 flutter/website 커밋과 flutter/flutter 릴리스 태그에서 추출한 인용문을 내장해 목표 버전에 맞는 판본만 근거로 씁니다.

예외는 두 가지뿐입니다. 3.27 판본에 빠졌던 다크 모드(values-night) 안내와 3.35 이후인 2026년 2월에 추가된 Android 16 크래시 주의사항만 이후 판본을 인용하며, 보고서에 사후 정정임을 명시합니다. 3.50 판본에는 둘 다 포함되어 별도 표시 없이 인용합니다.

판정 기준, 지원 범위, 한계

입력이 부족하거나 공식 문서에 근거가 없으면 추측하지 않고 needs check로 멈춥니다.

affected
마이그레이션으로 설정이나 실행 동작이 달라집니다. 제시된 조치를 검토하고 결과를 확인하세요.
not affected
읽어 들인 파일을 기준으로 이 항목에서 마이그레이션 영향을 찾지 못했습니다.
needs check
입력이나 근거가 부족하거나 수동 확인이 필요합니다. 문제가 없다는 뜻으로 해석하지 마세요.
지원하는 Android 업그레이드 구간
3.24.x → 3.27.x (targetSdk 34 → 35), 3.32.x → 3.35.x (35 → 36), 3.32.x → 3.50.x (35 → 36)만 지원합니다. 그 밖의 마이너 버전이나 두 번의 targetSdk 변경을 한 번에 건너뛰는 구간은 종료 코드 64로 거부합니다.
SwiftPM 점검 범위
Flutter v0.1.0 - 3.50.1 템플릿 대비 iOS·macOS Podfile 수동 수정, Xcode 빌드 구성, flavor 스킴, Pods xcconfig include, 검증된 네 개 플러그인 설정을 다룹니다.
Android 테마 및 입력 판정 기준
전체 앱 루트뿐 아니라 스니펫 디렉터리(Gradle, manifest, Dart, res/values*)도 입력으로 받습니다. LAUNCHER FlutterActivity의 NormalTheme meta-data를 우선 판정하고(없으면 activity·application 테마), LaunchTheme 차이나 빌드 타입 manifest 차이는 별도 needs check 또는 참고로 보고합니다.
읽기 전용 설계
CLI 보고서와 도움말은 영어로 출력됩니다. 코드를 자동으로 고치거나 GitHub와 연동하지 않으며, 영향을 받는 화면은 반드시 실제 기기나 에뮬레이터에서 확인해야 합니다.
Android 리소스 한정자 판정 기준 문서 보기 ↗