diff --git a/CHANGELOG.md b/CHANGELOG.md index 530e023..032770a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,11 @@ # Changelog +## 1.0.3 +- Updated iOS dependencies to resolve version conflicts with Firebase and Google Sign-In +- Updated GoogleMLKit/TextRecognition to version ~> 3.2.0 for better compatibility +- Updated minimum iOS deployment target to 12.0 in podspec to match README requirements +- Improved iOS simulator architecture support for Apple Silicon Macs + ## 1.0.2 - upgraded gradle versions and compatibility versions to support newer versions of dart & flutter sdk diff --git a/example/ios/Podfile.lock b/example/ios/Podfile.lock deleted file mode 100644 index a39d1fe..0000000 --- a/example/ios/Podfile.lock +++ /dev/null @@ -1,103 +0,0 @@ -PODS: - - card_scanner (0.0.1): - - Flutter - - GoogleMLKit/TextRecognition - - Flutter (1.0.0) - - GoogleDataTransport (8.2.0): - - nanopb (~> 2.30907.0) - - GoogleMLKit/MLKitCore (2.0.0): - - MLKitCommon (~> 2.0.0) - - GoogleMLKit/TextRecognition (2.0.0): - - GoogleMLKit/MLKitCore - - MLKitTextRecognition (~> 1.1.0) - - GoogleToolboxForMac/DebugUtils (2.3.1): - - GoogleToolboxForMac/Defines (= 2.3.1) - - GoogleToolboxForMac/Defines (2.3.1) - - GoogleToolboxForMac/Logger (2.3.1): - - GoogleToolboxForMac/Defines (= 2.3.1) - - "GoogleToolboxForMac/NSData+zlib (2.3.1)": - - GoogleToolboxForMac/Defines (= 2.3.1) - - "GoogleToolboxForMac/NSDictionary+URLArguments (2.3.1)": - - GoogleToolboxForMac/DebugUtils (= 2.3.1) - - GoogleToolboxForMac/Defines (= 2.3.1) - - "GoogleToolboxForMac/NSString+URLArguments (= 2.3.1)" - - "GoogleToolboxForMac/NSString+URLArguments (2.3.1)" - - GoogleUtilities/Environment (7.2.2): - - PromisesObjC (~> 1.2) - - GoogleUtilities/Logger (7.2.2): - - GoogleUtilities/Environment - - GoogleUtilities/UserDefaults (7.2.2): - - GoogleUtilities/Logger - - GoogleUtilitiesComponents (1.0.0): - - GoogleUtilities/Logger - - GTMSessionFetcher/Core (1.5.0) - - MLKitCommon (2.0.0): - - GoogleDataTransport (~> 8.0) - - GoogleToolboxForMac/Logger (~> 2.1) - - "GoogleToolboxForMac/NSData+zlib (~> 2.1)" - - "GoogleToolboxForMac/NSDictionary+URLArguments (~> 2.1)" - - GoogleUtilities/UserDefaults (~> 7.0) - - GoogleUtilitiesComponents (~> 1.0) - - GTMSessionFetcher/Core (~> 1.1) - - Protobuf (~> 3.12) - - MLKitTextRecognition (1.1.0): - - MLKitCommon (~> 2.0) - - MLKitVision (~> 1.1) - - MLKitVision (1.1.0): - - GoogleToolboxForMac/Logger (~> 2.1) - - "GoogleToolboxForMac/NSData+zlib (~> 2.1)" - - GTMSessionFetcher/Core (~> 1.1) - - MLKitCommon (~> 2.0) - - Protobuf (~> 3.12) - - nanopb (2.30907.0): - - nanopb/decode (= 2.30907.0) - - nanopb/encode (= 2.30907.0) - - nanopb/decode (2.30907.0) - - nanopb/encode (2.30907.0) - - PromisesObjC (1.2.12) - - Protobuf (3.14.0) - -DEPENDENCIES: - - card_scanner (from `.symlinks/plugins/card_scanner/ios`) - - Flutter (from `Flutter`) - -SPEC REPOS: - trunk: - - GoogleDataTransport - - GoogleMLKit - - GoogleToolboxForMac - - GoogleUtilities - - GoogleUtilitiesComponents - - GTMSessionFetcher - - MLKitCommon - - MLKitTextRecognition - - MLKitVision - - nanopb - - PromisesObjC - - Protobuf - -EXTERNAL SOURCES: - card_scanner: - :path: ".symlinks/plugins/card_scanner/ios" - Flutter: - :path: Flutter - -SPEC CHECKSUMS: - card_scanner: 2ef22da164d7fc6dba57c41bf8757fd5fda53c9f - Flutter: 0e3d915762c693b495b44d77113d4970485de6ec - GoogleDataTransport: 1024b1a4dfbd7a0e92cb20d7e0a6f1fb66b449a4 - GoogleMLKit: 2a9032170872c4464d516700a04661d6e5b98a77 - GoogleToolboxForMac: 471e0c05d39506e50e6398f46fa9a12ae0efeff9 - GoogleUtilities: 31c5b01f978a70c6cff2afc6272b3f1921614b43 - GoogleUtilitiesComponents: a69c0b3b369ba443e988141e75ef49d9010b1c80 - GTMSessionFetcher: b3503b20a988c4e20cc189aa798fd18220133f52 - MLKitCommon: 746a9b06e05a6a5dc9636a8ea376c3145f0a5338 - MLKitTextRecognition: a04dace82086c321e2201fd21542971645c47279 - MLKitVision: d8152c0ecdefb17ab680be0457f90ce9f3544f43 - nanopb: 59221d7f958fb711001e6a449489542d92ae113e - PromisesObjC: 3113f7f76903778cf4a0586bd1ab89329a0b7b97 - Protobuf: 0cde852566359049847168e51bd1c690e0f70056 - -PODFILE CHECKSUM: 4e8f8b2be68aeea4c0d5beb6ff1e79fface1d048 - -COCOAPODS: 1.10.1 diff --git a/ios/card_scanner.podspec b/ios/card_scanner.podspec index 17b4a5d..5b2d1d7 100644 --- a/ios/card_scanner.podspec +++ b/ios/card_scanner.podspec @@ -17,11 +17,11 @@ A new Flutter plugin. s.source_files = 'Classes/**/*' s.resources = 'Assets/*.png' s.dependency 'Flutter' - s.dependency 'GoogleMLKit/TextRecognition' - s.platform = :ios, '10.0' + s.dependency 'GoogleMLKit/TextRecognition', '~> 3.2.0' + s.platform = :ios, '12.0' s.static_framework = true - # 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' } + # Flutter.framework supports both x86_64 and arm64 simulators. + s.pod_target_xcconfig = { 'DEFINES_MODULE' => 'YES', 'EXCLUDED_ARCHS[sdk=iphonesimulator*]' => 'i386' } s.swift_version = '5.0' end diff --git a/pubspec.yaml b/pubspec.yaml index 57f4e7f..ae0bf7d 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -1,6 +1,6 @@ name: card_scanner description: Fast, Accurate and Secure Credit & Debit card scanning library for flutter. -version: 1.0.2 +version: 1.0.3 homepage: https://github.com/nateshmbhat/card-scanner-flutter repository: https://github.com/nateshmbhat/card-scanner-flutter