You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Xcode's output:
↳
/Users/jacekrys/flutter_sdk/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_exif_rotation-0.2.7/ios/Classes/SwiftFlutterExifRotationPlugin.swift:28:46: error: 'jpegData(compressionQuality:)' has been renamed to 'UIImageJPEGRepresentation(_:_:)'
let imageData = updatedImage.jpegData(compressionQuality: 0.8); fileManager.createFile(atPath: paths as String, contents: imageData, attributes: nil)
^~~~~~~~
UIImageJPEGRepresentation
UIKit.UIImage:60:17: note: 'jpegData(compressionQuality:)' was introduced in Swift 4.2
public func jpegData(compressionQuality: CGFloat) -> Data?
^
Command CompileSwift failed with a nonzero exit code
note: Using new build system
note: Building targets in parallel
note: Planning build
note: Constructing build description
The text was updated successfully, but these errors were encountered:
/Users/jacekrys/flutter_sdk/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_exif_rotation-0.3.1/ios/Classes/SwiftFlutterExifRotationPlugin.swift:25:21: warning: variable 'file_name' was never mutated; consider changing to 'let' constant
var file_name = NSURL(fileURLWithPath: imagePath).lastPathComponent!
~~~ ^
let
I'm getting
The text was updated successfully, but these errors were encountered: