iOS Question App does not start automatically after debugging

D

Deleted member 103

Guest
Hi,

what can it be if an app does not start automatically after debugging?
The debug is carried out without errors, but the app does not start automatically, I always have to start it myself.
I just can't find the mistake.

Many thanks in advance
Filippo
 
Check Tools - Build Server - Settings. The checkbox "run installed..." is checked?
The checkbox is cheked.
So if you can't think of anything else, then there has to be something in my code, because there are only 2 of my apps that don't start automatically.
But I can not imagine where there should be a mistake.
 
Upvote 0
Also uninstall the problematic app, clean the project and try again.
I have done this several times, unfortunately without success.
2 of 6 apps are causing such a problem.
I can't say when this problem started, I can only say that everything worked without problems until a few months ago.
 
Upvote 0
Wait a minute. So what you're actually saying is the app does start, but then it closes automatically???
 
Upvote 0
Wait a minute. So what you're actually saying is the app does start, but then it closes automatically???
Yes exactly, and I have to start it again manually.

The fly in your posts is dangerous, I almost broke my monitor with a hamer. ?
 
Upvote 0
Yes exactly, and I have to start it again manually.
Does it run first time of asking in normal 'Debug mode' after you bit the run button F5???

This only happens in 'Build Release App'???

Looking at the video, I would say that you have a code issue, but that's looking at the video. I already know that you can't post that code...
 
Upvote 0
Does it run first time of asking in normal 'Debug mode' after you bit the run button F5???
It happens every time.
It behaves as if it were a release mode.
 
Upvote 0
Are you deleting or writing to any files?
At the start, only an INI file and a small Sqlite database are read, but I have something like this in every app.
It is very difficult to find the mistake, I think I have to live with it; maybe the mistake will go away over time as it came. :rolleyes:
 
Upvote 0
Can't you just single step through the start of project a until you've found the issue on debug mode?

If you single step through the code and it works perfect first time of washing, then you might need a Sleep(0) or Wait For somewhere in your code.
 
Upvote 0
If you single step through the code and it works perfect first time of washing, then you might need a Sleep(0) or Wait For somewhere in your code.
The problem is where do I insert "Sleep (0)"?
The funny thing is, the app starts but goes in the background as if you had clicked the home button.
 
Upvote 0
Back
Top