iOS app crashes when the simulator window is moved - ios

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?

Related

iOS App works fine with Simulator but Crashes with a real iOS device

I know there are already similar problems on StackOverflow, but mine is a little different. So when I launch my app on the simulator, it works just fine, however, when I launch it on a device, it loads everything and launches the app but as soon as it does that, both my Xcode and the app on my phone crash.
I have no code to post as my Xcode crashes but if you know why this is happening or any code that may be useful to you, please let me know.
I think you should follow the orders to figure out what the problem is:
1、Make sure your device type and iOS Version is right. Some newer apis do may cause crash on old iOS version. If your device's iOS version is not the same as the version of your simulator, maybe it's the reason.
2、If you're using iPhone 5 or iPhone 5c. That means your device does not support 64 bit calculation. Check it out.
3、Add Global Exception from exception panel. Switch to exception panel -> click plus button on the left bottom of the panel -> Choose one or more global Breakpoint you want to add. Then you should get where is wrong before it crash.

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

App hangs on iPod Touch, but not iPhone

I've just released my first app. I have received an email from someone saying that on their iPod Touch the app hangs on start up (black screen).
I can't replicate this on either the simulator, or my iPhone 4s. Apparently it hangs and doesn't crash, so I don't expect a crash report.
Both his iPod touch and my iPhone are running iOS 9.2 and the app is 8.3+
I'm using a launch screen storyboard that appears to work on other devices
The guy who reported this to me has made iOS apps himself before, so I assume he know's what he's doing
Does anyone have any ideas as to what could be causing this? I'm a bit stumped. I would love to ask a more specific question, but I'm not sure where to look.

Cocos2d game doesnt launch on some devices

I're released an iPad game which is developed on the Cocos2d framework. Ive tested the game on a number of devices iPad 3, and iPad 2 and never had any issues.
Now i'm getting a few reports back that its not launching properly on some devices. People are saying they are seeing the default.png images then the app is closing.
Any ideas?
Without crash report this is just a guessing game.
By all means try to reproduce the problem on your side.
Possible problems:
1. If the app takes too long to launch it will be closed by iOS.
2. If it does not have enough memory it will not launch as well.
Try the following:
I. Open many other heavy apps in the background so there is not much memory.
See how it affects your app launch.
II. During launch try to use as many fast taps as possible and fast gestures.
There is possibility that very early taps are not serviced properly or at all
and that can cause the crash.
III. Test on many devices as you can - especially low end.
I found the issue, it was to do with the social framework running on older devices where it isn't available.

IOS simulator problem app only runs when started for the second time..

My app runs fine on my physical device (iphone 4), it also runs fine on the IOS simulator, but only after the second time I ty to run it from Xcode.
So the sequence in which things are happening is:
IOS simulator closed.
I press "ctrl R" in XCode
IOS simulator starts, app starts but gets no further then the splash screen (does
not crash it just sits at the splash screen)
I press the stop Button in Xcode (app stops running in Simulator)
I Press "ctrl R" again
App starts in IOS simulator and runs like a charm..
If I close the IOS simulator reopen open it from finder and run the installed version, it runs without problems.
Two questions,
has anyone had a similar experience?
am I in trouble when submitting my app to the appStore
Thnx, Sebastian
The problem went away when I removed the majority of my logging messages (I had ton's of them). So either there was an issue with one of the messages or it had to do with the amount of them , hope this helps anyone who experiences the same problems.

Resources