From 7391d3017341d43b6afdea4d7c87aaa3aeafcbd2 Mon Sep 17 00:00:00 2001 From: Dmitry Zakharov Date: Thu, 16 Jul 2026 22:03:47 +0300 Subject: [PATCH 1/2] feat: SPM migration for all packages --- .../xcshareddata/swiftpm/Package.resolved | 5 +++-- .../xcshareddata/swiftpm/Package.resolved | 5 +++-- .../ios/google_mlkit_barcode_scanning/Package.swift | 4 ++-- packages/google_mlkit_barcode_scanning/pubspec.yaml | 2 ++ .../ios/google_mlkit_commons/Package.resolved | 6 +++--- .../ios/google_mlkit_commons/Package.swift | 4 ++-- packages/google_mlkit_commons/pubspec.yaml | 2 ++ .../google_mlkit_digital_ink_recognition/Package.resolved | 4 ++-- packages/google_mlkit_digital_ink_recognition/pubspec.yaml | 2 ++ packages/google_mlkit_document_scanner/pubspec.yaml | 2 ++ .../ios/google_mlkit_entity_extraction/Package.resolved | 4 ++-- packages/google_mlkit_entity_extraction/pubspec.yaml | 2 ++ .../ios/google_mlkit_face_detection/Package.swift | 4 ++-- packages/google_mlkit_face_detection/pubspec.yaml | 2 ++ .../ios/google_mlkit_face_mesh_detection/Package.resolved | 4 ++-- packages/google_mlkit_face_mesh_detection/pubspec.yaml | 2 ++ packages/google_mlkit_genai_image_description/pubspec.yaml | 2 ++ .../ios/google_mlkit_genai_prompt/Package.swift | 2 +- packages/google_mlkit_genai_prompt/pubspec.yaml | 2 ++ .../ios/google_mlkit_genai_proofreading/Package.swift | 2 +- packages/google_mlkit_genai_proofreading/pubspec.yaml | 2 ++ packages/google_mlkit_genai_rewriting/pubspec.yaml | 2 ++ .../ios/google_mlkit_genai_speech_recognition/Package.swift | 2 +- packages/google_mlkit_genai_speech_recognition/pubspec.yaml | 2 ++ .../ios/google_mlkit_genai_summarization/Package.swift | 2 +- packages/google_mlkit_genai_summarization/pubspec.yaml | 2 ++ .../ios/google_mlkit_image_labeling/Package.swift | 4 ++-- packages/google_mlkit_image_labeling/pubspec.yaml | 2 ++ .../ios/google_mlkit_language_id/Package.swift | 4 ++-- packages/google_mlkit_language_id/pubspec.yaml | 2 ++ .../ios/google_mlkit_object_detection/Package.swift | 4 ++-- packages/google_mlkit_object_detection/pubspec.yaml | 2 ++ .../ios/google_mlkit_pose_detection/Package.swift | 4 ++-- packages/google_mlkit_pose_detection/pubspec.yaml | 2 ++ .../ios/google_mlkit_selfie_segmentation/Package.swift | 4 ++-- packages/google_mlkit_selfie_segmentation/pubspec.yaml | 2 ++ .../ios/google_mlkit_smart_reply/Package.swift | 4 ++-- packages/google_mlkit_smart_reply/pubspec.yaml | 2 ++ .../ios/google_mlkit_subject_segmentation/Package.swift | 2 +- packages/google_mlkit_subject_segmentation/pubspec.yaml | 2 ++ .../ios/google_mlkit_text_recognition/Package.swift | 4 ++-- packages/google_mlkit_text_recognition/pubspec.yaml | 2 ++ .../ios/google_mlkit_translation/Package.swift | 4 ++-- packages/google_mlkit_translation/pubspec.yaml | 2 ++ 44 files changed, 86 insertions(+), 40 deletions(-) diff --git a/packages/example/ios/Runner.xcodeproj/project.xcworkspace/xcshareddata/swiftpm/Package.resolved b/packages/example/ios/Runner.xcodeproj/project.xcworkspace/xcshareddata/swiftpm/Package.resolved index 593689ec..4ab12333 100644 --- a/packages/example/ios/Runner.xcodeproj/project.xcworkspace/xcshareddata/swiftpm/Package.resolved +++ b/packages/example/ios/Runner.xcodeproj/project.xcworkspace/xcshareddata/swiftpm/Package.resolved @@ -3,9 +3,10 @@ { "identity" : "google-mlkit-swiftpm", "kind" : "remoteSourceControl", - "location" : "https://github.com/arrrrny/google-mlkit-swiftpm", + "location" : "https://github.com/mdata-group/google-mlkit-swiftpm", "state" : { - "revision" : "617e67690b277b7d2063c2e4f367bd0155ee79c0" + "revision" : "9f25322b887502499c80a7f083de14aea55d34ef", + "version" : "9.0.0-simfix2" } }, { diff --git a/packages/example/ios/Runner.xcworkspace/xcshareddata/swiftpm/Package.resolved b/packages/example/ios/Runner.xcworkspace/xcshareddata/swiftpm/Package.resolved index 593689ec..4ab12333 100644 --- a/packages/example/ios/Runner.xcworkspace/xcshareddata/swiftpm/Package.resolved +++ b/packages/example/ios/Runner.xcworkspace/xcshareddata/swiftpm/Package.resolved @@ -3,9 +3,10 @@ { "identity" : "google-mlkit-swiftpm", "kind" : "remoteSourceControl", - "location" : "https://github.com/arrrrny/google-mlkit-swiftpm", + "location" : "https://github.com/mdata-group/google-mlkit-swiftpm", "state" : { - "revision" : "617e67690b277b7d2063c2e4f367bd0155ee79c0" + "revision" : "9f25322b887502499c80a7f083de14aea55d34ef", + "version" : "9.0.0-simfix2" } }, { diff --git a/packages/google_mlkit_barcode_scanning/ios/google_mlkit_barcode_scanning/Package.swift b/packages/google_mlkit_barcode_scanning/ios/google_mlkit_barcode_scanning/Package.swift index 0c45ac85..21805dc6 100644 --- a/packages/google_mlkit_barcode_scanning/ios/google_mlkit_barcode_scanning/Package.swift +++ b/packages/google_mlkit_barcode_scanning/ios/google_mlkit_barcode_scanning/Package.swift @@ -15,8 +15,8 @@ let package = Package( dependencies: [ .package(path: "../../../google_mlkit_commons/ios/google_mlkit_commons"), .package( - url: "https://github.com/arrrrny/google-mlkit-swiftpm", - revision: "617e67690b277b7d2063c2e4f367bd0155ee79c0" + url: "https://github.com/mdata-group/google-mlkit-swiftpm", + exact: "9.0.0-simfix2" ) ], targets: [ diff --git a/packages/google_mlkit_barcode_scanning/pubspec.yaml b/packages/google_mlkit_barcode_scanning/pubspec.yaml index 9a38d4f1..6bf1f611 100644 --- a/packages/google_mlkit_barcode_scanning/pubspec.yaml +++ b/packages/google_mlkit_barcode_scanning/pubspec.yaml @@ -26,3 +26,5 @@ flutter: pluginClass: GoogleMlKitBarcodeScanningPlugin ios: pluginClass: GoogleMlKitBarcodeScanningPlugin + swiftPackage: + path: ios/google_mlkit_barcode_scanning diff --git a/packages/google_mlkit_commons/ios/google_mlkit_commons/Package.resolved b/packages/google_mlkit_commons/ios/google_mlkit_commons/Package.resolved index baae6c50..4ab12333 100644 --- a/packages/google_mlkit_commons/ios/google_mlkit_commons/Package.resolved +++ b/packages/google_mlkit_commons/ios/google_mlkit_commons/Package.resolved @@ -3,10 +3,10 @@ { "identity" : "google-mlkit-swiftpm", "kind" : "remoteSourceControl", - "location" : "https://github.com/arrrrny/google-mlkit-swiftpm", + "location" : "https://github.com/mdata-group/google-mlkit-swiftpm", "state" : { - "revision" : "83e2f4e1ea4ce0986979ee7b2bbbfa7bd9ddf576", - "version" : "9.0.0-textfix5" + "revision" : "9f25322b887502499c80a7f083de14aea55d34ef", + "version" : "9.0.0-simfix2" } }, { diff --git a/packages/google_mlkit_commons/ios/google_mlkit_commons/Package.swift b/packages/google_mlkit_commons/ios/google_mlkit_commons/Package.swift index 6988867b..604c14c1 100644 --- a/packages/google_mlkit_commons/ios/google_mlkit_commons/Package.swift +++ b/packages/google_mlkit_commons/ios/google_mlkit_commons/Package.swift @@ -14,8 +14,8 @@ let package = Package( ], dependencies: [ .package( - url: "https://github.com/arrrrny/google-mlkit-swiftpm", - revision: "617e67690b277b7d2063c2e4f367bd0155ee79c0" + url: "https://github.com/mdata-group/google-mlkit-swiftpm", + exact: "9.0.0-simfix2" ) ], targets: [ diff --git a/packages/google_mlkit_commons/pubspec.yaml b/packages/google_mlkit_commons/pubspec.yaml index 2b5942e8..41e855a8 100644 --- a/packages/google_mlkit_commons/pubspec.yaml +++ b/packages/google_mlkit_commons/pubspec.yaml @@ -25,3 +25,5 @@ flutter: pluginClass: GoogleMlKitCommonsPlugin ios: pluginClass: GoogleMlKitCommonsPlugin + swiftPackage: + path: ios/google_mlkit_commons diff --git a/packages/google_mlkit_digital_ink_recognition/ios/google_mlkit_digital_ink_recognition/Package.resolved b/packages/google_mlkit_digital_ink_recognition/ios/google_mlkit_digital_ink_recognition/Package.resolved index 593689ec..885c1038 100644 --- a/packages/google_mlkit_digital_ink_recognition/ios/google_mlkit_digital_ink_recognition/Package.resolved +++ b/packages/google_mlkit_digital_ink_recognition/ios/google_mlkit_digital_ink_recognition/Package.resolved @@ -3,9 +3,9 @@ { "identity" : "google-mlkit-swiftpm", "kind" : "remoteSourceControl", - "location" : "https://github.com/arrrrny/google-mlkit-swiftpm", + "location" : "https://github.com/mdata-group/google-mlkit-swiftpm", "state" : { - "revision" : "617e67690b277b7d2063c2e4f367bd0155ee79c0" + "revision" : "9f25322b887502499c80a7f083de14aea55d34ef" } }, { diff --git a/packages/google_mlkit_digital_ink_recognition/pubspec.yaml b/packages/google_mlkit_digital_ink_recognition/pubspec.yaml index 462f78ec..d9e62308 100644 --- a/packages/google_mlkit_digital_ink_recognition/pubspec.yaml +++ b/packages/google_mlkit_digital_ink_recognition/pubspec.yaml @@ -26,3 +26,5 @@ flutter: pluginClass: GoogleMlKitDigitalInkRecognitionPlugin ios: pluginClass: GoogleMlKitDigitalInkRecognitionPlugin + swiftPackage: + path: ios/google_mlkit_digital_ink_recognition diff --git a/packages/google_mlkit_document_scanner/pubspec.yaml b/packages/google_mlkit_document_scanner/pubspec.yaml index 193d8bfa..a3755aa9 100644 --- a/packages/google_mlkit_document_scanner/pubspec.yaml +++ b/packages/google_mlkit_document_scanner/pubspec.yaml @@ -25,3 +25,5 @@ flutter: pluginClass: GoogleMlKitDocumentScannerPlugin ios: pluginClass: GoogleMlKitDocumentScannerPlugin + swiftPackage: + path: ios/google_mlkit_document_scanner diff --git a/packages/google_mlkit_entity_extraction/ios/google_mlkit_entity_extraction/Package.resolved b/packages/google_mlkit_entity_extraction/ios/google_mlkit_entity_extraction/Package.resolved index 593689ec..885c1038 100644 --- a/packages/google_mlkit_entity_extraction/ios/google_mlkit_entity_extraction/Package.resolved +++ b/packages/google_mlkit_entity_extraction/ios/google_mlkit_entity_extraction/Package.resolved @@ -3,9 +3,9 @@ { "identity" : "google-mlkit-swiftpm", "kind" : "remoteSourceControl", - "location" : "https://github.com/arrrrny/google-mlkit-swiftpm", + "location" : "https://github.com/mdata-group/google-mlkit-swiftpm", "state" : { - "revision" : "617e67690b277b7d2063c2e4f367bd0155ee79c0" + "revision" : "9f25322b887502499c80a7f083de14aea55d34ef" } }, { diff --git a/packages/google_mlkit_entity_extraction/pubspec.yaml b/packages/google_mlkit_entity_extraction/pubspec.yaml index 47ba01e0..370eb23b 100644 --- a/packages/google_mlkit_entity_extraction/pubspec.yaml +++ b/packages/google_mlkit_entity_extraction/pubspec.yaml @@ -26,3 +26,5 @@ flutter: pluginClass: GoogleMlKitEntityExtractionPlugin ios: pluginClass: GoogleMlKitEntityExtractionPlugin + swiftPackage: + path: ios/google_mlkit_entity_extraction diff --git a/packages/google_mlkit_face_detection/ios/google_mlkit_face_detection/Package.swift b/packages/google_mlkit_face_detection/ios/google_mlkit_face_detection/Package.swift index 2f7b3eb5..9a8db1b8 100644 --- a/packages/google_mlkit_face_detection/ios/google_mlkit_face_detection/Package.swift +++ b/packages/google_mlkit_face_detection/ios/google_mlkit_face_detection/Package.swift @@ -15,8 +15,8 @@ let package = Package( dependencies: [ .package(path: "../../../google_mlkit_commons/ios/google_mlkit_commons"), .package( - url: "https://github.com/arrrrny/google-mlkit-swiftpm", - revision: "617e67690b277b7d2063c2e4f367bd0155ee79c0" + url: "https://github.com/mdata-group/google-mlkit-swiftpm", + exact: "9.0.0-simfix2" ) ], targets: [ diff --git a/packages/google_mlkit_face_detection/pubspec.yaml b/packages/google_mlkit_face_detection/pubspec.yaml index ea1bd282..7ee99277 100644 --- a/packages/google_mlkit_face_detection/pubspec.yaml +++ b/packages/google_mlkit_face_detection/pubspec.yaml @@ -26,3 +26,5 @@ flutter: pluginClass: GoogleMlKitFaceDetectionPlugin ios: pluginClass: GoogleMlKitFaceDetectionPlugin + swiftPackage: + path: ios/google_mlkit_face_detection diff --git a/packages/google_mlkit_face_mesh_detection/ios/google_mlkit_face_mesh_detection/Package.resolved b/packages/google_mlkit_face_mesh_detection/ios/google_mlkit_face_mesh_detection/Package.resolved index 593689ec..885c1038 100644 --- a/packages/google_mlkit_face_mesh_detection/ios/google_mlkit_face_mesh_detection/Package.resolved +++ b/packages/google_mlkit_face_mesh_detection/ios/google_mlkit_face_mesh_detection/Package.resolved @@ -3,9 +3,9 @@ { "identity" : "google-mlkit-swiftpm", "kind" : "remoteSourceControl", - "location" : "https://github.com/arrrrny/google-mlkit-swiftpm", + "location" : "https://github.com/mdata-group/google-mlkit-swiftpm", "state" : { - "revision" : "617e67690b277b7d2063c2e4f367bd0155ee79c0" + "revision" : "9f25322b887502499c80a7f083de14aea55d34ef" } }, { diff --git a/packages/google_mlkit_face_mesh_detection/pubspec.yaml b/packages/google_mlkit_face_mesh_detection/pubspec.yaml index e2c37e90..14ed91e6 100644 --- a/packages/google_mlkit_face_mesh_detection/pubspec.yaml +++ b/packages/google_mlkit_face_mesh_detection/pubspec.yaml @@ -26,3 +26,5 @@ flutter: pluginClass: GoogleMlKitFaceMeshDetectionPlugin ios: pluginClass: GoogleMlKitFaceMeshDetectionPlugin + swiftPackage: + path: ios/google_mlkit_face_mesh_detection diff --git a/packages/google_mlkit_genai_image_description/pubspec.yaml b/packages/google_mlkit_genai_image_description/pubspec.yaml index fafc79c8..57e7f2ed 100644 --- a/packages/google_mlkit_genai_image_description/pubspec.yaml +++ b/packages/google_mlkit_genai_image_description/pubspec.yaml @@ -26,3 +26,5 @@ flutter: pluginClass: GoogleMlKitGenaiImageDescriptionPlugin ios: pluginClass: GoogleMlKitGenaiImageDescriptionPlugin + swiftPackage: + path: ios/google_mlkit_genai_image_description diff --git a/packages/google_mlkit_genai_prompt/ios/google_mlkit_genai_prompt/Package.swift b/packages/google_mlkit_genai_prompt/ios/google_mlkit_genai_prompt/Package.swift index d68d43d3..9c11009b 100644 --- a/packages/google_mlkit_genai_prompt/ios/google_mlkit_genai_prompt/Package.swift +++ b/packages/google_mlkit_genai_prompt/ios/google_mlkit_genai_prompt/Package.swift @@ -13,7 +13,7 @@ let package = Package( targets: ["google_mlkit_genai_prompt"]) ], dependencies: [ - + ], targets: [ .target( diff --git a/packages/google_mlkit_genai_prompt/pubspec.yaml b/packages/google_mlkit_genai_prompt/pubspec.yaml index 61fa7191..465adb8c 100644 --- a/packages/google_mlkit_genai_prompt/pubspec.yaml +++ b/packages/google_mlkit_genai_prompt/pubspec.yaml @@ -26,3 +26,5 @@ flutter: pluginClass: GoogleMlKitGenaiPromptPlugin ios: pluginClass: GoogleMlKitGenaiPromptPlugin + swiftPackage: + path: ios/google_mlkit_genai_prompt diff --git a/packages/google_mlkit_genai_proofreading/ios/google_mlkit_genai_proofreading/Package.swift b/packages/google_mlkit_genai_proofreading/ios/google_mlkit_genai_proofreading/Package.swift index c6172b00..c4b215d0 100644 --- a/packages/google_mlkit_genai_proofreading/ios/google_mlkit_genai_proofreading/Package.swift +++ b/packages/google_mlkit_genai_proofreading/ios/google_mlkit_genai_proofreading/Package.swift @@ -13,7 +13,7 @@ let package = Package( targets: ["google_mlkit_genai_proofreading"]) ], dependencies: [ - + ], targets: [ .target( diff --git a/packages/google_mlkit_genai_proofreading/pubspec.yaml b/packages/google_mlkit_genai_proofreading/pubspec.yaml index 2d06ce10..eab9b15b 100644 --- a/packages/google_mlkit_genai_proofreading/pubspec.yaml +++ b/packages/google_mlkit_genai_proofreading/pubspec.yaml @@ -26,3 +26,5 @@ flutter: pluginClass: GoogleMlKitGenaiProofreadingPlugin ios: pluginClass: GoogleMlKitGenaiProofreadingPlugin + swiftPackage: + path: ios/google_mlkit_genai_proofreading diff --git a/packages/google_mlkit_genai_rewriting/pubspec.yaml b/packages/google_mlkit_genai_rewriting/pubspec.yaml index 6282d6ce..b2a63e13 100644 --- a/packages/google_mlkit_genai_rewriting/pubspec.yaml +++ b/packages/google_mlkit_genai_rewriting/pubspec.yaml @@ -26,3 +26,5 @@ flutter: pluginClass: GoogleMlKitGenaiRewritingPlugin ios: pluginClass: GoogleMlKitGenaiRewritingPlugin + swiftPackage: + path: ios/google_mlkit_genai_rewriting diff --git a/packages/google_mlkit_genai_speech_recognition/ios/google_mlkit_genai_speech_recognition/Package.swift b/packages/google_mlkit_genai_speech_recognition/ios/google_mlkit_genai_speech_recognition/Package.swift index 33495403..cd6d478d 100644 --- a/packages/google_mlkit_genai_speech_recognition/ios/google_mlkit_genai_speech_recognition/Package.swift +++ b/packages/google_mlkit_genai_speech_recognition/ios/google_mlkit_genai_speech_recognition/Package.swift @@ -13,7 +13,7 @@ let package = Package( targets: ["google_mlkit_genai_speech_recognition"]) ], dependencies: [ - + ], targets: [ .target( diff --git a/packages/google_mlkit_genai_speech_recognition/pubspec.yaml b/packages/google_mlkit_genai_speech_recognition/pubspec.yaml index 5be2750f..c8f51824 100644 --- a/packages/google_mlkit_genai_speech_recognition/pubspec.yaml +++ b/packages/google_mlkit_genai_speech_recognition/pubspec.yaml @@ -26,3 +26,5 @@ flutter: pluginClass: GoogleMlKitGenaiSpeechRecognitionPlugin ios: pluginClass: GoogleMlKitGenaiSpeechRecognitionPlugin + swiftPackage: + path: ios/google_mlkit_genai_speech_recognition diff --git a/packages/google_mlkit_genai_summarization/ios/google_mlkit_genai_summarization/Package.swift b/packages/google_mlkit_genai_summarization/ios/google_mlkit_genai_summarization/Package.swift index 9cc40608..f9cf9cb5 100644 --- a/packages/google_mlkit_genai_summarization/ios/google_mlkit_genai_summarization/Package.swift +++ b/packages/google_mlkit_genai_summarization/ios/google_mlkit_genai_summarization/Package.swift @@ -13,7 +13,7 @@ let package = Package( targets: ["google_mlkit_genai_summarization"]) ], dependencies: [ - + ], targets: [ .target( diff --git a/packages/google_mlkit_genai_summarization/pubspec.yaml b/packages/google_mlkit_genai_summarization/pubspec.yaml index a00d3634..e28cafca 100644 --- a/packages/google_mlkit_genai_summarization/pubspec.yaml +++ b/packages/google_mlkit_genai_summarization/pubspec.yaml @@ -26,3 +26,5 @@ flutter: pluginClass: GoogleMlKitGenaiSummarizationPlugin ios: pluginClass: GoogleMlKitGenaiSummarizationPlugin + swiftPackage: + path: ios/google_mlkit_genai_summarization diff --git a/packages/google_mlkit_image_labeling/ios/google_mlkit_image_labeling/Package.swift b/packages/google_mlkit_image_labeling/ios/google_mlkit_image_labeling/Package.swift index f45d26ed..3d6e5cf3 100644 --- a/packages/google_mlkit_image_labeling/ios/google_mlkit_image_labeling/Package.swift +++ b/packages/google_mlkit_image_labeling/ios/google_mlkit_image_labeling/Package.swift @@ -15,8 +15,8 @@ let package = Package( dependencies: [ .package(path: "../../../google_mlkit_commons/ios/google_mlkit_commons"), .package( - url: "https://github.com/arrrrny/google-mlkit-swiftpm", - revision: "617e67690b277b7d2063c2e4f367bd0155ee79c0" + url: "https://github.com/mdata-group/google-mlkit-swiftpm", + exact: "9.0.0-simfix2" ) ], targets: [ diff --git a/packages/google_mlkit_image_labeling/pubspec.yaml b/packages/google_mlkit_image_labeling/pubspec.yaml index 6e623094..1cdfb629 100644 --- a/packages/google_mlkit_image_labeling/pubspec.yaml +++ b/packages/google_mlkit_image_labeling/pubspec.yaml @@ -26,3 +26,5 @@ flutter: pluginClass: GoogleMlKitImageLabelingPlugin ios: pluginClass: GoogleMlKitImageLabelingPlugin + swiftPackage: + path: ios/google_mlkit_image_labeling diff --git a/packages/google_mlkit_language_id/ios/google_mlkit_language_id/Package.swift b/packages/google_mlkit_language_id/ios/google_mlkit_language_id/Package.swift index 4df2eb85..22ff4c7e 100644 --- a/packages/google_mlkit_language_id/ios/google_mlkit_language_id/Package.swift +++ b/packages/google_mlkit_language_id/ios/google_mlkit_language_id/Package.swift @@ -15,8 +15,8 @@ let package = Package( dependencies: [ .package(path: "../../../google_mlkit_commons/ios/google_mlkit_commons"), .package( - url: "https://github.com/arrrrny/google-mlkit-swiftpm", - revision: "617e67690b277b7d2063c2e4f367bd0155ee79c0" + url: "https://github.com/mdata-group/google-mlkit-swiftpm", + exact: "9.0.0-simfix2" ) ], targets: [ diff --git a/packages/google_mlkit_language_id/pubspec.yaml b/packages/google_mlkit_language_id/pubspec.yaml index 7bafde6c..81ed2efe 100644 --- a/packages/google_mlkit_language_id/pubspec.yaml +++ b/packages/google_mlkit_language_id/pubspec.yaml @@ -25,3 +25,5 @@ flutter: pluginClass: GoogleMlKitLanguageIdPlugin ios: pluginClass: GoogleMlKitLanguageIdPlugin + swiftPackage: + path: ios/google_mlkit_language_id diff --git a/packages/google_mlkit_object_detection/ios/google_mlkit_object_detection/Package.swift b/packages/google_mlkit_object_detection/ios/google_mlkit_object_detection/Package.swift index 291f9604..b342e67f 100644 --- a/packages/google_mlkit_object_detection/ios/google_mlkit_object_detection/Package.swift +++ b/packages/google_mlkit_object_detection/ios/google_mlkit_object_detection/Package.swift @@ -15,8 +15,8 @@ let package = Package( dependencies: [ .package(path: "../../../google_mlkit_commons/ios/google_mlkit_commons"), .package( - url: "https://github.com/arrrrny/google-mlkit-swiftpm", - revision: "617e67690b277b7d2063c2e4f367bd0155ee79c0" + url: "https://github.com/mdata-group/google-mlkit-swiftpm", + exact: "9.0.0-simfix2" ) ], targets: [ diff --git a/packages/google_mlkit_object_detection/pubspec.yaml b/packages/google_mlkit_object_detection/pubspec.yaml index 32a05ddf..e5f9845b 100644 --- a/packages/google_mlkit_object_detection/pubspec.yaml +++ b/packages/google_mlkit_object_detection/pubspec.yaml @@ -26,3 +26,5 @@ flutter: pluginClass: GoogleMlKitObjectDetectionPlugin ios: pluginClass: GoogleMlKitObjectDetectionPlugin + swiftPackage: + path: ios/google_mlkit_object_detection diff --git a/packages/google_mlkit_pose_detection/ios/google_mlkit_pose_detection/Package.swift b/packages/google_mlkit_pose_detection/ios/google_mlkit_pose_detection/Package.swift index 52f5dc18..fb553fed 100644 --- a/packages/google_mlkit_pose_detection/ios/google_mlkit_pose_detection/Package.swift +++ b/packages/google_mlkit_pose_detection/ios/google_mlkit_pose_detection/Package.swift @@ -15,8 +15,8 @@ let package = Package( dependencies: [ .package(path: "../../../google_mlkit_commons/ios/google_mlkit_commons"), .package( - url: "https://github.com/arrrrny/google-mlkit-swiftpm", - revision: "617e67690b277b7d2063c2e4f367bd0155ee79c0" + url: "https://github.com/mdata-group/google-mlkit-swiftpm", + exact: "9.0.0-simfix2" ) ], targets: [ diff --git a/packages/google_mlkit_pose_detection/pubspec.yaml b/packages/google_mlkit_pose_detection/pubspec.yaml index 070c4332..c3f70b22 100644 --- a/packages/google_mlkit_pose_detection/pubspec.yaml +++ b/packages/google_mlkit_pose_detection/pubspec.yaml @@ -26,3 +26,5 @@ flutter: pluginClass: GoogleMlKitPoseDetectionPlugin ios: pluginClass: GoogleMlKitPoseDetectionPlugin + swiftPackage: + path: ios/google_mlkit_pose_detection diff --git a/packages/google_mlkit_selfie_segmentation/ios/google_mlkit_selfie_segmentation/Package.swift b/packages/google_mlkit_selfie_segmentation/ios/google_mlkit_selfie_segmentation/Package.swift index d044eba7..0ea94735 100644 --- a/packages/google_mlkit_selfie_segmentation/ios/google_mlkit_selfie_segmentation/Package.swift +++ b/packages/google_mlkit_selfie_segmentation/ios/google_mlkit_selfie_segmentation/Package.swift @@ -15,8 +15,8 @@ let package = Package( dependencies: [ .package(path: "../../../google_mlkit_commons/ios/google_mlkit_commons"), .package( - url: "https://github.com/arrrrny/google-mlkit-swiftpm", - revision: "617e67690b277b7d2063c2e4f367bd0155ee79c0" + url: "https://github.com/mdata-group/google-mlkit-swiftpm", + exact: "9.0.0-simfix2" ) ], targets: [ diff --git a/packages/google_mlkit_selfie_segmentation/pubspec.yaml b/packages/google_mlkit_selfie_segmentation/pubspec.yaml index 3812ed3d..0a1de03b 100644 --- a/packages/google_mlkit_selfie_segmentation/pubspec.yaml +++ b/packages/google_mlkit_selfie_segmentation/pubspec.yaml @@ -26,3 +26,5 @@ flutter: pluginClass: GoogleMlKitSelfieSegmentationPlugin ios: pluginClass: GoogleMlKitSelfieSegmentationPlugin + swiftPackage: + path: ios/google_mlkit_selfie_segmentation diff --git a/packages/google_mlkit_smart_reply/ios/google_mlkit_smart_reply/Package.swift b/packages/google_mlkit_smart_reply/ios/google_mlkit_smart_reply/Package.swift index 0654e4e4..a4af561c 100644 --- a/packages/google_mlkit_smart_reply/ios/google_mlkit_smart_reply/Package.swift +++ b/packages/google_mlkit_smart_reply/ios/google_mlkit_smart_reply/Package.swift @@ -15,8 +15,8 @@ let package = Package( dependencies: [ .package(path: "../../../google_mlkit_commons/ios/google_mlkit_commons"), .package( - url: "https://github.com/arrrrny/google-mlkit-swiftpm", - revision: "617e67690b277b7d2063c2e4f367bd0155ee79c0" + url: "https://github.com/mdata-group/google-mlkit-swiftpm", + exact: "9.0.0-simfix2" ) ], targets: [ diff --git a/packages/google_mlkit_smart_reply/pubspec.yaml b/packages/google_mlkit_smart_reply/pubspec.yaml index f1d16240..6aa2676d 100644 --- a/packages/google_mlkit_smart_reply/pubspec.yaml +++ b/packages/google_mlkit_smart_reply/pubspec.yaml @@ -25,3 +25,5 @@ flutter: pluginClass: GoogleMlKitSmartReplyPlugin ios: pluginClass: GoogleMlKitSmartReplyPlugin + swiftPackage: + path: ios/google_mlkit_smart_reply diff --git a/packages/google_mlkit_subject_segmentation/ios/google_mlkit_subject_segmentation/Package.swift b/packages/google_mlkit_subject_segmentation/ios/google_mlkit_subject_segmentation/Package.swift index 4f5af4d9..d2fc2d4a 100644 --- a/packages/google_mlkit_subject_segmentation/ios/google_mlkit_subject_segmentation/Package.swift +++ b/packages/google_mlkit_subject_segmentation/ios/google_mlkit_subject_segmentation/Package.swift @@ -13,7 +13,7 @@ let package = Package( targets: ["google_mlkit_subject_segmentation"]) ], dependencies: [ - + ], targets: [ .target( diff --git a/packages/google_mlkit_subject_segmentation/pubspec.yaml b/packages/google_mlkit_subject_segmentation/pubspec.yaml index ebd02666..d40a56ac 100644 --- a/packages/google_mlkit_subject_segmentation/pubspec.yaml +++ b/packages/google_mlkit_subject_segmentation/pubspec.yaml @@ -26,3 +26,5 @@ flutter: pluginClass: GoogleMlKitSubjectSegmentationPlugin ios: pluginClass: GoogleMlKitSubjectSegmentationPlugin + swiftPackage: + path: ios/google_mlkit_subject_segmentation diff --git a/packages/google_mlkit_text_recognition/ios/google_mlkit_text_recognition/Package.swift b/packages/google_mlkit_text_recognition/ios/google_mlkit_text_recognition/Package.swift index e1627dea..9522337b 100644 --- a/packages/google_mlkit_text_recognition/ios/google_mlkit_text_recognition/Package.swift +++ b/packages/google_mlkit_text_recognition/ios/google_mlkit_text_recognition/Package.swift @@ -15,8 +15,8 @@ let package = Package( dependencies: [ .package(path: "../../../google_mlkit_commons/ios/google_mlkit_commons"), .package( - url: "https://github.com/arrrrny/google-mlkit-swiftpm", - revision: "617e67690b277b7d2063c2e4f367bd0155ee79c0" + url: "https://github.com/mdata-group/google-mlkit-swiftpm", + exact: "9.0.0-simfix2" ) ], targets: [ diff --git a/packages/google_mlkit_text_recognition/pubspec.yaml b/packages/google_mlkit_text_recognition/pubspec.yaml index d23933a1..0a5683aa 100644 --- a/packages/google_mlkit_text_recognition/pubspec.yaml +++ b/packages/google_mlkit_text_recognition/pubspec.yaml @@ -26,3 +26,5 @@ flutter: pluginClass: GoogleMlKitTextRecognitionPlugin ios: pluginClass: GoogleMlKitTextRecognitionPlugin + swiftPackage: + path: ios/google_mlkit_text_recognition diff --git a/packages/google_mlkit_translation/ios/google_mlkit_translation/Package.swift b/packages/google_mlkit_translation/ios/google_mlkit_translation/Package.swift index 60f4f5fe..7ef9412f 100644 --- a/packages/google_mlkit_translation/ios/google_mlkit_translation/Package.swift +++ b/packages/google_mlkit_translation/ios/google_mlkit_translation/Package.swift @@ -15,8 +15,8 @@ let package = Package( dependencies: [ .package(path: "../../../google_mlkit_commons/ios/google_mlkit_commons"), .package( - url: "https://github.com/arrrrny/google-mlkit-swiftpm", - revision: "617e67690b277b7d2063c2e4f367bd0155ee79c0" + url: "https://github.com/mdata-group/google-mlkit-swiftpm", + exact: "9.0.0-simfix2" ) ], targets: [ diff --git a/packages/google_mlkit_translation/pubspec.yaml b/packages/google_mlkit_translation/pubspec.yaml index f18c2dd0..8eedcb8e 100644 --- a/packages/google_mlkit_translation/pubspec.yaml +++ b/packages/google_mlkit_translation/pubspec.yaml @@ -26,3 +26,5 @@ flutter: pluginClass: GoogleMlKitTranslationPlugin ios: pluginClass: GoogleMlKitTranslationPlugin + swiftPackage: + path: ios/google_mlkit_translation From ecc971beefdd565d3f34bd11688b0b555c5955d8 Mon Sep 17 00:00:00 2001 From: Dmitry Zakharov Date: Fri, 17 Jul 2026 22:15:39 +0300 Subject: [PATCH 2/2] fix: linker --- packages/example/ios/Runner.xcodeproj/project.pbxproj | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/packages/example/ios/Runner.xcodeproj/project.pbxproj b/packages/example/ios/Runner.xcodeproj/project.pbxproj index 1118ffd7..f5d7ad8d 100644 --- a/packages/example/ios/Runner.xcodeproj/project.pbxproj +++ b/packages/example/ios/Runner.xcodeproj/project.pbxproj @@ -335,7 +335,7 @@ ); OTHER_LDFLAGS = ( "-ObjC", - "-all_load", + ); PRODUCT_BUNDLE_IDENTIFIER = "$(PRODUCT_BUNDLE_IDENTIFIER)"; PRODUCT_NAME = "$(TARGET_NAME)"; @@ -480,7 +480,7 @@ ); OTHER_LDFLAGS = ( "-ObjC", - "-all_load", + ); PRODUCT_BUNDLE_IDENTIFIER = "$(PRODUCT_BUNDLE_IDENTIFIER)"; PRODUCT_NAME = "$(TARGET_NAME)"; @@ -507,7 +507,7 @@ ); OTHER_LDFLAGS = ( "-ObjC", - "-all_load", + ); PRODUCT_BUNDLE_IDENTIFIER = "$(PRODUCT_BUNDLE_IDENTIFIER)"; PRODUCT_NAME = "$(TARGET_NAME)";