Skip to content

Commit 1c0346d

Browse files
jmagmanPark Sung Min
authored and
Park Sung Min
committed
[device_info] Define clang module for iOS (flutter#2138)
1 parent 3296390 commit 1c0346d

File tree

4 files changed

+7
-4
lines changed

4 files changed

+7
-4
lines changed

packages/device_info/CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
## 0.4.0+4
2+
3+
* Define clang module for iOS.
4+
15
## 0.4.0+3
26

37
* Update and migrate iOS example project.

packages/device_info/ios/device_info.podspec

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ A new flutter plugin project.
1515
s.source_files = 'Classes/**/*'
1616
s.public_header_files = 'Classes/**/*.h'
1717
s.dependency 'Flutter'
18-
19-
s.ios.deployment_target = '8.0'
18+
s.platform = :ios, '8.0'
19+
s.pod_target_xcconfig = { 'DEFINES_MODULE' => 'YES', 'VALID_ARCHS[sdk=iphonesimulator*]' => 'x86_64' }
2020
end
2121

packages/device_info/pubspec.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ description: Flutter plugin providing detailed information about the device
33
(make, model, etc.), and Android or iOS version the app is running on.
44
author: Flutter Team <[email protected]>
55
homepage: https://github.com/flutter/plugins/tree/master/packages/device_info
6-
version: 0.4.0+3
6+
version: 0.4.0+4
77

88
flutter:
99
plugin:

script/lint_darwin_plugins.sh

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,6 @@ function lint_packages() {
4949
'android_intent'
5050
'battery'
5151
'connectivity'
52-
'device_info'
5352
'google_maps_flutter'
5453
'google_sign_in'
5554
'instrumentation_adapter'

0 commit comments

Comments
 (0)