sawankumarbundelkhandi / edge_detection

This is a flutter plugin to detect edges in a live camera, take the picture of detected edges object, crop it, and save.
https://pub.dev/packages/edge_detection
Apache License 2.0
251 stars 247 forks source link

Xcode 15 - Stored properties cannot be marked unavailable with '@available' #154

Closed harshparikhfb closed 1 year ago

harshparikhfb commented 1 year ago

Swift Compiler Error (Xcode): Stored properties cannot be marked unavailable with '@available' /Users/harsh/GitLab/PDF%20Scanner%20V/pdf_scanner_converter/ios/Pods/WeScan/WeScan/ImageScannerController.swift:196:5 ImageScannerController.swift:196

Swift Compiler Error (Xcode): Stored properties cannot be marked unavailable with '@available' /Users/harsh/GitLab/PDF%20Scanner%20V/pdf_scanner_converter/ios/Pods/WeScan/WeScan/ImageScannerController.swift:199:5 ImageScannerController.swift:199

Swift Compiler Error (Xcode): Stored properties cannot be marked unavailable with '@available' /Users/harsh/GitLab/PDF%20Scanner%20V/pdf_scanner_converter/ios/Pods/WeScan/WeScan/ImageScannerController.swift:202:5 ImageScannerController.swift:202

sawankumarbundelkhandi commented 1 year ago

Duplicate of https://github.com/sawankumarbundelkhandi/edge_detection/issues/151

This is fixed and you can use it directly from Github in pubspec like edge_detection: git: https://github.com/sawankumarbundelkhandi/edge_detection.git

make sure to add this step - https://github.com/sawankumarbundelkhandi/edge_detection?tab=readme-ov-file#fix-build-on-xcode-15

I will release it on pub soon.

sawankumarbundelkhandi commented 1 year ago

@harshparikhfb it's available now here - https://pub.dev/packages/edge_detection/versions/1.1.3