diff --git a/packages/device_info/CHANGELOG.md b/packages/device_info/CHANGELOG.md index a3e78c5e1d5d..62d4960dc73b 100644 --- a/packages/device_info/CHANGELOG.md +++ b/packages/device_info/CHANGELOG.md @@ -1,3 +1,7 @@ +## 0.4.0+4 + +* Define clang module for iOS. + ## 0.4.0+3 * Update and migrate iOS example project. diff --git a/packages/device_info/ios/device_info.podspec b/packages/device_info/ios/device_info.podspec index 21098c4e548f..47597e0d1870 100644 --- a/packages/device_info/ios/device_info.podspec +++ b/packages/device_info/ios/device_info.podspec @@ -15,7 +15,7 @@ A new flutter plugin project. 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/device_info/pubspec.yaml b/packages/device_info/pubspec.yaml index 566ca1da4c52..bc192a87c96e 100644 --- a/packages/device_info/pubspec.yaml +++ b/packages/device_info/pubspec.yaml @@ -3,7 +3,7 @@ description: Flutter plugin providing detailed information about the device (make, model, etc.), and Android or iOS version the app is running on. author: Flutter Team homepage: https://github.com/flutter/plugins/tree/master/packages/device_info -version: 0.4.0+3 +version: 0.4.0+4 flutter: plugin: diff --git a/script/lint_darwin_plugins.sh b/script/lint_darwin_plugins.sh index 30c601191978..c3771bb744ab 100755 --- a/script/lint_darwin_plugins.sh +++ b/script/lint_darwin_plugins.sh @@ -49,7 +49,6 @@ function lint_packages() { 'android_intent' 'battery' 'connectivity' - 'device_info' 'google_maps_flutter' 'google_sign_in' 'instrumentation_adapter'