iOS build failed after adding the plugin nativescript-cfalert-dialog


#1

iOS build failed after this plugin nativescript-cfalert-dialog, Android builds successfully.

Xcode build…
platforms/ios/Pods/Toaster/Sources/ToastWindow.swift:108:16: error: ‘dynamic’ instance method ‘statusBarOrientationWillChange()’ must also be '@objc
dynamic func statusBarOrientationWillChange() {

@objc
platforms/ios/Pods/Toaster/Sources/ToastWindow.swift:112:16: error: 'dynamic' instance method 'statusBarOrientationDidChange()' must also be '@objc'
dynamic func statusBarOrientationDidChange() {
~~~~~~~      ^
@objc
platforms/ios/Pods/Toaster/Sources/ToastCenter.swift:69:16: error: 'dynamic' instance method 'deviceOrientationDidChange()' must also be '@objc'
dynamic func deviceOrientationDidChange() {
~~~~~~~      ^
@objc
platforms/ios/Pods/Toaster/Sources/ToastView.swift:41:20: error: 'dynamic' var 'cornerRadius' must also be '@objc'
open dynamic var cornerRadius: CGFloat {
     ~~~~~~~     ^
@objc
/platforms/ios/Pods/Toaster/Sources/ToastView.swift:47:20: error: 'dynamic' var 'textInsets' must also be '@objc'
open dynamic var textInsets = UIEdgeInsets(top: 6, left: 10, bottom: 6, right: 10)
     ~~~~~~~     ^
@objc
platforms/ios/Pods/Toaster/Sources/ToastView.swift:50:20: error: 'dynamic' var 'textColor' must also be '@objc'
open dynamic var textColor: UIColor? {
     ~~~~~~~     ^
@objc
platforms/ios/Pods/Toaster/Sources/ToastView.swift:56:20: error: 'dynamic' var 'font' must also be '@objc'
open dynamic var font: UIFont? {
     ~~~~~~~     ^
@objc
platforms/ios/Pods/Toaster/Sources/ToastView.swift:62:20: error: 'dynamic' var 'bottomOffsetPortrait' must also be '@objc'
open dynamic var bottomOffsetPortrait: CGFloat = {
     ~~~~~~~     ^
@objc
platforms/ios/Pods/Toaster/Sources/ToastView.swift:73:20: error: 'dynamic' var 'bottomOffsetLandscape' must also be '@objc'
open dynamic var bottomOffsetLandscape: CGFloat = {
     ~~~~~~~     ^
@objc
platforms/ios/Pods/Toaster/Sources/ToastWindow.swift:108:16: error: 'dynamic' instance method 'statusBarOrientationWillChange()' must also be '@objc'
dynamic func statusBarOrientationWillChange() {
~~~~~~~      ^
@objc
platforms/ios/Pods/Toaster/Sources/ToastWindow.swift:112:16: error: 'dynamic' instance method 'statusBarOrientationDidChange()' must also be '@objc'
dynamic func statusBarOrientationDidChange() {
~~~~~~~      ^
@objc
platforms/ios/Pods/Toaster/Sources/ToastWindow.swift:72:17: error: argument of '#selector' refers to instance method 'bringWindowToTop' that is not exposed to Objective-C
    selector: #selector(self.bringWindowToTop),
              ^              ~~~~~~~~~~~~~~~~
platforms/ios/Pods/Toaster/Sources/ToastWindow.swift:101:8: note: add '@objc' to expose this instance method to Objective-C
func bringWindowToTop(_ notification: Notification) {
     ^
@objc
platforms/ios/Pods/Toaster/Sources/ToastWindow.swift:90:17: error: argument of '#selector' refers to instance method 'applicationDidBecomeActive()' that is not exposed to Objective-C
    selector: #selector(self.applicationDidBecomeActive),
              ^              ~~~~~~~~~~~~~~~~~~~~~~~~~~
/platforms/ios/Pods/Toaster/Sources/ToastWindow.swift:118:8: note: add '@objc' to expose this instance method to Objective-C
func applicationDidBecomeActive() {
     ^
@objc
** BUILD FAILED **

Command xcodebuild failed with exit code 65