I just updated to XCode Beta 3 and I had to change every single array in the application because arrays are now defined differently than before. But I do not think this is the problem. The application runs with no compile errors or warnings.
The application crash here:
extension SKNode { class func unarchiveFromFile(file : NSString) -> SKNode? { // CRASH let path = NSBundle.mainBundle().pathForResource(file, ofType: "sks") var sceneData = NSData.dataWithContentsOfFile(path, options: .DataReadingMappedIfSafe, error: nil) var archiver = NSKeyedUnarchiver(forReadingWithData: sceneData) archiver.setClass(self.classForKeyedUnarchiver(), forClassName: "SKScene") let scene = archiver.decodeObjectForKey(NSKeyedArchiveRootObjectKey) as GameScene archiver.finishDecoding() return scene } } What has happend?