Problems with pod size #281
imoldfella
started this conversation in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Apparently the recognition model MLKitBarcodeScanning for mac is over 100MB, which causes github to complain that it can no longer check in the project. How do other developers manage this issue?
I'm thinking I need to .gitignore the file MLKitBarcodeScanning, then restore it somehow, or maybe I should be doing a more blanket .gitignore of pods in general, although this is not the flutter default and there are lots of recommendation to check in pods in general, this is the first one that causes trouble.
This is not a problem with mobile_scanner, but I think it is a trap for new users (like me), because once you trigger it you need deep git-fu to recover from it since its non-trivial to remove files from git once you have committed them. Maybe a readme mention, although its unclear how carefully new users will read that before installing.
It's also an infectious trap for open source projects that carry mobile_scanner as a dependency.
Beta Was this translation helpful? Give feedback.
All reactions