diff --git a/.github/workflows/ios.yml b/.github/workflows/ios.yml index 62c25ac35..7f7bf5887 100644 --- a/.github/workflows/ios.yml +++ b/.github/workflows/ios.yml @@ -185,7 +185,7 @@ jobs: diagnostics="$RUNNER_TEMP/ios-test-diagnostics" bash tool/dev/test_ios.sh \ -parallel-testing-enabled NO \ - -derivedDataPath "$RUNNER_TEMP/RunnerTests-DerivedData" \ + -derivedDataPath "$RUNNER_TEMP/iOS-DerivedData" \ -resultBundlePath "$diagnostics/RunnerTests.xcresult" \ 2>&1 | tee "$diagnostics/RunnerTests.log" || { codes=("${PIPESTATUS[@]}") @@ -205,7 +205,7 @@ jobs: diagnostics="$RUNNER_TEMP/ios-test-diagnostics" bash tool/dev/test_widget_ui.sh \ -parallel-testing-enabled NO \ - -derivedDataPath "$RUNNER_TEMP/WidgetFixtureUITests-DerivedData" \ + -derivedDataPath "$RUNNER_TEMP/iOS-DerivedData" \ -clonedSourcePackagesDirPath build/ios/SourcePackages \ -resultBundlePath "$diagnostics/WidgetFixtureUITests.xcresult" \ 2>&1 | tee "$diagnostics/WidgetFixtureUITests.log" || { diff --git a/ios/Runner/AccelerometerPlugin.swift b/ios/Runner/AccelerometerPlugin.swift index 78f09a377..95e64b585 100644 --- a/ios/Runner/AccelerometerPlugin.swift +++ b/ios/Runner/AccelerometerPlugin.swift @@ -23,7 +23,7 @@ import Foundation /// cannot start, `onListen` returns `FlutterError` code `unavailable`. public class AccelerometerPlugin: NSObject, FlutterPlugin, FlutterStreamHandler { /// 1 g = 9.80665 m/s² = 980.665 gal. - private static let galsPerG = 980.665 + private static let galsPerG = 980.665 private static let sampleInterval: TimeInterval = 0.02 private static let flushInterval: TimeInterval = 0.1