11

My app has recently started exhibiting a strange behaviour. When I build and run from Xcode, the app launches until it hits the transition from the animated launch screen to the main screen of my app. At that point Xcode says "finished running yourApp on theDevice" and the app itself sometimes continues running on the device, or sometimes freezes.

Once this has happened, Xcode behaves as though my device is disconnected until I physically unplug and replug the USB cable.

Anyone run into this before and found a solution?

Potentially related, I have recently begun to see the "The device does not recognize this host" error periodically (mentioned here and here), although my app does not use Entitlements.

Screenshot for connection lost

Community
  • 1
  • 1
buildsucceeded
  • 4,203
  • 4
  • 34
  • 72
  • Have you tried to restart your iPhone? – John Smith Aug 11 '12 at 15:05
  • Yep, didn't help. Restoring now... – buildsucceeded Aug 11 '12 at 15:40
  • do you have connection problems with iTunes as well? ie when plugging in the phone then iTunes starts? Just to make sure its not the cable. Otherwise I would update to xCode 4.4 should you work on a previous version. There are quite several bug fixes in 4.4 ! – user387184 Aug 11 '12 at 15:52
  • I had the same issue trying reloadData too many times using UICollectionView. It's suspected to be the memory issue. – Tim May 25 '16 at 03:19
  • Actually the issue could also stem from loading some thing big like images multiple times. – Tim May 25 '16 at 03:39

2 Answers2

0

I had a similar issue and from this link started checking my project for images,textures etc larger than 1024 x 1024 and found one png which was around 2732 x 2048. After reducing its size I am not getting this bug.

Abu Saad Papa
  • 1,908
  • 15
  • 20
-1

I'd suggest trying with another cable plugged in another port.

Dulgan
  • 6,674
  • 3
  • 41
  • 46