title: Command failed due to signal: Segmentation fault: 11 swift 3
body: <p>just updated my Xcode and got this error in one of my previous project i searched around a bit and found <a href="https://stackoverflow.com/questions/32645533/xcode-7-compile-error-command-failed-due-to-signal-segmentation-fault-11">this</a> 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 :</p>
  
  <pre><code>Command failed due to signal: Segmentation fault: 11
  </code></pre>
  
  <p>and error's logs contains <a href="http://pastebin.com/TVRPFJaP" rel="nofollow noreferrer">this</a> class's name and this class is the part of </p>
  
  <p><a href="https://github.com/dogo/SCLAlertView" rel="nofollow noreferrer">this Library</a></p>
  
  <p>anyone have faced any similar problem ??</p>
  
  <p>i got some lead . my error is pointing to a line :</p>
  
  <pre><code> While emitting IR SIL function @_TFC12SCLAlertView12SCLAlertView16viewDidDisappearfSbT_ for 'viewDidDisappear' at mydirectorytoproject/mProject/Pods/SCLAlertView/SCLAlertView/SCLAlertView.swift:379:19
  </code></pre>
  
  <p>here's the line 379 on my class:</p>
  
  <pre><code>override open func viewDidDisappear(_ animated: Bool) {
      super.viewDidDisappear(animated)
      NotificationCenter.default.removeObserver(NSNotification.Name.UIKeyboardWillShow)
      NotificationCenter.default.removeObserver(NSNotification.Name.UIKeyboardWillHide)
  </code></pre>
  
  <p>}</p>