a7medev / react-native-ml-kit

React Native On-Device Machine Learning w/ Google ML Kit
MIT License
396 stars 58 forks source link

unable to make build and run on ios 16.1 #25

Closed usmanhashmi2123 closed 1 year ago

usmanhashmi2123 commented 1 year ago

What happened?

https://github.com/a7medev/react-native-ml-kit)/text-recognition/

integrated this in my current app which was working fine.

after adding text recognition i am unable to run the app and get error in build. tried using the provided example still same issue.

testing on simulator i phone 14 pro ios 16.1

Version

1.2.1

Which ML Kit packages do you use?

What platforms are you seeing this issue on?

System Information

Screenshot 2023-02-14 at 1 33 02 PM (2)

System: OS: macOS 13.0.1 CPU: (8) arm64 Apple M1 Memory: 177.50 MB / 8.00 GB Shell: 5.8.1 - /bin/zsh Binaries: Node: 18.11.0 - /opt/homebrew/bin/node Yarn: 1.22.19 - ~/.yarn/bin/yarn npm: 8.19.2 - /opt/homebrew/bin/npm Watchman: 2022.10.17.00 - /opt/homebrew/bin/watchman Managers: CocoaPods: 1.11.3 - /opt/homebrew/bin/pod SDKs: iOS SDK: Platforms: DriverKit 22.1, iOS 16.1, macOS 13.0, tvOS 16.1, watchOS 9.1 Android SDK: Not Found

react: 17.0.2 => 17.0.2 
react-native: 0.66.1 => 0.66.1 

info React Native v0.71.2 is now available (your project is running on v0.66.1)

Steps to Reproduce

yarn add @react-native-ml-kit/text-recognition install pods.

build the app

ammaarkhan commented 1 year ago

Any update on this ? I am facing this same issue.

a7medev commented 1 year ago

@ammaarkhan Yes, we've already updated all the iOS dependencies to the latest versions and it will be released soon and hopefully it resolves this issue

neethanz commented 1 year ago

Is there any updates on this issue, still build fails in iOS.

usmanhashmi2123 commented 1 year ago

Is there any updates on this issue, still build fails in iOS.

i have switched to bridging. doing it native code for ios and using that

a7medev commented 1 year ago

Hi everyone! v1.3.0 of @react-native-ml-kit/text-recognition is now out running native iOS's ML Kit v4.0.0, hopefully this resolves your issue, I'll close this one for now but feel free to reopen it if things are still broken.