-
Notifications
You must be signed in to change notification settings - Fork 127
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
1.7.3 Flutter run on IOS error #58
Comments
I'm also having this issue |
1 similar comment
I'm also having this issue |
I have the same issue |
Can't you just upgrade to the latest stable flutter version? |
Is someone working on that issue? |
Can someone solve this. We cant build with this bug |
I'm also having this issue |
Same, can't build with this bug |
I'm on Flutter 1.20.1 and am getting this error. |
you can follow the modifications below |
@SnowLittleStone that seems to have done the trick, thank you! |
swift version cause it! |
merge it with master |
when i use Flutter 1.7.3, flutter run appear the following error
/Users/yfb/flutter/.pub-cache/hosted/pub.flutter-io.cn/audio_recorder-1.0.2/ios/Classes/SwiftAudioRecorderPlugin.swift:39:108: error:
'AVAudioSessionCategoryOptions' has been renamed to 'AVAudioSession.CategoryOptions'
try AVAudioSession.sharedInstance().setCategory(AVAudioSessionCategoryPlayAndRecord, with:
AVAudioSessionCategoryOptions.defaultToSpeaker)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
AVAudioSession.CategoryOptions
AVFoundation.AVAudioSessionCategoryOptions:2:18: note: 'AVAudioSessionCategoryOptions' was obsoleted in Swift 4.2
public typealias AVAudioSessionCategoryOptions = AVAudioSession.CategoryOptions
^
/Users/yfb/flutter/.pub-cache/hosted/pub.flutter-io.cn/audio_recorder-1.0.2/ios/Classes/SwiftAudioRecorderPlugin.swift:67:52: error: cannot call value
of non-function type 'AVAudioSession.RecordPermission'
switch AVAudioSession.sharedInstance().recordPermission(){
The text was updated successfully, but these errors were encountered: