I'm having a problem where my (simple) iOS app builds fine, says running but on the simulator I just get a blank screen. In xCode, it still says "Running XXXX on iPhone 5.0 Simulator" but also give a "Thread 1: signal SIGABRT";
There are no readable errors in the bottom window, just:
argc = (int) 1
argc = (char **) 0xbffff578
It has been absolutely fine until now. I had the problem after trying to swap out a few images and their @2x versions for ones that I'd slightly tweaked.
I've done a clean and I have cleaned the build folder. I have also emptied the DerivedData folder and tried rebooting. I've tried to add breakpoints in my AppDelegate in the didFinishLaunchingWithOptions method, but it seems to never reach them.
Pretty much run out of things I can think of to try.
Debug Navigator:
Edit:
When I comment out:
@property (strong, nonatomic) UIWindow *window;
from @interface AppDelegate
and comment out
@synthesize window = _window;
from @implementation AppDelegate, it loads fine albeit with a blank screen because I guess the window is not loading.
ctrl+cmd+z. Click the reload button image.
Launch command is used to launch a application in your simulator device.
This might help you as it helped me
Xcode->Product->Edit Scheme
here you can see "Executables" set here "yourappname.app" and it will start working quite fine
Extending on Ashar's answer (as it worked for me).
First click into "Edit Scheme", pictured below.
Then in the popup that appears, click Run [Your App Name] and set the Executable dropdown menu to [Your App Name].app, pictured below.
This fixed the issue for me. Hope it helps.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With