aarongrider / vision-camera-ocr

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

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

Open ManjinderRayatTelus opened 10 months ago

ManjinderRayatTelus commented 10 months ago

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

OGreeni commented 9 months ago

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

ManjinderRayatTelus commented 9 months ago

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.

OGreeni commented 9 months ago

Still having an issue.

ManjinderRayatTelus commented 9 months ago

@OGreeni The issue is related to #1802