vision-camera-ocr icon indicating copy to clipboard operation
vision-camera-ocr copied to clipboard

vision-camera-ocr not working on XCode 15 Beta 8

Open ManjinderRayatTelus opened this issue 2 years ago • 4 comments

I am trying to compile IOS app with vision-camera-ocr V1.0.0 on XCode 15 Beta 8. Application crash with below error on startup objc[3093]: Swift class extensions and categories on Swift classes are not allowed to have +load methods

Crash report is attached: Report.docx

App is working well on

  1. Xcode 14.3.1 with vision-camera-ocr
  2. Xcode 15 Beta 8 without vision-camera-ocr

Looks like there is something in vision-camera-ocr that is not compatible with XCode 15

React Native V0.71.12

Output of npx react-native info System: OS: macOS 13.4.1 CPU: (12) x64 Intel(R) Core(TM) i7-9750H CPU @ 2.60GHz Memory: 30.71 MB / 16.00 GB Shell: 3.2.57 - /bin/bash Binaries: Node: 14.16.0 - ~/.nvm/versions/node/v14.16.0/bin/node Yarn: Not Found npm: 6.14.11 - ~/.nvm/versions/node/v14.16.0/bin/npm Watchman: 4.9.0 - /usr/local/bin/watchman Managers: CocoaPods: 1.11.2 - /usr/local/bin/pod SDKs: iOS SDK: Platforms: DriverKit 23.0, iOS 17.0, macOS 14.0, tvOS 17.0, visionOS 1.0, watchOS 10.0 Android SDK: Not Found IDEs: Android Studio: 2022.1 AI-221.6008.13.2211.9477386 Xcode: 15.0/15A5229m - /usr/bin/xcodebuild Languages: Java: 11.0.2 - /usr/bin/javac npmPackages: @react-native-community/cli: Not Found react: Not Found react-native: Not Found react-native-macos: Not Found npmGlobalPackages: react-native: Not Found

ManjinderRayatTelus avatar Sep 10 '23 14:09 ManjinderRayatTelus

I was having a similar issue with this library, which also uses MLKit. Not sure if that's where the issue lies.

OGreeni avatar Sep 19 '23 02:09 OGreeni

I was having a similar issue with this library, which also uses MLKit. Not sure if that's where the issue lies.

Are you still getting the issue. If no, how did you fix it.

ManjinderRayatTelus avatar Sep 19 '23 11:09 ManjinderRayatTelus

Still having an issue.

OGreeni avatar Sep 19 '23 12:09 OGreeni

@OGreeni The issue is related to #1802

ManjinderRayatTelus avatar Sep 22 '23 14:09 ManjinderRayatTelus