diff --git a/packages/battery/CHANGELOG.md b/packages/battery/CHANGELOG.md index 6777b98c4ab5..5c9073652913 100644 --- a/packages/battery/CHANGELOG.md +++ b/packages/battery/CHANGELOG.md @@ -1,3 +1,7 @@ +## 0.3.0+6 + +* Define clang module for iOS. + ## 0.3.0+5 * Fix Gradle version. diff --git a/packages/battery/ios/battery.podspec b/packages/battery/ios/battery.podspec index fc58888b7bf8..86db7c2b9dec 100644 --- a/packages/battery/ios/battery.podspec +++ b/packages/battery/ios/battery.podspec @@ -15,6 +15,7 @@ Flutter plugin for accessing information about the battery. s.source_files = 'Classes/**/*' s.public_header_files = 'Classes/**/*.h' s.dependency 'Flutter' - - s.ios.deployment_target = '8.0' + + s.platform = :ios, '8.0' + s.pod_target_xcconfig = { 'DEFINES_MODULE' => 'YES', 'VALID_ARCHS[sdk=iphonesimulator*]' => 'x86_64' } end diff --git a/packages/battery/pubspec.yaml b/packages/battery/pubspec.yaml index 56a70b18f552..c6a3f8837a41 100644 --- a/packages/battery/pubspec.yaml +++ b/packages/battery/pubspec.yaml @@ -3,7 +3,7 @@ description: Flutter plugin for accessing information about the battery state (full, charging, discharging) on Android and iOS. author: Flutter Team homepage: https://github.com/flutter/plugins/tree/master/packages/battery -version: 0.3.0+5 +version: 0.3.0+6 flutter: plugin: diff --git a/script/lint_darwin_plugins.sh b/script/lint_darwin_plugins.sh index 212ed0bddcde..29f78d1f9738 100755 --- a/script/lint_darwin_plugins.sh +++ b/script/lint_darwin_plugins.sh @@ -53,7 +53,6 @@ function lint_packages() { # TODO: These packages have linter errors. Remove plugins from this list as linter issues are fixed. local skipped_packages=( - 'battery' 'google_maps_flutter' 'google_sign_in' 'share'