a7medev / react-native-ml-kit

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

Please update this #54

Open bharaty878 opened 4 months ago

bharaty878 commented 4 months ago

What happened?

Ios creating issue when i m going to build the project in android it is working fine please update it so it will work fine in ios

Version

@react-native-ml-kit/barcode-scanning: version@react-native-ml-kit/face-detection: version@react-native-ml-kit/identify-languages: version@react-native-ml-kit/image-labeling: version@react-native-ml-kit/text-recognition: version@react-native-ml-kit/translate-text: version

Which ML Kit packages do you use?

What platforms are you seeing this issue on?

System Information

npx pod-install

Steps to Reproduce

not build

a7medev commented 4 months ago

Hello @bharaty878!

A new release of all the packages containing ML Kit v6.0.0 on iOS has just been released, can you please try upgrading to the latest version and sharing if that fixes your issue or not? 🙏🏼

Here's the upgrade command:

npm install @react-native-ml-kit/text-recognition@latest

or if you're using Yarn:

yarn add @react-native-ml-kit/text-recognition@latest

If your issue is still present after upgrading to the latest, please share more details like the error logs to be able to check your issue.

bharaty878 commented 4 months ago

Error not working on iOS and Android is working fine

On Mon, Jul 15, 2024, 2:05 AM Ahmed Elrefaey @.***> wrote:

Hello @bharaty878 https://github.com/bharaty878!

A new release of all the packages containing ML Kit v6.0.0 on iOS has just been released, can you please try upgrading to the latest version and sharing if that fixes your issue or not? 🙏🏼

Here's the upgrade command:

npm install @@.***

or if you're using Yarn:

yarn add @@.***

If your issue is still present after upgrading to the latest, please share more details like the error logs to be able to check your issue.

— Reply to this email directly, view it on GitHub https://github.com/a7medev/react-native-ml-kit/issues/54#issuecomment-2227476013, or unsubscribe https://github.com/notifications/unsubscribe-auth/A3K5LNBV3Q3AOXNEM6RWV23ZMLOIPAVCNFSM6AAAAABKYIR6UOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDEMRXGQ3TMMBRGM . You are receiving this because you were mentioned.Message ID: @.***>

Abdulhaque4241 commented 4 months ago

@a7medev I'm experiencing the same issue. It's working fine on Android, but pod install is failing.

bharaty878 commented 4 months ago

I havebread error it is saying that it is for arm64 not for x86_64 please update it to work on both arm64 and x86_64

On Wed, Jul 24, 2024, 9:52 AM Abdulhaque4241 @.***> wrote:

@a7medev https://github.com/a7medev I'm experiencing the same issue. It's working fine on Android, but pod install is failing.

— Reply to this email directly, view it on GitHub https://github.com/a7medev/react-native-ml-kit/issues/54#issuecomment-2246836899, or unsubscribe https://github.com/notifications/unsubscribe-auth/A3K5LNFBPOKKO5GSNVD6YETZN4TYPAVCNFSM6AAAAABKYIR6UOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDENBWHAZTMOBZHE . You are receiving this because you were mentioned.Message ID: @.***>

Abdulhaque4241 commented 4 months ago

I encounter this issue when running pod install:

[!] CocoaPods could not find compatible versions for pod "GTMSessionFetcher/Core": In Podfile: RNGoogleSignin (from ../node_modules/@react-native-google-signin/google-signin) was resolved to 9.1.0, which depends on GoogleSignIn (~> 6.2) was resolved to 6.2.3, which depends on GTMSessionFetcher/Core (~> 1.1)

RNMLKitTextRecognition (from `../node_modules/@react-native-ml-kit/text-recognition`) was resolved to 1.5.2, which depends on
  GoogleMLKit/TextRecognitionDevanagari (= 6.0.0) was resolved to 6.0.0, which depends on
    MLKitTextRecognitionDevanagari (~> 3.0.0) was resolved to 3.0.0, which depends on
      MLKitCommon (~> 11.0) was resolved to 11.0.0, which depends on
        GTMSessionFetcher/Core (< 4.0, >= 3.3.2)

CocoaPods could not find compatible versions for pod "GoogleDataTransport": In Podfile: GoogleDataTransport

RNFBMessaging (from `../node_modules/@react-native-firebase/messaging`) was resolved to 19.3.0, which depends on
  Firebase/Messaging (= 10.24.0) was resolved to 10.24.0, which depends on
    FirebaseMessaging (~> 10.24.0) was resolved to 10.24.0, which depends on
      GoogleDataTransport (~> 9.3)

RNMLKitTextRecognition (from `../node_modules/@react-native-ml-kit/text-recognition`) was resolved to 1.5.2, which depends on
  GoogleMLKit/TextRecognitionDevanagari (= 6.0.0) was resolved to 6.0.0, which depends on
    MLKitTextRecognitionDevanagari (~> 3.0.0) was resolved to 3.0.0, which depends on
      MLKitCommon (~> 11.0) was resolved to 11.0.0, which depends on
        GoogleDataTransport (< 10.0, >= 9.4.1)

CocoaPods could not find compatible versions for pod "GoogleUtilities/Logger": In Podfile: RNFBApp (from ../node_modules/@react-native-firebase/app) was resolved to 19.3.0, which depends on Firebase/CoreOnly (= 10.24.0) was resolved to 10.24.0, which depends on FirebaseCore (= 10.24.0) was resolved to 10.24.0, which depends on GoogleUtilities/Logger (~> 7.12)

RNMLKitTextRecognition (from `../node_modules/@react-native-ml-kit/text-recognition`) was resolved to 1.5.2, which depends on
  GoogleMLKit/TextRecognitionDevanagari (= 6.0.0) was resolved to 6.0.0, which depends on
    MLKitTextRecognitionDevanagari (~> 3.0.0) was resolved to 3.0.0, which depends on
      MLKitCommon (~> 11.0) was resolved to 11.0.0, which depends on
        GoogleUtilities/UserDefaults (< 8.0, >= 7.13.0) was resolved to 7.13.3, which depends on
          GoogleUtilities/Logger (= 7.13.3)

RNMLKitTextRecognition (from `../node_modules/@react-native-ml-kit/text-recognition`) was resolved to 1.5.2, which depends on
  GoogleMLKit/TextRecognitionDevanagari (= 6.0.0) was resolved to 6.0.0, which depends on
    MLKitTextRecognitionDevanagari (~> 3.0.0) was resolved to 3.0.0, which depends on
      MLKitCommon (~> 11.0) was resolved to 11.0.0, which depends on
        GoogleUtilitiesComponents (~> 1.0) was resolved to 1.1.0, which depends on
          GoogleUtilities/Logger

CocoaPods could not find compatible versions for pod "nanopb": In Podfile: RNFBMessaging (from ../node_modules/@react-native-firebase/messaging) was resolved to 19.3.0, which depends on Firebase/Messaging (= 10.24.0) was resolved to 10.24.0, which depends on FirebaseMessaging (~> 10.24.0) was resolved to 10.24.0, which depends on nanopb (< 2.30911.0, >= 2.30908.0)

nanopb
Energieman commented 3 months ago

Your issue is related to Build failing on IOS Please check out my response at https://github.com/a7medev/react-native-ml-kit/issues/10

jihokim2 commented 3 weeks ago

After install @react-native-firebase/app 21.X and react-native-ml-kit I met this problem. Temporary, use @react-native-firebase/app 20.X this problem is disappeared. But I think react-native-ml-kit's Podfile library will be updated.