WeTransfer / WeScan

Document Scanning Made Easy for iOS
MIT License
2.86k stars 560 forks source link

Error: Stored properties cannot be marked unavailable with '@available' #354

Closed aronnelson closed 1 year ago

aronnelson commented 1 year ago

Xcode 15.

Getting Error: Stored properties cannot be marked unavailable with '@available'

@available(*, unavailable, renamed: "originalScan") public var originalImage: UIImage?

@available(*, unavailable, renamed: "croppedScan")
public var scannedImage: UIImage?

@available(*, unavailable, renamed: "enhancedScan")
public var enhancedImage: UIImage?

@available(*, unavailable, renamed: "doesUserPreferEnhancedScan")
public var doesUserPreferEnhancedImage = false
BasThomas commented 1 year ago

Thanks @aronnelson! I'm to close this as a duplicate of #359 for now, but thanks for reporting!