From 93b32f94eae00b88153f118eb7bb7dae014b51eb Mon Sep 17 00:00:00 2001 From: Arthur Monteiro Alves Melo Date: Mon, 8 Jan 2024 10:49:32 -0300 Subject: [PATCH] [iOS]: Allow arm64 simulator (#1405) --- geolocator_apple/CHANGELOG.md | 4 ++++ geolocator_apple/ios/geolocator_apple.podspec | 2 +- geolocator_apple/pubspec.yaml | 2 +- 3 files changed, 6 insertions(+), 2 deletions(-) diff --git a/geolocator_apple/CHANGELOG.md b/geolocator_apple/CHANGELOG.md index b915352b9..2d96f0f75 100644 --- a/geolocator_apple/CHANGELOG.md +++ b/geolocator_apple/CHANGELOG.md @@ -1,3 +1,7 @@ +## 2.3.4 + +* Allows the ARM64 architecture as a valid IPhone simulator architecture. + ## 2.3.3 * Ensures the `[CLLocationManager locationServicesEnabled]` message is called diff --git a/geolocator_apple/ios/geolocator_apple.podspec b/geolocator_apple/ios/geolocator_apple.podspec index e9cf2ed9d..0bf0363de 100644 --- a/geolocator_apple/ios/geolocator_apple.podspec +++ b/geolocator_apple/ios/geolocator_apple.podspec @@ -20,5 +20,5 @@ Pod::Spec.new do |s| s.platform = :ios, '8.0' # Flutter.framework does not contain a i386 slice. Only x86_64 simulators are supported. - s.pod_target_xcconfig = { 'DEFINES_MODULE' => 'YES', 'VALID_ARCHS[sdk=iphonesimulator*]' => 'x86_64' } + s.pod_target_xcconfig = { 'DEFINES_MODULE' => 'YES', 'EXCLUDED_ARCHS[sdk=iphonesimulator*]' => 'i386'} end diff --git a/geolocator_apple/pubspec.yaml b/geolocator_apple/pubspec.yaml index d44528774..c5f64677b 100644 --- a/geolocator_apple/pubspec.yaml +++ b/geolocator_apple/pubspec.yaml @@ -2,7 +2,7 @@ name: geolocator_apple description: Geolocation Apple plugin for Flutter. This plugin provides the Apple implementation for the geolocator. repository: https://github.com/baseflow/flutter-geolocator/tree/main/geolocator_apple issue_tracker: https://github.com/baseflow/flutter-geolocator/issues?q=is%3Aissue+is%3Aopen -version: 2.3.3 +version: 2.3.4 environment: sdk: ">=2.15.0 <4.0.0"