Skip to content

Commit a5db6e0

Browse files
authored
[image_picker] updated VALID_ARCHS to support iPhone simulator (flutter#2761)
1 parent d3ccc34 commit a5db6e0

File tree

4 files changed

+7
-2
lines changed

4 files changed

+7
-2
lines changed

AUTHORS

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,3 +58,4 @@ Théo Champion <[email protected]>
5858
Kazuki Yamaguchi <[email protected]>
5959
Eitan Schwartz <[email protected]>
6060
Chris Rutkowski <[email protected]>
61+
Juan Alvarez <[email protected]>

packages/image_picker/image_picker/CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
## 0.6.7+4
2+
3+
* Support iOS simulator x86_64 architecture.
4+
15
## 0.6.7+3
26

37
* Fixes to the example app:

packages/image_picker/image_picker/ios/image_picker.podspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ Downloaded by pub (not CocoaPods).
1818
s.public_header_files = 'Classes/**/*.h'
1919
s.dependency 'Flutter'
2020
s.platform = :ios, '8.0'
21-
s.pod_target_xcconfig = { 'DEFINES_MODULE' => 'YES', 'VALID_ARCHS' => 'armv7 arm64 x86_64' }
21+
s.pod_target_xcconfig = { 'DEFINES_MODULE' => 'YES', 'VALID_ARCHS[sdk=iphonesimulator*]' => 'x86_64' }
2222

2323
s.test_spec 'Tests' do |test_spec|
2424
test_spec.source_files = 'Tests/**/*'

packages/image_picker/image_picker/pubspec.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ name: image_picker
22
description: Flutter plugin for selecting images from the Android and iOS image
33
library, and taking new pictures with the camera.
44
homepage: https://github.com/flutter/plugins/tree/master/packages/image_picker/image_picker
5-
version: 0.6.7+3
5+
version: 0.6.7+4
66

77
flutter:
88
plugin:

0 commit comments

Comments
 (0)