开发者

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:

  1. IOS simulator closed.
  2. I press "ctrl R" in XCode
  3. IOS simulator starts, app starts but gets no further then the splash screen (does not crash it just sits at the splash screen)
  4. I press the stop Button in Xcode (app stops开发者_高级运维 running in Simulator)
  5. I Press "ctrl R" again
  6. 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,

  1. has anyone had a similar experience?
  2. 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.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜