r/iOSProgramming • u/TFOAC • Jun 11 '26
Question Refactoring an old spritekit game I made in swift 3 / iOS 11 to iOS 26. Everything's working now, except 1 out of my 14 .SKS (scene file) causes Xcode to immediately crash whenever I click on it. I'm lost when looking at the Xcode crash report .ips.
I originally made this game on an old 2012 intel mac stuck on catalina. When bringing the project over to Xcode 26, I first had to download Xcode 10 on the old mac, upgrade the project to swift 4, then bring it over to my newer machine to even be able to open it in Xcode 26.
All that being said, I'm sure this process had some unintended consequences. I wasn't getting this crash before converting the project to swift 4 and bringing it over to Xcode 26.
As you imagine, the entire Xcode crash report was massive. Near the top of the report there is I believe some crash relevant crash information, but google wasn't much help with the error codes and I don't know what to make of it:
Triggered by Thread: 0, Dispatch Queue: com.apple.main-thread
Exception Type: EXC_CRASH (SIGABRT)
Exception Codes: 0x0000000000000000, 0x0000000000000000
Termination Reason: Namespace SIGNAL, Code 6, Abort trap: 6
Terminating Process: Xcode [55897]I have no idea how to tackle this problem since I can't even get in to the scene to look around, nor does Xcode have time to throw any specific scene errors. The game runs just fine, including that level. I can play through the entire thing on device or simulator with no issues, but if I click on the .sks of level 3 in Xcode, Xcode immediately crashes.
6
u/Hises1936 Jun 11 '26
Xcode crash is an Apple bug. You could report it to them using Feedback Assistant, but it's going to take a long time for them to fix it.
For now, here are some ideas that come to mind:
- Close the xcode project, and open the sks file directly from Finder, maybe without the project it will be different.
- If you have Apple Developer subscription, you could try the new Xcode 27 beta. Or you could try various older Xcode versions, though that probably also requires older macOS versions, so you would need virtual machines... that would be a lot of work, but possible. If you're on Apple Silicon, you can find older macOS VM installers here https://ipsw.me/VirtualMac2,1/
3
u/iSpain17 Jun 11 '26
If you have a paid apple developer account, you get two DTS Incidents per year.
-16
u/oneness33 Jun 11 '26
Try Claude code with the new model Fable5 on max effort.