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
After installing this lib and trying to run in ios simulator app crashes
Running "flutter pub get" in rexi-app...
Launching lib/main_dev.dart on iPhone 8 in debug mode...
Running pod install...
Running Xcode build...
Xcode build done. 15.1s
Failed to build iOS app
Error output from Xcode build:
↳
2021-03-27 01:01:07.923 xcodebuild[51809:3524288] apply_selection_policy_once: avoid use of removable GPUs (via com.apple.dt.xcodebuild:GPUSelectionPolicy->avoidRemovable)
** BUILD FAILED **
Xcode's output:
↳
/Users/narek/development/flutter/.pub-cache/git/sounds-c44ea98323dd99fdf1dca3262e2bce39581c39d2/ios/Classes/ShadePlayer.swift:50:101: error: editor placeholder in source file
registrar?.addMethodCallDelegate(shadePlayerManager as! FlutterPlugin, channel: _channel ?? <#default value#>)
^
/Users/narek/development/flutter/.pub-cache/git/sounds-c44ea98323dd99fdf1dca3262e2bce39581c39d2/ios/Classes/ShadePlayer.swift:63:46: error: editor placeholder in source file
_channel?.invokeMethod(methodName ?? <#default value#>, arguments: call)
^
/Users/narek/development/flutter/.pub-cache/git/sounds-c44ea98323dd99fdf1dca3262e2bce39581c39d2/ios/Classes/ShadePlayer.swift:247:51: error: expected expression in list of expressions
let bufferData = dataBuffer?.type(of: init)()
^
/Users/narek/development/flutter/.pub-cache/git/sounds-c44ea98323dd99fdf1dca3262e2bce39581c39d2/ios/Classes/ShadePlayer.swift:247:50: error: consecutive statements on a line must be separated by ';'
let bufferData = dataBuffer?.type(of: init)()
^
;
/Users/narek/development/flutter/.pub-cache/git/sounds-c44ea98323dd99fdf1dca3262e2bce39581c39d2/ios/Classes/ShadePlayer.swift:247:55: error: initializers may only be declared within a type
let bufferData = dataBuffer?.type(of: init)()
^
/Users/narek/development/flutter/.pub-cache/git/sounds-c44ea98323dd99fdf1dca3262e2bce39581c39d2/ios/Classes/ShadePlayer.swift:247:55: error: expected '(' for initializer parameters
let bufferData = dataBuffer?.type(of: init)()
^
/Users/narek/development/flutter/.pub-cache/git/sounds-c44ea98323dd99fdf1dca3262e2bce39581c39d2/ios/Classes/SoundPlayer.swift:291:78: error: editor placeholder in source file
let currentTime = NSNumber(value: Double(audioPlayer?.currentTime ?? <#default value#> * 1000))
^
/Users/narek/development/flutter/.pub-cache/git/sounds-c44ea98323dd99fdf1dca3262e2bce39581c39d2/ios/Classes/SoundRecorder.swift:51:85: error: editor placeholder in source file
registrar.addMethodCallDelegate(soundRecorderManager!, channel: _channel ?? <#default value#>)
^
/Users/narek/development/flutter/.pub-cache/git/sounds-c44ea98323dd99fdf1dca3262e2bce39581c39d2/ios/Classes/SoundRecorder.swift:97:46: error: editor placeholder in source file
_channel?.invokeMethod(methodName ?? <#default value#>, arguments: call)
^
/Users/narek/development/flutter/.pub-cache/git/sounds-c44ea98323dd99fdf1dca3262e2bce39581c39d2/ios/Classes/SoundRecorder.swift:263:81: error: editor placeholder in source file
let currentTime = NSNumber(value: Double?(audioRecorder?.currentTime ?? <#default value#> * 1000) ?? <#default value#>)
^
/Users/narek/development/flutter/.pub-cache/git/sounds-c44ea98323dd99fdf1dca3262e2bce39581c39d2/ios/Classes/SoundRecorder.swift:263:110: error: editor placeholder in source file
let currentTime = NSNumber(value: Double?(audioRecorder?.currentTime ?? <#default value#> * 1000) ?? <#default value#>)
^
/Users/narek/development/flutter/.pub-cache/git/sounds-c44ea98323dd99fdf1dca3262e2bce39581c39d2/ios/Classes/ShadePlayer.swift:45:25: error: argument labels for method 'register(withRegistrar:)' do not match those of overridden method 'register(with:)'
override class func register(withRegistrar registrar: (NSObjectProtocol & FlutterPluginRegistrar)?) {
^ ~~~~~~~~~~~~~
with
/Users/narek/development/flutter/.pub-cache/git/sounds-c44ea98323dd99fdf1dca3262e2bce39581c39d2/ios/Classes/ShadePlayer.swift:117:18: error: cannot override with a stored property 'setCategoryDone'
internal var setCategoryDone: t_SET_CATEGORY_DONE!
^
/Users/narek/development/flutter/.pub-cache/git/sounds-c44ea98323dd99fdf1dca3262e2bce39581c39d2/ios/Classes/SoundPlayer.swift:172:9: note: attempt to override property here
var setCategoryDone: t_SET_CATEGORY_DONE!
^
/Users/narek/development/flutter/.pub-cache/git/sounds-c44ea98323dd99fdf1dca3262e2bce39581c39d2/ios/Classes/ShadePlayer.swift:118:18: error: cannot override with a stored property 'setActiveDone'
internal var setActiveDone: t_SET_CATEGORY_DONE!
^
/Users/narek/development/flutter/.pub-cache/git/sounds-c44ea98323dd99fdf1dca3262e2bce39581c39d2/ios/Classes/SoundPlayer.swift:173:9: note: attempt to override property here
var setActiveDone: t_SET_CATEGORY_DONE!
^
/Users/narek/development/flutter/.pub-cache/git/sounds-c44ea98323dd99fdf1dca3262e2bce39581c39d2/ios/Classes/ShadePlayer.swift:48:41: error: argument type 'FlutterBinaryMessenger?' does not conform to expected type 'FlutterBinaryMessenger'
binaryMessenger: registrar?.messenger())
^
as! FlutterBinaryMessenger
/Users/narek/development/flutter/.pub-cache/git/sounds-c44ea98323dd99fdf1dca3262e2bce39581c39d2/ios/Classes/ShadePlayer.swift:50:61: warning: forced cast from 'ShadePlayerManager?' to 'FlutterPlugin' only unwraps optionals; did you mean to use '!'?
registrar?.addMethodCallDelegate(shadePlayerManager as! FlutterPlugin, channel: _channel ?? <#default value#>)
~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~
!
/Users/narek/development/flutter/.pub-cache/git/sounds-c44ea98323dd99fdf1dca3262e2bce39581c39d2/ios/Classes/ShadePlayer.swift:71:38: error: value of type 'Any?' has no subscripts
var slotNo = (call?.arguments["slotNo"] as? NSNumber)?.intValue ?? 0
~~~~~~~~~~~~~~~^
/Users/narek/development/flutter/.pub-cache/git/sounds-c44ea98323dd99fdf1dca3262e2bce39581c39d2/ios/Classes/ShadePlayer.swift:126:40: error: value of type 'Any?' has no subscripts
let trackDict = call?.arguments["track"] as? [AnyHashable : Any]
~~~~~~~~~~~~~~~^
/Users/narek/development/flutter/.pub-cache/git/sounds-c44ea98323dd99fdf1dca3262e2bce39581c39d2/ios/Classes/ShadePlayer.swift:128:40: error: value of type 'Any?' has no subscripts
let canPause = (call?.arguments["canPause"] as? NSNumber)?.boolValue ?? false
~~~~~~~~~~~~~~~^
/Users/narek/development/flutter/.pub-cache/git/sounds-c44ea98323dd99fdf1dca3262e2bce39581c39d2/ios/Classes/ShadePlayer.swift:129:46: error: value of type 'Any?' has no subscripts
let canSkipForward = (call?.arguments["canSkipForward"] as? NSNumber)?.boolValue ?? false
~~~~~~~~~~~~~~~^
/Users/narek/development/flutter/.pub-cache/git/sounds-c44ea98323dd99fdf1dca3262e2bce39581c39d2/ios/Classes/ShadePlayer.swift:130:47: error: value of type 'Any?' has no subscripts
let canSkipBackward = (call?.arguments["canSkipBackward"] as? NSNumber)?.boolValue ?? false
~~~~~~~~~~~~~~~^
/Users/narek/development/flutter/.pub-cache/git/sounds-c44ea98323dd99fdf1dca3262e2bce39581c39d2/ios/Classes/ShadePlayer.swift:168:16: error: ambiguous use of 'setCategoryDone'
if setCategoryDone == .not_SET {
^
/Users/narek/development/flutter/.pub-cache/git/sounds-c44ea98323dd99fdf1dca3262e2bce39581c39d2/ios/Classes/ShadePlayer.swift:117:18: note: found this candidate
internal var setCategoryDone: t_SET_CATEGORY_DONE!
^
/Users/narek/development/flutter/.pub-cache/git/sounds-c44ea98323dd99fdf1dca3262e2bce39581c39d2/ios/Classes/SoundPlayer.swift:172:9: note: found this candidate
var setCategoryDone: t_SET_CATEGORY_DONE!
^
/Users/narek/development/flutter/.pub-cache/git/sounds-c44ea98323dd99fdf1dca3262e2bce39581c39d2/ios/Classes/ShadePlayer.swift:171:26: error: type 'String' has no member 'playback'
.playback)
~^~~~~~~~
/Users/narek/development/flutter/.pub-cache/git/sounds-c44ea98323dd99fdf1dca3262e2bce39581c39d2/ios/Classes/ShadePlayer.swift:174:17: error: ambiguous use of 'setCategoryDone'
setCategoryDone = .for_PLAYING
^
/Users/narek/development/flutter/.pub-cache/git/sounds-c44ea98323dd99fdf1dca3262e2bce39581c39d2/ios/Classes/ShadePlayer.swift:117:18: note: found this candidate
internal var setCategoryDone: t_SET_CATEGORY_DONE!
^
/Users/narek/development/flutter/.pub-cache/git/sounds-c44ea98323dd99fdf1dca3262e2bce39581c39d2/ios/Classes/SoundPlayer.swift:172:9: note: found this candidate
var setCategoryDone: t_SET_CATEGORY_DONE!
^
/Users/narek/development/flutter/.pub-cache/git/sounds-c44ea98323dd99fdf1dca3262e2bce39581c39d2/ios/Classes/ShadePlayer.swift:178:16: error: ambiguous use of 'setActiveDone'
if setActiveDone == .not_SET {
^
/Users/narek/development/flutter/.pub-cache/git/sounds-c44ea98323dd99fdf1dca3262e2bce39581c39d2/ios/Classes/ShadePlayer.swift:118:18: note: found this candidate
internal var setActiveDone: t_SET_CATEGORY_DONE!
^
/Users/narek/development/flutter/.pub-cache/git/sounds-c44ea98323dd99fdf1dca3262e2bce39581c39d2/ios/Classes/SoundPlayer.swift:173:9: note: found this candidate
var setActiveDone: t_SET_CATEGORY_DONE!
^
/Users/narek/development/flutter/.pub-cache/git/sounds-c44ea98323dd99fdf1dca3262e2bce39581c39d2/ios/Classes/ShadePlayer.swift:183:17: error: ambiguous use of 'setActiveDone'
setActiveDone = .for_PLAYING
^
/Users/narek/development/flutter/.pub-cache/git/sounds-c44ea98323dd99fdf1dca3262e2bce39581c39d2/ios/Classes/ShadePlayer.swift:118:18: note: found this candidate
internal var setActiveDone: t_SET_CATEGORY_DONE!
^
/Users/narek/development/flutter/.pub-cache/git/sounds-c44ea98323dd99fdf1dca3262e2bce39581c39d2/ios/Classes/SoundPlayer.swift:173:9: note: found this candidate
var setActiveDone: t_SET_CATEGORY_DONE!
^
/Users/narek/development/flutter/.pub-cache/git/sounds-c44ea98323dd99fdf1dca3262e2bce39581c39d2/ios/Classes/ShadePlayer.swift:247:42: error: cannot call value of non-function type 'FlutterStandardDataType'
let bufferData = dataBuffer?.type(of: init)()
^ ~~~~
/Users/narek/development/flutter/.pub-cache/git/sounds-c44ea98323dd99fdf1dca3262e2bce39581c39d2/ios/Classes/ShadePlayer.swift:272:9: error: ambiguous use of 'setCategoryDone'
setCategoryDone = .not_SET
^
/Users/narek/development/flutter/.pub-cache/git/sounds-c44ea98323dd99fdf1dca3262e2bce39581c39d2/ios/Classes/ShadePlayer.swift:117:18: note: found this candidate
internal var setCategoryDone: t_SET_CATEGORY_DONE!
^
/Users/narek/development/flutter/.pub-cache/git/sounds-c44ea98323dd99fdf1dca3262e2bce39581c39d2/ios/Classes/SoundPlayer.swift:172:9: note: found this candidate
var setCategoryDone: t_SET_CATEGORY_DONE!
^
/Users/narek/development/flutter/.pub-cache/git/sounds-c44ea98323dd99fdf1dca3262e2bce39581c39d2/ios/Classes/ShadePlayer.swift:273:9: error: ambiguous use of 'setActiveDone'
setActiveDone = .not_SET
^
/Users/narek/development/flutter/.pub-cache/git/sounds-c44ea98323dd99fdf1dca3262e2bce39581c39d2/ios/Classes/ShadePlayer.swift:118:18: note: found this candidate
internal var setActiveDone: t_SET_CATEGORY_DONE!
^
/Users/narek/development/flutter/.pub-cache/git/sounds-c44ea98323dd99fdf1dca3262e2bce39581c39d2/ios/Classes/SoundPlayer.swift:173:9: note: found this candidate
var setActiveDone: t_SET_CATEGORY_DONE!
^
/Users/narek/development/flutter/.pub-cache/git/sounds-c44ea98323dd99fdf1dca3262e2bce39581c39d2/ios/Classes/ShadePlayer.swift:343:31: error: initializer for conditional binding must have Optional type, not 'Data'
if let url = url, let data = Data(contentsOf: url) {
^ ~~~~~~~~~~~~~~~~~~~~~
/Users/narek/development/flutter/.pub-cache/git/sounds-c44ea98323dd99fdf1dca3262e2bce39581c39d2/ios/Classes/ShadePlayer.swift:343:42: error: call can throw, but it is not marked with 'try' and the error is not handled
if let url = url, let data = Data(contentsOf: url) {
^
/Users/narek/development/flutter/.pub-cache/git/sounds-c44ea98323dd99fdf1dca3262e2bce39581c39d2/ios/Classes/ShadePlayer.swift:443:30: error: value of optional type 'AVAudioPlayer?' must be unwrapped to refer to member 'isPlaying' of wrapped base type 'AVAudioPlayer'
let b = self.audioPlayer.isPlaying
^
/Users/narek/development/flutter/.pub-cache/git/sounds-c44ea98323dd99fdf1dca3262e2bce39581c39d2/ios/Classes/ShadePlayer.swift:443:30: note: chain the optional using '?' to access member 'isPlaying' only for non-'nil' base values
let b = self.audioPlayer.isPlaying
^
?
/Users/narek/development/flutter/.pub-cache/git/sounds-c44ea98323dd99fdf1dca3262e2bce39581c39d2/ios/Classes/ShadePlayer.swift:443:30: note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
let b = self.audioPlayer.isPlaying
^
!
/Users/narek/development/flutter/.pub-cache/git/sounds-c44ea98323dd99fdf1dca3262e2bce39581c39d2/ios/Classes/ShadePlayer.swift:455:30: warning: result of call to 'resume()' is unused
self.resume()
^ ~~
/Users/narek/development/flutter/.pub-cache/git/sounds-c44ea98323dd99fdf1dca3262e2bce39581c39d2/ios/Classes/ShadePlayer.swift:487:13: error: ambiguous use of 'setActiveDone'
if (setActiveDone != .by_USER /* The caller did it himself : Sounds must not change that) */) && (setActiveDone != .not_SET) {
^
/Users/narek/development/flutter/.pub-cache/git/sounds-c44ea98323dd99fdf1dca3262e2bce39581c39d2/ios/Classes/ShadePlayer.swift:118:18: note: found this candidate
internal var setActiveDone: t_SET_CATEGORY_DONE!
^
/Users/narek/development/flutter/.pub-cache/git/sounds-c44ea98323dd99fdf1dca3262e2bce39581c39d2/ios/Classes/SoundPlayer.swift:173:9: note: found this candidate
var setActiveDone: t_SET_CATEGORY_DONE!
^
/Users/narek/development/flutter/.pub-cache/git/sounds-c44ea98323dd99fdf1dca3262e2bce39581c39d2/ios/Classes/ShadePlayer.swift:493:13: error: ambiguous use of 'setActiveDone'
setActiveDone = .not_SET
^
/Users/narek/development/flutter/.pub-cache/git/sounds-c44ea98323dd99fdf1dca3262e2bce39581c39d2/ios/Classes/ShadePlayer.swift:118:18: note: found this candidate
internal var setActiveDone: t_SET_CATEGORY_DONE!
^
/Users/narek/development/flutter/.pub-cache/git/sounds-c44ea98323dd99fdf1dca3262e2bce39581c39d2/ios/Classes/SoundPlayer.swift:173:9: note: found this candidate
var setActiveDone: t_SET_CATEGORY_DONE!
^
/Users/narek/development/flutter/.pub-cache/git/sounds-c44ea98323dd99fdf1dca3262e2bce39581c39d2/ios/Classes/ShadePlayer.swift:50:101: error: editor placeholder in source file
registrar?.addMethodCallDelegate(shadePlayerManager as! FlutterPlugin, channel: _channel ?? <#default value#>)
^
/Users/narek/development/flutter/.pub-cache/git/sounds-c44ea98323dd99fdf1dca3262e2bce39581c39d2/ios/Classes/ShadePlayer.swift:63:46: error: editor placeholder in source file
_channel?.invokeMethod(methodName ?? <#default value#>, arguments: call)
^
/Users/narek/development/flutter/.pub-cache/git/sounds-c44ea98323dd99fdf1dca3262e2bce39581c39d2/ios/Classes/SoundPlayer.swift:291:78: error: editor placeholder in source file
let currentTime = NSNumber(value: Double(audioPlayer?.currentTime ?? <#default value#> * 1000))
^
/Users/narek/development/flutter/.pub-cache/git/sounds-c44ea98323dd99fdf1dca3262e2bce39581c39d2/ios/Classes/SoundRecorder.swift:51:85: error: editor placeholder in source file
registrar.addMethodCallDelegate(soundRecorderManager!, channel: _channel ?? <#default value#>)
^
/Users/narek/development/flutter/.pub-cache/git/sounds-c44ea98323dd99fdf1dca3262e2bce39581c39d2/ios/Classes/SoundRecorder.swift:97:46: error: editor placeholder in source file
_channel?.invokeMethod(methodName ?? <#default value#>, arguments: call)
^
/Users/narek/development/flutter/.pub-cache/git/sounds-c44ea98323dd99fdf1dca3262e2bce39581c39d2/ios/Classes/SoundRecorder.swift:263:81: error: editor placeholder in source file
let currentTime = NSNumber(value: Double?(audioRecorder?.currentTime ?? <#default value#> * 1000) ?? <#default value#>)
^
/Users/narek/development/flutter/.pub-cache/git/sounds-c44ea98323dd99fdf1dca3262e2bce39581c39d2/ios/Classes/SoundRecorder.swift:263:110: error: editor placeholder in source file
let currentTime = NSNumber(value: Double?(audioRecorder?.currentTime ?? <#default value#> * 1000) ?? <#default value#>)
^
/Users/narek/development/flutter/.pub-cache/git/sounds-c44ea98323dd99fdf1dca3262e2bce39581c39d2/ios/Classes/SoundPlayer.swift:36:16: warning: parameter of 'register(with:)' has different optionality than expected by protocol 'FlutterPlugin'
class func register(with registrar: (NSObjectProtocol & FlutterPluginRegistrar)?) {
^ ~
Flutter.FlutterPlugin:2:17: note: requirement 'register(with:)' declared here
static func register(with registrar: FlutterPluginRegistrar)
^
/Users/narek/development/flutter/.pub-cache/git/sounds-c44ea98323dd99fdf1dca3262e2bce39581c39d2/ios/Classes/SoundPlayer.swift:45:10: warning: parameter of 'handle(_:result:)' has different optionality than expected by protocol 'FlutterPlugin'
func handle(_ call: FlutterMethodCall?, result: FlutterResult) {
^ ~
Flutter.FlutterPlugin:6:19: note: requirement 'handle(_:result:)' declared here
optional func handle(_ call: FlutterMethodCall, result: @escaping FlutterResult)
^
/Users/narek/development/flutter/.pub-cache/git/sounds-c44ea98323dd99fdf1dca3262e2bce39581c39d2/ios/Classes/SoundPlayer.swift:39:53: warning: forced cast from 'FlutterBinaryMessenger?' to 'FlutterBinaryMessenger' only unwraps optionals; did you mean to use '!'?
binaryMessenger: registrar?.messenger() as! FlutterBinaryMessenger)
~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~
!
/Users/narek/development/flutter/.pub-cache/git/sounds-c44ea98323dd99fdf1dca3262e2bce39581c39d2/ios/Classes/SoundPlayer.swift:42:61: warning: forced cast from 'SoundPlayerManager?' to 'FlutterPlugin' only unwraps optionals; did you mean to use '!'?
registrar?.addMethodCallDelegate(soundPlayerManager as! FlutterPlugin, channel: _channel)
~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~
!
/Users/narek/development/flutter/.pub-cache/git/sounds-c44ea98323dd99fdf1dca3262e2bce39581c39d2/ios/Classes/SoundPlayer.swift:37:12: warning: variable '_channel' was never mutated; consider changing to 'let' constant
var _channel = FlutterMethodChannel(
~~~ ^
let
/Users/narek/development/flutter/.pub-cache/git/sounds-c44ea98323dd99fdf1dca3262e2bce39581c39d2/ios/Classes/SoundPlayer.swift:46:38: error: value of type 'Any?' has no subscripts
let slotNo = (call?.arguments["slotNo"] as? NSNumber)?.intValue ?? 0
~~~~~~~~~~~~~~~^
/Users/narek/development/flutter/.pub-cache/git/sounds-c44ea98323dd99fdf1dca3262e2bce39581c39d2/ios/Classes/SoundPlayer.swift:47:35: error: value of type 'Any?' has no subscripts
let test = call?.arguments["slotNo"]
~~~~~~~~~~~~~~~^
/Users/narek/development/flutter/.pub-cache/git/sounds-c44ea98323dd99fdf1dca3262e2bce39581c39d2/ios/Classes/SoundPlayer.swift:72:39: error: value of type 'Any?' has no subscripts
let path = call?.arguments["path"] as? String
~~~~~~~~~~~~~~~^
/Users/narek/development/flutter/.pub-cache/git/sounds-c44ea98323dd99fdf1dca3262e2bce39581c39d2/ios/Classes/SoundPlayer.swift:73:47: error: value of type 'Any?' has no subscripts
let callbackUuid = call?.arguments["callbackUuid"] as? String
~~~~~~~~~~~~~~~^
/Users/narek/development/flutter/.pub-cache/git/sounds-c44ea98323dd99fdf1dca3262e2bce39581c39d2/ios/Classes/SoundPlayer.swift:76:39: error: value of type 'Any?' has no subscripts
let path = call?.arguments["path"] as? String
~~~~~~~~~~~~~~~^
/Users/narek/development/flutter/.pub-cache/git/sounds-c44ea98323dd99fdf1dca3262e2bce39581c39d2/ios/Classes/SoundPlayer.swift:79:45: error: value of type 'Any?' has no subscripts
let dataBuffer = call?.arguments["dataBuffer"] as? FlutterStandardTypedData
~~~~~~~~~~~~~~~^
/Users/narek/development/flutter/.pub-cache/git/sounds-c44ea98323dd99fdf1dca3262e2bce39581c39d2/ios/Classes/SoundPlayer.swift:89:50: error: value of type 'Any?' has no subscripts
let positionInMilli = call?.arguments["milli"] as? NSNumber
~~~~~~~~~~~~~~~^
/Users/narek/development/flutter/.pub-cache/git/sounds-c44ea98323dd99fdf1dca3262e2bce39581c39d2/ios/Classes/SoundPlayer.swift:92:50: error: value of type 'Any?' has no subscripts
let intervalInMilli = call?.arguments["milli"] as? NSNumber
~~~~~~~~~~~~~~~^
/Users/narek/development/flutter/.pub-cache/git/sounds-c44ea98323dd99fdf1dca3262e2bce39581c39d2/ios/Classes/SoundPlayer.swift:95:41: error: value of type 'Any?' has no subscripts
let volume = call?.arguments["volume"] as? NSNumber
~~~~~~~~~~~~~~~^
/Users/narek/development/flutter/.pub-cache/git/sounds-c44ea98323dd99fdf1dca3262e2bce39581c39d2/ios/Classes/SoundPlayer.swift:98:40: error: value of type 'Any?' has no subscripts
let categ = call?.arguments["category"] as? String
~~~~~~~~~~~~~~~^
/Users/narek/development/flutter/.pub-cache/git/sounds-c44ea98323dd99fdf1dca3262e2bce39581c39d2/ios/Classes/SoundPlayer.swift:99:39: error: value of type 'Any?' has no subscripts
let mode = call?.arguments["mode"] as? String
~~~~~~~~~~~~~~~^
/Users/narek/development/flutter/.pub-cache/git/sounds-c44ea98323dd99fdf1dca3262e2bce39581c39d2/ios/Classes/SoundPlayer.swift:100:42: error: value of type 'Any?' has no subscripts
let options = call?.arguments["options"] as? NSNumber
~~~~~~~~~~~~~~~^
/Users/narek/development/flutter/.pub-cache/git/sounds-c44ea98323dd99fdf1dca3262e2bce39581c39d2/ios/Classes/SoundPlayer.swift:103:43: error: value of type 'Any?' has no subscripts
let enabled = (call?.arguments["enabled"] as? NSNumber)?.boolValue ?? false
~~~~~~~~~~~~~~~^
/Users/narek/development/flutter/.pub-cache/git/sounds-c44ea98323dd99fdf1dca3262e2bce39581c39d2/ios/Classes/SoundPlayer.swift:113:9: error: cannot find '_channel' in scope
_channel?.invokeMethod(methodName, arguments: call)
^~~~~~~~
/Users/narek/development/flutter/.pub-cache/git/sounds-c44ea98323dd99fdf1dca3262e2bce39581c39d2/ios/Classes/SoundPlayer.swift:130:85: warning: initialization of 'UnsafeMutablePointer<UInt32>' results in a dangling pointer
status = AudioFileGetProperty(wfileID, kAudioFilePropertyEstimatedDuration, UnsafeMutablePointer<UInt32>(mutating: &thePropSize), UnsafeMutableRawPointer(mutating: &outDataSize))
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/narek/development/flutter/.pub-cache/git/sounds-c44ea98323dd99fdf1dca3262e2bce39581c39d2/ios/Classes/SoundPlayer.swift:130:124: note: implicit argument conversion from 'UInt32' to 'UnsafePointer<UInt32>' produces a pointer valid only for the duration of the call to 'init(mutating:)'
status = AudioFileGetProperty(wfileID, kAudioFilePropertyEstimatedDuration, UnsafeMutablePointer<UInt32>(mutating: &thePropSize), UnsafeMutableRawPointer(mutating: &outDataSize))
^~~~~~~~~~~~
/Users/narek/development/flutter/.pub-cache/git/sounds-c44ea98323dd99fdf1dca3262e2bce39581c39d2/ios/Classes/SoundPlayer.swift:130:124: note: use 'withUnsafePointer' in order to explicitly convert argument to pointer valid for a defined scope
status = AudioFileGetProperty(wfileID, kAudioFilePropertyEstimatedDuration, UnsafeMutablePointer<UInt32>(mutating: &thePropSize), UnsafeMutableRawPointer(mutating: &outDataSize))
^
/Users/narek/development/flutter/.pub-cache/git/sounds-c44ea98323dd99fdf1dca3262e2bce39581c39d2/ios/Classes/SoundPlayer.swift:130:139: warning: initialization of 'UnsafeMutableRawPointer' results in a dangling pointer
status = AudioFileGetProperty(wfileID, kAudioFilePropertyEstimatedDuration, UnsafeMutablePointer<UInt32>(mutating: &thePropSize), UnsafeMutableRawPointer(mutating: &outDataSize))
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/narek/development/flutter/.pub-cache/git/sounds-c44ea98323dd99fdf1dca3262e2bce39581c39d2/ios/Classes/SoundPlayer.swift:130:173: note: implicit argument conversion from 'Float64' (aka 'Double') to 'UnsafeRawPointer' produces a pointer valid only for the duration of the call to 'init(mutating:)'
status = AudioFileGetProperty(wfileID, kAudioFilePropertyEstimatedDuration, UnsafeMutablePointer<UInt32>(mutating: &thePropSize), UnsafeMutableRawPointer(mutating: &outDataSize))
^~~~~~~~~~~~
/Users/narek/development/flutter/.pub-cache/git/sounds-c44ea98323dd99fdf1dca3262e2bce39581c39d2/ios/Classes/SoundPlayer.swift:130:173: note: use 'withUnsafeBytes' in order to explicitly convert argument to buffer pointer valid for a defined scope
status = AudioFileGetProperty(wfileID, kAudioFilePropertyEstimatedDuration, UnsafeMutablePointer<UInt32>(mutating: &thePropSize), UnsafeMutableRawPointer(mutating: &outDataSize))
^
/Users/narek/development/flutter/.pub-cache/git/sounds-c44ea98323dd99fdf1dca3262e2bce39581c39d2/ios/Classes/SoundPlayer.swift:139:90: warning: forced cast from 'String?' to 'CVarArg' only unwraps optionals; did you mean to use '!'?
format: "{\"callbackUuid\": \"%@\", \"milliseconds\": %d}", callbackUuid as! CVarArg, milliseconds)
~~~~~~~~~~~~~^~~~~~~~~~~
!
/Users/narek/development/flutter/.pub-cache/git/sounds-c44ea98323dd99fdf1dca3262e2bce39581c39d2/ios/Classes/SoundPlayer.swift:141:23: error: heterogeneous collection literal could only be inferred to '[String : Any]'; add explicit type annotation if this is intentional
let dic = [
^
/Users/narek/development/flutter/.pub-cache/git/sounds-c44ea98323dd99fdf1dca3262e2bce39581c39d2/ios/Classes/SoundPlayer.swift:149:93: warning: forced cast from 'String?' to 'CVarArg' only unwraps optionals; did you mean to use '!'?
format: "{\"callbackUuid\": \"%@\", \"description\": \"%d\"}", callbackUuid as! CVarArg, Int(status))
~~~~~~~~~~~~~^~~~~~~~~~~
!
/Users/narek/development/flutter/.pub-cache/git/sounds-c44ea98323dd99fdf1dca3262e2bce39581c39d2/ios/Classes/SoundPlayer.swift:150:23: error: heterogeneous collection literal could only be inferred to '[String : Any]'; add explicit type annotation if this is intentional
let dic = [
^
/Users/narek/development/flutter/.pub-cache/git/sounds-c44ea98323dd99fdf1dca3262e2bce39581c39d2/ios/Classes/SoundPlayer.swift:290:60: error: value of optional type 'Double?' must be unwrapped to a value of type 'Double'
let duration = NSNumber(value: Double(audioPlayer?.duration * 1000))
^
/Users/narek/development/flutter/.pub-cache/git/sounds-c44ea98323dd99fdf1dca3262e2bce39581c39d2/ios/Classes/SoundPlayer.swift:290:60: note: coalesce using '??' to provide a default when the optional value contains 'nil'
let duration = NSNumber(value: Double(audioPlayer?.duration * 1000))
^
?? <#default value#>
/Users/narek/development/flutter/.pub-cache/git/sounds-c44ea98323dd99fdf1dca3262e2bce39581c39d2/ios/Classes/SoundPlayer.swift:290:60: note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
let duration = NSNumber(value: Double(audioPlayer?.duration * 1000))
~ ^
!
/Users/narek/development/flutter/.pub-cache/git/sounds-c44ea98323dd99fdf1dca3262e2bce39581c39d2/ios/Classes/SoundPlayer.swift:374:22: error: type 'String' has no member 'playback'
.playback)
~^~~~~~~~
/Users/narek/development/flutter/.pub-cache/git/sounds-c44ea98323dd99fdf1dca3262e2bce39581c39d2/ios/Classes/SoundPlayer.swift:411:30: warning: result of 'FlutterError' initializer is unused
(FlutterError(
^ ~
/Users/narek/development/flutter/.pub-cache/git/sounds-c44ea98323dd99fdf1dca3262e2bce39581c39d2/ios/Classes/SoundPlayer.swift:436:18: warning: result of 'FlutterError' initializer is unused
(FlutterError(
^ ~
/Users/narek/development/flutter/.pub-cache/git/sounds-c44ea98323dd99fdf1dca3262e2bce39581c39d2/ios/Classes/SoundPlayer.swift:450:37: error: static member 'init' cannot be used on instance of type 'FlutterStandardTypedData'
if let data = dataBuffer?.init() {
~~~~~~~~~~^
type(of: )
/Users/narek/development/flutter/.pub-cache/git/sounds-c44ea98323dd99fdf1dca3262e2bce39581c39d2/ios/Classes/SoundPlayer.swift:460:22: error: type 'String' has no member 'playback'
.playback)
~^~~~~~~~
/Users/narek/development/flutter/.pub-cache/git/sounds-c44ea98323dd99fdf1dca3262e2bce39581c39d2/ios/Classes/SoundPlayer.swift:477:14: warning: result of 'FlutterError' initializer is unused
(FlutterError(
^ ~
/Users/narek/development/flutter/.pub-cache/git/sounds-c44ea98323dd99fdf1dca3262e2bce39581c39d2/ios/Classes/SoundPlayer.swift:525:25: error: 'AVAudioSession.Category' (aka 'NSString') is not implicitly convertible to 'String'; did you mean to use 'as' to explicitly convert?
AVAudioSession.Category(categ /* AVAudioSessionCategoryPlayback */),
^
as String
/Users/narek/development/flutter/.pub-cache/git/sounds-c44ea98323dd99fdf1dca3262e2bce39581c39d2/ios/Classes/SoundPlayer.swift:526:31: error: 'AVAudioSession.Mode' (aka 'NSString') is not implicitly convertible to 'String'; did you mean to use 'as' to explicitly convert?
mode: AVAudioSession.Mode(mode),
^
as String
/Users/narek/development/flutter/.pub-cache/git/sounds-c44ea98323dd99fdf1dca3262e2bce39581c39d2/ios/Classes/SoundPlayer.swift:525:49: error: missing argument label 'string:' in call
AVAudioSession.Category(categ /* AVAudioSessionCategoryPlayback */),
^
string:
/Users/narek/development/flutter/.pub-cache/git/sounds-c44ea98323dd99fdf1dca3262e2bce39581c39d2/ios/Classes/SoundPlayer.swift:525:49: error: value of optional type 'String?' must be unwrapped to a value of type 'String'
AVAudioSession.Category(categ /* AVAudioSessionCategoryPlayback */),
^
/Users/narek/development/flutter/.pub-cache/git/sounds-c44ea98323dd99fdf1dca3262e2bce39581c39d2/ios/Classes/SoundPlayer.swift:525:49: note: coalesce using '??' to provide a default when the optional value contains 'nil'
AVAudioSession.Category(categ /* AVAudioSessionCategoryPlayback */),
^
?? <#default value#>
/Users/narek/development/flutter/.pub-cache/git/sounds-c44ea98323dd99fdf1dca3262e2bce39581c39d2/ios/Classes/SoundPlayer.swift:525:49: note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
AVAudioSession.Category(categ /* AVAudioSessionCategoryPlayback */),
^
!
/Users/narek/development/flutter/.pub-cache/git/sounds-c44ea98323dd99fdf1dca3262e2bce39581c39d2/ios/Classes/SoundPlayer.swift:526:51: error: missing argument label 'string:' in call
mode: AVAudioSession.Mode(mode),
^
string:
/Users/narek/development/flutter/.pub-cache/git/sounds-c44ea98323dd99fdf1dca3262e2bce39581c39d2/ios/Classes/SoundPlayer.swift:526:51: error: value of optional type 'String?' must be unwrapped to a value of type 'String'
mode: AVAudioSession.Mode(mode),
^
/Users/narek/development/flutter/.pub-cache/git/sounds-c44ea98323dd99fdf1dca3262e2bce39581c39d2/ios/Classes/SoundPlayer.swift:526:51: note: coalesce using '??' to provide a default when the optional value contains 'nil'
mode: AVAudioSession.Mode(mode),
^
?? <#default value#>
/Users/narek/development/flutter/.pub-cache/git/sounds-c44ea98323dd99fdf1dca3262e2bce39581c39d2/ios/Classes/SoundPlayer.swift:526:51: note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
mode: AVAudioSession.Mode(mode),
^
!
/Users/narek/development/flutter/.pub-cache/git/sounds-c44ea98323dd99fdf1dca3262e2bce39581c39d2/ios/Classes/SoundPlayer.swift:527:75: error: cannot convert value of type 'Int' to expected argument type 'UInt'
options: AVAudioSession.CategoryOptions(rawValue: options))
^
UInt( )
/Users/narek/development/flutter/.pub-cache/git/sounds-c44ea98323dd99fdf1dca3262e2bce39581c39d2/ios/Classes/SoundPlayer.swift:577:19: error: heterogeneous collection literal could only be inferred to '[String : Any]'; add explicit type annotation if this is intentional
let dic = [
^
/Users/narek/development/flutter/.pub-cache/git/sounds-c44ea98323dd99fdf1dca3262e2bce39581c39d2/ios/Classes/ShadePlayer.swift:50:101: error: editor placeholder in source file
registrar?.addMethodCallDelegate(shadePlayerManager as! FlutterPlugin, channel: _channel ?? <#default value#>)
^
/Users/narek/development/flutter/.pub-cache/git/sounds-c44ea98323dd99fdf1dca3262e2bce39581c39d2/ios/Classes/ShadePlayer.swift:63:46: error: editor placeholder in source file
_channel?.invokeMethod(methodName ?? <#default value#>, arguments: call)
^
/Users/narek/development/flutter/.pub-cache/git/sounds-c44ea98323dd99fdf1dca3262e2bce39581c39d2/ios/Classes/SoundPlayer.swift:291:78: error: editor placeholder in source file
let currentTime = NSNumber(value: Double(audioPlayer?.currentTime ?? <#default value#> * 1000))
^
/Users/narek/development/flutter/.pub-cache/git/sounds-c44ea98323dd99fdf1dca3262e2bce39581c39d2/ios/Classes/SoundRecorder.swift:51:85: error: editor placeholder in source file
registrar.addMethodCallDelegate(soundRecorderManager!, channel: _channel ?? <#default value#>)
^
/Users/narek/development/flutter/.pub-cache/git/sounds-c44ea98323dd99fdf1dca3262e2bce39581c39d2/ios/Classes/SoundRecorder.swift:97:46: error: editor placeholder in source file
_channel?.invokeMethod(methodName ?? <#default value#>, arguments: call)
^
/Users/narek/development/flutter/.pub-cache/git/sounds-c44ea98323dd99fdf1dca3262e2bce39581c39d2/ios/Classes/SoundRecorder.swift:263:81: error: editor placeholder in source file
let currentTime = NSNumber(value: Double?(audioRecorder?.currentTime ?? <#default value#> * 1000) ?? <#default value#>)
^
/Users/narek/development/flutter/.pub-cache/git/sounds-c44ea98323dd99fdf1dca3262e2bce39581c39d2/ios/Classes/SoundRecorder.swift:263:110: error: editor placeholder in source file
let currentTime = NSNumber(value: Double?(audioRecorder?.currentTime ?? <#default value#> * 1000) ?? <#default value#>)
^
/Users/narek/development/flutter/.pub-cache/git/sounds-c44ea98323dd99fdf1dca3262e2bce39581c39d2/ios/Classes/SoundRecorder.swift:66:22: error: referencing operator function '>=' on 'BinaryInteger' requires that 'NSNumber' conform to 'BinaryInteger'
while slotNo >= (soundRecorderSlots?.count ?? 0) {
^
Swift.BinaryInteger:1:11: note: where 'Self' = 'NSNumber'
extension BinaryInteger {
^
/Users/narek/development/flutter/.pub-cache/git/sounds-c44ea98323dd99fdf1dca3262e2bce39581c39d2/ios/Classes/SoundRecorder.swift:70:49: error: subscript 'subscript(_:)' requires that 'NSNumber' conform to 'RangeExpression'
var aSoundRecorder = soundRecorderSlots?[slotNo] as? SoundRecorder
^
Swift.MutableCollection:2:23: note: where 'R' = 'NSNumber'
@inlinable public subscript<R>(r: R) -> Self.SubSequence where R : RangeExpression, Self.Index == R.Bound { get set }
^
/Users/narek/development/flutter/.pub-cache/git/sounds-c44ea98323dd99fdf1dca3262e2bce39581c39d2/ios/Classes/SoundRecorder.swift:73:39: error: subscript 'subscript(_:)' requires that 'NSNumber' conform to 'RangeExpression'
assert(soundRecorderSlots?[slotNo] == NSNull())
^
Swift.MutableCollection:2:23: note: where 'R' = 'NSNumber'
@inlinable public subscript<R>(r: R) -> Self.SubSequence where R : RangeExpression, Self.Index == R.Bound { get set }
^
/Users/narek/development/flutter/.pub-cache/git/sounds-c44ea98323dd99fdf1dca3262e2bce39581c39d2/ios/Classes/SoundRecorder.swift:167:22: error: type 'String' has no member 'playAndRecord'
.playAndRecord,
~^~~~~~~~~~~~~
/Users/narek/development/flutter/.pub-cache/git/sounds-c44ea98323dd99fdf1dca3262e2bce39581c39d2/ios/Classes/SoundRecorder.swift:177:58: error: cannot find 'AVAudioSessionPortOverrideSpeaker' in scope
try audioSession.overrideOutputAudioPort(AVAudioSessionPortOverrideSpeaker)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/narek/development/flutter/.pub-cache/git/sounds-c44ea98323dd99fdf1dca3262e2bce39581c39d2/ios/Classes/SoundRecorder.swift:186:83: warning: conditional cast from '[String : NSNumber]' to '[String : Any]' always succeeds
if let audioFileURL = audioFileURL, let audioSettings = audioSettings as? [String : Any] {
^
/Users/narek/development/flutter/.pub-cache/git/sounds-c44ea98323dd99fdf1dca3262e2bce39581c39d2/ios/Classes/SoundRecorder.swift:303:18: error: type 'ExpressibleByStringLiteral' does not conform to protocol 'Hashable'
var dic: [ExpressibleByStringLiteral : NSNumber]? = nil
^
/Users/narek/development/flutter/.pub-cache/git/sounds-c44ea98323dd99fdf1dca3262e2bce39581c39d2/ios/Classes/SoundRecorder.swift:303:19: error: protocol 'ExpressibleByStringLiteral' can only be used as a generic constraint because it has Self or associated type requirements
var dic: [ExpressibleByStringLiteral : NSNumber]? = nil
^
/Users/narek/development/flutter/.pub-cache/git/sounds-c44ea98323dd99fdf1dca3262e2bce39581c39d2/ios/Classes/SoundRecorder.swift:310:60: error: cannot convert value of type '[ExpressibleByStringLiteral : NSNumber]?' to expected argument type '[AnyHashable : Any]?'
getPlugin()?.invokeCallback(methodName, arguments: dic)
^
/Users/narek/development/flutter/.pub-cache/git/sounds-c44ea98323dd99fdf1dca3262e2bce39581c39d2/ios/Classes/SoundRecorder.swift:310:60: note: arguments to generic parameter 'Key' ('ExpressibleByStringLiteral' and 'AnyHashable') are expected to be equal
getPlugin()?.invokeCallback(methodName, arguments: dic)
^
/Users/narek/development/flutter/.pub-cache/git/sounds-c44ea98323dd99fdf1dca3262e2bce39581c39d2/ios/Classes/SoundRecorder.swift:310:60: note: arguments to generic parameter 'Value' ('NSNumber' and 'Any') are expected to be equal
getPlugin()?.invokeCallback(methodName, arguments: dic)
^
/Users/narek/development/flutter/.pub-cache/git/sounds-c44ea98323dd99fdf1dca3262e2bce39581c39d2/ios/Classes/ShadePlayer.swift:50:101: error: editor placeholder in source file
registrar?.addMethodCallDelegate(shadePlayerManager as! FlutterPlugin, channel: _channel ?? <#default value#>)
^
/Users/narek/development/flutter/.pub-cache/git/sounds-c44ea98323dd99fdf1dca3262e2bce39581c39d2/ios/Classes/ShadePlayer.swift:63:46: error: editor placeholder in source file
_channel?.invokeMethod(methodName ?? <#default value#>, arguments: call)
^
/Users/narek/development/flutter/.pub-cache/git/sounds-c44ea98323dd99fdf1dca3262e2bce39581c39d2/ios/Classes/SoundPlayer.swift:291:78: error: editor placeholder in source file
let currentTime = NSNumber(value: Double(audioPlayer?.currentTime ?? <#default value#> * 1000))
^
/Users/narek/development/flutter/.pub-cache/git/sounds-c44ea98323dd99fdf1dca3262e2bce39581c39d2/ios/Classes/SoundRecorder.swift:51:85: error: editor placeholder in source file
registrar.addMethodCallDelegate(soundRecorderManager!, channel: _channel ?? <#default value#>)
^
/Users/narek/development/flutter/.pub-cache/git/sounds-c44ea98323dd99fdf1dca3262e2bce39581c39d2/ios/Classes/SoundRecorder.swift:97:46: error: editor placeholder in source file
_channel?.invokeMethod(methodName ?? <#default value#>, arguments: call)
^
/Users/narek/development/flutter/.pub-cache/git/sounds-c44ea98323dd99fdf1dca3262e2bce39581c39d2/ios/Classes/SoundRecorder.swift:263:81: error: editor placeholder in source file
let currentTime = NSNumber(value: Double?(audioRecorder?.currentTime ?? <#default value#> * 1000) ?? <#default value#>)
^
/Users/narek/development/flutter/.pub-cache/git/sounds-c44ea98323dd99fdf1dca3262e2bce39581c39d2/ios/Classes/SoundRecorder.swift:263:110: error: editor placeholder in source file
let currentTime = NSNumber(value: Double?(audioRecorder?.currentTime ?? <#default value#> * 1000) ?? <#default value#>)
^
/Users/narek/development/flutter/.pub-cache/git/sounds-c44ea98323dd99fdf1dca3262e2bce39581c39d2/ios/Classes/ShadePlayer.swift:50:101: error: editor placeholder in source file
registrar?.addMethodCallDelegate(shadePlayerManager as! FlutterPlugin, channel: _channel ?? <#default value#>)
^
/Users/narek/development/flutter/.pub-cache/git/sounds-c44ea98323dd99fdf1dca3262e2bce39581c39d2/ios/Classes/ShadePlayer.swift:63:46: error: editor placeholder in source file
_channel?.invokeMethod(methodName ?? <#default value#>, arguments: call)
^
/Users/narek/development/flutter/.pub-cache/git/sounds-c44ea98323dd99fdf1dca3262e2bce39581c39d2/ios/Classes/SoundPlayer.swift:291:78: error: editor placeholder in source file
let currentTime = NSNumber(value: Double(audioPlayer?.currentTime ?? <#default value#> * 1000))
^
/Users/narek/development/flutter/.pub-cache/git/sounds-c44ea98323dd99fdf1dca3262e2bce39581c39d2/ios/Classes/SoundRecorder.swift:51:85: error: editor placeholder in source file
registrar.addMethodCallDelegate(soundRecorderManager!, channel: _channel ?? <#default value#>)
^
/Users/narek/development/flutter/.pub-cache/git/sounds-c44ea98323dd99fdf1dca3262e2bce39581c39d2/ios/Classes/SoundRecorder.swift:97:46: error: editor placeholder in source file
_channel?.invokeMethod(methodName ?? <#default value#>, arguments: call)
^
/Users/narek/development/flutter/.pub-cache/git/sounds-c44ea98323dd99fdf1dca3262e2bce39581c39d2/ios/Classes/SoundRecorder.swift:263:81: error: editor placeholder in source file
let currentTime = NSNumber(value: Double?(audioRecorder?.currentTime ?? <#default value#> * 1000) ?? <#default value#>)
^
/Users/narek/development/flutter/.pub-cache/git/sounds-c44ea98323dd99fdf1dca3262e2bce39581c39d2/ios/Classes/SoundRecorder.swift:263:110: error: editor placeholder in source file
let currentTime = NSNumber(value: Double?(audioRecorder?.currentTime ?? <#default value#> * 1000) ?? <#default value#>)
^
Command CompileSwift failed with a nonzero exit code
Command CompileSwift failed with a nonzero exit code
Command CompileSwift failed with a nonzero exit code
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
Could not build the application for the simulator.
Error launching application on iPhone 8.
flutter doctor :
Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel stable, 2.0.3, on macOS 11.2.3 20D91 darwin-x64, locale en-AM)
[✓] Android toolchain - develop for Android devices (Android SDK version 30.0.3)
[✓] Xcode - develop for iOS and macOS
[✓] Chrome - develop for the web
[✓] Android Studio
[✓] VS Code (version 1.54.3)
[✓] Connected device (2 available)
• No issues found!
The text was updated successfully, but these errors were encountered:
After installing this lib and trying to run in ios simulator app crashes
flutter doctor :
The text was updated successfully, but these errors were encountered: