just updated my Xcode and got this error in one of my previous project i searched around a bit and found this question according to that question this is Xcode bug. i dont have any idea how to fix it cause the error message is not giving me any clue about the error and why its occurring. so far what i have is this :
Command failed due to signal: Segmentation fault: 11
and error's logs contains this class's name and this class is the part of
anyone have faced any similar problem ??
i got some lead . my error is pointing to a line :
While emitting IR SIL function @_TFC12SCLAlertView12SCLAlertView16viewDidDisappearfSbT_ for 'viewDidDisappear' at mydirectorytoproject/mProject/Pods/SCLAlertView/SCLAlertView/SCLAlertView.swift:379:19
here's the line 379 on my class:
override open func viewDidDisappear(_ animated: Bool) {
super.viewDidDisappear(animated)
NotificationCenter.default.removeObserver(NSNotification.Name.UIKeyboardWillShow)
NotificationCenter.default.removeObserver(NSNotification.Name.UIKeyboardWillHide)
}