title: Xcode: Persistent Segmentation fault:11 when using Firebase
body: <p>I'm getting mad with </p>
  
  <blockquote>
    <p>Command failed due to signal: Segmentation fault:11</p>
  </blockquote>
  
  <p>When I use Firebase in my project.</p>
  
  <p>I read multiple question here about this Xcode bug, but it's terribly persisent when using Firebase.</p>
  
  <p>I tried many solutions like cleaning the project, rebuilding, disabling bitcode, deleting derived data etc.</p>
  
  <p>My code:</p>
  
  <pre><code>   @IBAction func saveBook(sender: UIBarButtonItem) {
  
  
      var arrayOfNames : [String] = [String]()
      for i in 0 ..&lt; 6 {
          let indexPath = NSIndexPath(forRow:i, inSection:0)
          let cell : LongNameTableViewCell? = self.tableView.cellForRowAtIndexPath(indexPath) as! LongNameTableViewCell?
          if let item = cell?.textField.text {
              arrayOfNames.append(item)
          }
      }
  
     self.ref.child("books").childByAutoId().setValue(["title": arrayOfNames[0], "author": arrayOfNames[1], "pages_count":arrayOfNames[2]])
     self.dismissViewControllerAnimated(true, completion: nil)
  
  }
  </code></pre>