title: xCode Build Failed: Command failed due to signal: Segmentation fault: 11
body: <p>I'm getting an error in xCode stating: </p>
  
  <pre><code>Command failed due to signal: Segmentation fault: 11
  </code></pre>
  
  <p>The line is occuring on line 55:</p>
  
  <pre><code>While emitting SIL for 'saveScore' at /Users/mobiledev/Desktop/Salt Armour App/SADiver/SADiver/objGameOver.swift:55:2
  </code></pre>
  
  <p>...and line 55 is:</p>
  
  <pre><code>    func saveScore()
  </code></pre>
  
  <p>However I still have no idea what can be done to resolve this. </p>
  
  <h2>Full Source:</h2>
  
  <p><a href="http://pastebin.com/LUvLaARJ" rel="nofollow">http://pastebin.com/LUvLaARJ</a></p>
  
  <p>P.S. </p>
  
  <p>I found two other articles related to this error on SO - however neither scenario seems to apply here :/ </p>
  
  <p>Any input/suggestions/tips are greatly appreciated. </p>