iOS: Instruments hangs for App launch template for simulator - ios

When I try to use the App Launch profiling to understand the launch time activity using the simulator, it hangs.
It exactly hangs when I start recording, a screen saying
"Analsying.. Inhibiting Data Aquistion"
is shown. Nothing happens then. How to fix that?

Related

iOS app hangs when tapped

My app occasional hangs when opening/awakening from the background. I'll tap the icon and it takes about 10 secs to even open the loading screen. It's mainly with a slow internet connection, but I would think the loading screen would come up first.
The app isn't in the store yet, it's just on my phone through the simulator, would this cause any issues? It only happens after it's been sent to the background and then re-activated.
Any ideas, sorry to be a little vague?
I'm not getting any errors and I don't have any code in the AppDelegate file.
Try to run it in instrument. There must be memory leaks.
Xcode > Open Developer Tool > Instruments

Black screen showing instead of LaunchScreen.xib

I'm trying to make my file LaunchScreen.xib show as the launch screen of my app. Whenever I run the app for the first time (where you run the app, and the simulator loads up for the first time), the splash screen is not shown.
There's one black screen before the simulator loads, but then there is a second black screen before my app loads. If I run the app again, after the simulator is loaded, the launch screen displays with no issue. However, if the black screen shows the first time, users will assume the app is not working, hence why this is a concern.
These are the settings I am using for my launch screen.
All help appreciated.
It is just Xcode's fault. While starting the app Xcode attaches its debugger and does some communication and a lot of other stuff. It is very possible that the launch screen is not displayed during that time or just for a split second.
If you just have the app on the device, completely quit it and then start it again, the launch screen should show up as expected.
There is no issue. The simulator load with blackscreen, it's not belong to your application. (os loaded at that time). After simulator loaded os, it launches your app with your laucnh screen

iOS app crashes when the simulator window is moved

I’m working on a universal iOS application that runs fine on both the iPad Air and iPhone 5. Sometimes (1 out of ~5 times), when I move the simulator window, it crashes. I don’t get a usable error log nor a stack trace. It just seems the app get’s terminated and I do get a beach ball. I did add an "Exception Breakpoint” but it does not fire. The simulator itself does not crash. I can still use the shortcut for the home button and restart my application.
I do have 16GB of Ram. I don’t think it’s a memory problem.
Do I invoke something on my app when I move the simulator window? I can’t reproduce this behaviour, but it happened to me multiple times a day since I updated Xcode. Does anybody else have this problem? Is there a workaround?

App fails to launch and results in a black screen on device with home button unresponsive

Im having problems with Xcode timing out to installing the app on my device. The problems persists even if using different devices. Usually 4/5 tries will result in a black screen.
Xcode says successful and the app opens up on the device, but the screen is completely black and the device stops responding.. only a hard reset works.. the home button isn't responsive.
You can however hear that someone is calling you, but you cannot answer the call.
I have no idea of whats wrong, because it builds completely fine.. Any idea on what might be wrong here?
The error Im receiving is:
error: failed to launch '-- timed out waiting for app to launch
Update:
Someome mentioned to me that it might be a faulty cable, but I get the same black screen when downloading the uploaded app from hockey app.
Often this is the result of building the app in debug with an ad-hoc or release configuration. There was also a bug early in Xcode 5 where it would hang as well, I think this is fixed in the most recent update.

Can i display error occurred within an app if i'm not launching it with Xcode?

I have a problem with my app: if i launch it with Xcode all goes well. If i manually terminate The app and then i try to open it again(not running it with Xcode, but simply tapping the icon button) instead of reopening from the start, The app shows me the last screen i opened before terminating it and remain stuck, totally blocked. In that moment, i'm not under control of Xcode console: how can i visualize an error eventually occurred?
When you run your app from Xcode, it attaches a debugger to your app. This prevents the app from closing normally. You'll need to press the stop button in Xcode to detach the debugger and let the app quit so you can launch it from the iPad normally.

Resources