Xcode 4.2 can't debug iOS 4.2.1 (8C148)
Asked Answered
H

2

7

I recently updated to Xcode 4.2. I also updated my new iPad 2 and iPod (latest generation) to iOS 5. I build my app and can debug them no problem.

My older iPod running iOS 4.2.1 (8C148) doesn't run and doesn't give any errors. The top center panel says "Finished running MyApp on iPod One". (iPod One is the name of my first iPod touch)

There is a flicker at the bottom of Xcode as if it almost went into the debugger and was about to show the bottom output panel but it doesn't. A break point in main doesn't stop it either.

I have no errors and nothing to go on.

I have renewed all provisioning profiles, restored the device, selected "use for development", nothing has helped.

Since there is no feed back from Xcode I do not know what to do.

p.s. The app runs in all of the simulators fine as well.


When I initially select the iPod I see the following series of messages in the console for the devices as shown from the Organizer:

Thu Oct 20 09:42:49 unknown lockdownd[16] : 2ffea000 handle_connection: Could not receive USB message #6 from Xcode. Killing connection Thu Oct 20 09:42:49 unknown com.apple.mobile.lockdown[16] : Could not receive size of message Thu Oct 20 09:42:50 unknown /Developer/Library/Daemons/DTFetchSymbols[308] : Found paths: Thu Oct 20 09:42:50 unknown /Developer/Library/Daemons/DTFetchSymbols[308] : /usr/lib/dyld Thu Oct 20 09:42:50 unknown /Developer/Library/Daemons/DTFetchSymbols[308] : /System/Library/Caches/com.apple.dyld/dyld_shared_cache_armv6 Thu Oct 20 09:42:50 unknown com.apple.mobile.lockdown[16] : Could not receive size of message Thu Oct 20 09:42:50 unknown lockdownd[16] : 2ffea000 handle_connection: Could not receive USB message #6 from Xcode. Killing connection Thu Oct 20 09:42:56 unknown lockdownd[16] : 2ffea000 handle_connection: Could not receive USB message #6 from MDCrashReportTool. Killing connection

Hardhack answered 20/10, 2011 at 15:16 Comment(2)
The answer is that armv6 and armv7 must be entered for the valid architectures. See this: #6300496Hardhack
In my case, armv7 was already there. The problem was the missing armv6. Thanks for the answer!Ply
K
4

I had the same problem, but I solved it. The cause unsuported architecture (by default Xcode4.2 uses standard arch= armv7 ) -> add armv6

Kile answered 17/11, 2011 at 8:55 Comment(0)
B
4

In addition to adding the armv6 architecture, I had to remove the armv7 entry from my apps info.plist "Required Device Capabilities" entry.

Boxhaul answered 5/4, 2012 at 15:19 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.