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