Posts

Post not yet marked as solved
1 Replies
390 Views
I'm very new to Swift and Xcode- teaching myself from youTube, forums, and appCoda. I'm using Xcode 10.I find that I constantly have to throw away projects and start from scratch, always for the same reason: I have some code that works great in the simulator. Then I add something to it that causes a sigabrt when I run the sim again. Then I remove the problem code, but I can still never get any code to work- ever again- in that project- even if I delete EVERYTHING and start completely new with the working bit of code. I can copy and paste the working code from that project into a new one and it works fine, but I can never again get any code to run in the old project once a sigabrt has been generated- it will always generate sigabrt no matter what I do.There has to be something I'm missing, because what this means for me is that I can never make a single error in a project or I will have to start again in a new project, and that's awful.I have googled myself silly over this and can't find anything like this. Is there something I'm supposed to do to reset a project, or something like that, after removing the sigabrt-causing code?
Posted
by BirdBrain.
Last updated
.
Post not yet marked as solved
0 Replies
310 Views
Hi! I just built my very first tiny game in Xcode using only buttons and labels (I followed a choose your own adventure game youtube tutorial), and when I go to run it, it says the build was successful, but the device simulators (all of them) have a black screen when I try to run it (although the desktop screen looks normal). Same thing happens when I connect my iPhone to run it there.I have never written a line of code in my life, know almost nothing about computers and nothing about programming, and I was really proud of myself for getting this far (especially since I had to navigate problems and differences between the instructor's version of Xcode and my version, which is 10), but now I can't run my game! Can anyone help me figure out where I went wrong? And please explain it like to a 5-year-old. Thanks!
Posted
by BirdBrain.
Last updated
.