[device_info] Define clang module for iOS (#2138)

diff --git a/packages/device_info/CHANGELOG.md b/packages/device_info/CHANGELOG.md
index a3e78c5..62d4960 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 21098c4..47597e0 100644
--- a/packages/device_info/ios/device_info.podspec
+++ b/packages/device_info/ios/device_info.podspec
@@ -15,7 +15,7 @@
   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 566ca1d..bc192a8 100644
--- a/packages/device_info/pubspec.yaml
+++ b/packages/device_info/pubspec.yaml
@@ -3,7 +3,7 @@
   (make, model, etc.), and Android or iOS version the app is running on.
 author: Flutter Team <flutter-dev@googlegroups.com>
 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 30c6011..c3771bb 100755
--- a/script/lint_darwin_plugins.sh
+++ b/script/lint_darwin_plugins.sh
@@ -49,7 +49,6 @@
     'android_intent'
     'battery'
     'connectivity'
-    'device_info'
     'google_maps_flutter'
     'google_sign_in'
     'instrumentation_adapter'