Skip to content

fix: complete SPM migration#882

Merged
fbernaly merged 26 commits into
flutter-ml:feature/spmfrom
arrrrny:spm-fixed
Jul 7, 2026
Merged

fix: complete SPM migration#882
fbernaly merged 26 commits into
flutter-ml:feature/spmfrom
arrrrny:spm-fixed

Conversation

@arrrrny

@arrrrny arrrrny commented Jul 7, 2026

Copy link
Copy Markdown

No description provided.

arrrrny and others added 25 commits June 9, 2026 19:58
…rny/google-mlkit-swiftpm

- Delete all 22 CocoaPods podspecs across all packages
- Update all 11 Package.swift files to reference arrrrny/google-mlkit-swiftpm
- Add per-language OCR resource bundles (Latin, Chinese, Japanese, Korean, Devanagari)
- Set -ObjC linker flag in example apps for ObjC category support
- Create focused text_recognition_example app
- Update Package.resolved files for SPM consistency
- Clean up stale CocoaPods artifacts and build caches
- Fixes text recognition 'Invalid model path' crash (d-date#106)
- Fixes dyld flat-namespace crash on TestFlight/Release builds
…en 9.0.0-1 tag

The 9.0.0-1 tag on arrrrny/google-mlkit-swiftpm points to an old commit
with duplicate binary target entries. Use the fixed commit directly.
…te files

These files were accidentally generated by flutter create when the
example app's iOS configuration was regenerated. They are not part
of the iOS SPM migration and add noise to the PR.
@arrrrny

arrrrny commented Jul 7, 2026

Copy link
Copy Markdown
Author

This is much cleaner, you can see all at once. I tested on device, it works.

@fbernaly

fbernaly commented Jul 7, 2026

Copy link
Copy Markdown
Collaborator

@arrrrny : fix this:
image

@fbernaly fbernaly changed the base branch from develop to feature/spm July 7, 2026 14:00
@arrrrny arrrrny changed the title Spm fixed fix: complete SPM migration Jul 7, 2026
@fbernaly

fbernaly commented Jul 7, 2026

Copy link
Copy Markdown
Collaborator

merging to test

@fbernaly fbernaly merged commit 32fb99e into flutter-ml:feature/spm Jul 7, 2026
1 of 2 checks passed
@fbernaly

fbernaly commented Jul 7, 2026

Copy link
Copy Markdown
Collaborator

@arrrrny: Thanks for the PR and your contributions!

After merging the PR, I was able to run the app, but not all the plugins are working yet (Face Detection, for instance). We need to continue working on this branch, as we cannot release it until everything is fully functional. If you would like to continue contributing, your help is absolutely welcome.

One quick note regarding your PRs: I noticed you were overriding the DEVELOPMENT_TEAM and PRODUCT_BUNDLE_IDENTIFIER directly within the Xcode project settings. I have been reverting those changes after merging. I just added instructions to the example app's README so developers know how to configure these for local testing without committing the changes.

Also, for future PRs, please sync your local branch with the latest version of feature/spm. I have rebased and squashed the branch on top of develop, so it will be much easier to manage future PRs if they are based on this updated history.

If you don't have the time to contribute further right now, feel free to use this plugin in your Flutter project by pointing your pubspec.yaml to this branch, as shown in this example:

dependencies:
  plugin_name:
    git:
      url: https://github.com/your-username/your-repo-name.git
      ref: your_branch_name

Once again, thank you for contributing!

@arrrrny

arrrrny commented Jul 8, 2026

Copy link
Copy Markdown
Author

you are welcome @fbernaly I am aware, I focused on text recognition since I need in my app and I am sure most others need and can migrate referencing to this merged git branch. make sure to git reference the mlkit commons as well. If any other devs are willing to take the rest of the work, that would be great, since this was a tedious job and I paved the road for them. Otherwise I will probably complete the rest

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants