flutter_callkit_incoming icon indicating copy to clipboard operation
flutter_callkit_incoming copied to clipboard

iOS Crash

Open rlee1990 opened this issue 1 year ago • 3 comments

I keep getting the below error. I am using flutter stable 3.3.0:

Could not build the precompiled application for the device.
Swift Compiler Error (Xcode): 'interaction' is only available in iOS 10.0 or newer
/Users/rickeylee/Desktop/dev/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_callkit_incoming-1.0.2+2/ios/Classes/NSUserActivity.swift:14:28
2

Swift Compiler Error (Xcode): 'contacts' is only available in iOS 10.0 or newer
/Users/rickeylee/Desktop/dev/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_callkit_incoming-1.0.2+2/ios/Classes/NSUserActivity.swift:16:40

Swift Compiler Error (Xcode): 'interaction' is only available in iOS 10.0 or newer
/Users/rickeylee/Desktop/dev/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_callkit_incoming-1.0.2+2/ios/Classes/NSUserActivity.swift:26:28

Swift Compiler Error (Xcode): 'INStartVideoCallIntent' is only available in iOS 10.0 or newer
/Users/rickeylee/Desktop/dev/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_callkit_incoming-1.0.2+2/ios/Classes/NSUserActivity.swift:32:34

Uncategorized (Xcode): Command CompileSwiftSources failed with a nonzero exit code
2

Error launching application on rickey lee’s iPhone.

rlee1990 avatar Sep 02 '22 15:09 rlee1990

Please using iOS >10

hiennguyen92 avatar Sep 03 '22 01:09 hiennguyen92

Please using iOS >10

I already am. I'm on iOS 14 for the project and the device has iOS 15. You need to upgrade this package to support flutter 3+

rlee1990 avatar Sep 03 '22 12:09 rlee1990

Ok. Let me check

hiennguyen92 avatar Sep 03 '22 12:09 hiennguyen92

i tested and it works fine on Flutter 3 make sure clear cache and flutter pub get

hiennguyen92 avatar Sep 12 '22 06:09 hiennguyen92