flutter_call_kit icon indicating copy to clipboard operation
flutter_call_kit copied to clipboard

IOS 15. and xcode 13 flutter call kit have issue

Open CopperJam-git opened this issue 4 years ago • 2 comments

Command CompileSwiftSources failed with a nonzero exit code Undefined symbols for architecture x86_64: "_AVAudioSessionInterruptionTypeKey", referenced from: -[FlutterCallKitPlugin provider:didActivateAudioSession:] in FlutterCallKitPlugin.o "_AVAudioSessionInterruptionNotification", referenced from: -[FlutterCallKitPlugin provider:didActivateAudioSession:] in FlutterCallKitPlugin.o "_AVAudioSessionCategoryPlayAndRecord", referenced from: -[FlutterCallKitPlugin configureAudioSession] in FlutterCallKitPlugin.o "_AVAudioSessionInterruptionOptionKey", referenced from: -[FlutterCallKitPlugin provider:didActivateAudioSession:] in FlutterCallKitPlugin.o "OBJC_CLASS$_AVAudioSession", referenced from: objc-class-ref in FlutterCallKitPlugin.o "_AVAudioSessionModeVoiceChat", referenced from: -[FlutterCallKitPlugin configureAudioSession] in FlutterCallKitPlugin.o ld: symbol(s) not found for architecture x86_64 clang: error: linker command failed with exit code 1 (use -v to see invocation) Command CompileSwiftSources failed with a nonzero exit code

CopperJam-git avatar Sep 30 '21 11:09 CopperJam-git

Hello,

I'm also facing the same issue. Any update on the fixes.

Thanks

elango avatar Oct 11 '21 07:10 elango

Hello,

You can fork the project, and add

#import <AVFoundation/AVAudioSession.h>

in file "ios/Classes/FlutterCallKitPlugin.m"

I think it's a regression. If i put this line, my project works :)

Look this last bug fix : https://github.com/peerwaya/flutter_call_kit/pull/27/commits/8451138dd5ec2f40d8c00695c75c7e5e29269f92

kmoreau avatar Nov 08 '21 11:11 kmoreau