ismaelsousa / vision-camera-ocr

VisionCamera Frame Processor Plugin to detect text in real time using MLKit Text Detector (OCR)
MIT License
27 stars 31 forks source link

Unable to build for iOS #19

Open SebghatYusuf opened 3 weeks ago

SebghatYusuf commented 3 weeks ago

Build for iOS while using @react-native-firebase/auth and you're package causes build to fail:

[!] CocoaPods could not find compatible versions for pod "GTMSessionFetcher/Core":
  In Podfile:
    RNFBAuth (from `../node_modules/@react-native-firebase/auth`) was resolved to 20.3.0, which depends on
      Firebase/Auth (= 10.29.0) was resolved to 10.29.0, which depends on
        FirebaseAuth (~> 10.29.0) was resolved to 10.29.0, which depends on
          GTMSessionFetcher/Core (< 4.0, >= 2.1)

    RNGoogleSignin (from `../node_modules/@react-native-google-signin/google-signin`) was resolved to 12.2.1, which depends on
      GoogleSignIn (~> 7.1) was resolved to 7.1.0, which depends on
        GTMAppAuth (< 5.0, >= 4.1.1) was resolved to 4.1.1, which depends on
          GTMSessionFetcher/Core (< 4.0, >= 3.3)

    RNGoogleSignin (from `../node_modules/@react-native-google-signin/google-signin`) was resolved to 12.2.1, which depends on
      GoogleSignIn (~> 7.1) was resolved to 7.1.0, which depends on
        GTMSessionFetcher/Core (~> 3.3)

    VisionCameraOcr (from `../node_modules/@ismaelmoreiraa/vision-camera-ocr`) was resolved to 3.0.1, which depends on
      GoogleMLKit/TextRecognition (= 3.1.0) was resolved to 3.1.0, which depends on
        MLKitTextRecognition (~> 1.4.0-beta5) was resolved to 1.4.0-beta5, which depends on
          MLKitCommon (~> 7.0) was resolved to 7.0.0, which depends on
            GTMSessionFetcher/Core (~> 1.1)

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

    VisionCameraOcr (from `../node_modules/@ismaelmoreiraa/vision-camera-ocr`) was resolved to 3.0.1, which depends on
      GoogleMLKit/TextRecognition (= 3.1.0) was resolved to 3.1.0, which depends on
        MLKitTextRecognition (~> 1.4.0-beta5) was resolved to 1.4.0-beta5, which depends on
          MLKitCommon (~> 7.0) was resolved to 7.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 "MLKitCommon":
  In Podfile:
    VisionCameraOcr (from `../node_modules/@ismaelmoreiraa/vision-camera-ocr`) was resolved to 3.0.1, which depends on
      GoogleMLKit/TextRecognition (= 3.1.0) was resolved to 3.1.0, which depends on
        GoogleMLKit/MLKitCore (= 3.1.0) was resolved to 3.1.0, which depends on
          MLKitCommon (~> 7.0.0)

    VisionCameraOcr (from `../node_modules/@ismaelmoreiraa/vision-camera-ocr`) was resolved to 3.0.1, which depends on
      GoogleMLKit/TextRecognition (= 3.1.0) was resolved to 3.1.0, which depends on
        MLKitTextRecognition (~> 1.4.0-beta5) was resolved to 1.4.0-beta5, which depends on
          MLKitCommon (~> 7.0)

    VisionCameraOcr (from `../node_modules/@ismaelmoreiraa/vision-camera-ocr`) was resolved to 3.0.1, which depends on
      GoogleMLKit/TextRecognition (= 3.1.0) was resolved to 3.1.0, which depends on
        MLKitTextRecognition (~> 1.4.0-beta5) was resolved to 1.4.0-beta5, which depends on
          MLKitVision (~> 4.1) was resolved to 4.2.0, which depends on
            MLKitCommon (~> 8.0)

If you could upgrade the GoogleMLKit/TextRecognition version of this package that would be great.

ismaelsousa commented 3 weeks ago

Could you create a pr with that change?

SebghatYusuf commented 3 weeks ago

@ismaelsousa, sorry for the late response. I will do it tomorrow.