optional public func audioPlayerDidFinishPlaying(_ player: AVAudioPlayer, successfully flag: Bool)
^
/Users/zhangzhengyu/Downloads/flutter_record-0.1.3/ios/Classes/SwiftFlutterRecordPlugin.swift:147:33: error: cannot convert value of type 'Int' to expected argument type 'TimeInterval' (aka 'Double')
player!.play(atTime: self.pausePosition)
~~~~~^~~~~~~~~~~~~
TimeInterval( )
/Users/zhangzhengyu/Downloads/flutter_record-0.1.3/ios/Classes/SwiftFlutterRecordPlugin.swift:174:38: error: cannot assign value of type 'TimeInterval' (aka 'Double') to type 'Int'
self.pausePosition = player!.currentTime
~~~~~~~~^~~~~~~~~~~
Int( )
Could not build the precompiled application for the device.
我下载了你的项目,运行后报出一下错误: