3 Replies Last post: Sep 14, 2012 11:40 AM by Crispin Bennett  
David Linsin Newbie 4 posts since
Jan 23, 2008
Currently Being Moderated

Aug 16, 2011 10:15 PM

Can't debug on device

I'm trying to debug an App on my iPhone, however, I only see the launch image and the App doesn't continue. It works fine on the device using Xcode and in AppCode on the simulator. These are the logs from the Console:

 

 

8/16/11 8:12:44.893 PM xcodebuild: Error loading /Users/dlinsin/Library/Developer/Xcode/Third-Party Plug-ins/CodePilot2.xcplugin/Contents/MacOS/CodePilot2:  dlopen(/Users/dlinsin/Library/Developer/Xcode/Third-Party Plug-ins/CodePilot2.xcplugin/Contents/MacOS/CodePilot2, 265): Symbol not found: _OBJC_CLASS_$_IDEDocumentController

  Referenced from: /Users/dlinsin/Library/Developer/Xcode/Third-Party Plug-ins/CodePilot2.xcplugin/Contents/MacOS/CodePilot2

  Expected in: flat namespace

in /Users/dlinsin/Library/Developer/Xcode/Third-Party Plug-ins/CodePilot2.xcplugin/Contents/MacOS/CodePilot2

8/16/11 8:12:44.893 PM xcodebuild: WARNING: Failed to load plugin at: /Users/dlinsin/Library/Developer/Xcode/Third-Party Plug-ins/CodePilot2.xcplugin, skipping.  Could not load bundle.

8/16/11 8:12:49.858 PM AMDeviceService: >>Get connected devices

8/16/11 8:12:49.895 PM AMDeviceService: >>Get connected devices

8/16/11 8:12:49.913 PM AMDeviceService: >>Get connected devices

8/16/11 8:12:49.922 PM AMDeviceService: >>Install bundle on device

8/16/11 8:12:51.675 PM AMDeviceService: Response builder does not respond to PercentComplete property

8/16/11 8:12:51.690 PM AMDeviceService: Response builder does not respond to PercentComplete property

8/16/11 8:12:51.692 PM AMDeviceService: Response builder does not respond to PercentComplete property

8/16/11 8:12:51.694 PM AMDeviceService: Response builder does not respond to PercentComplete property

8/16/11 8:12:51.696 PM AMDeviceService: Response builder does not respond to PercentComplete property

8/16/11 8:12:51.697 PM AMDeviceService: Response builder does not respond to PercentComplete property

8/16/11 8:12:51.699 PM AMDeviceService: Response builder does not respond to PercentComplete property

8/16/11 8:12:53.278 PM AMDeviceService: Response builder does not respond to PercentComplete property

8/16/11 8:12:53.907 PM AMDeviceService: Response builder does not respond to PercentComplete property

8/16/11 8:12:53.909 PM AMDeviceService: Response builder does not respond to PercentComplete property

8/16/11 8:12:55.214 PM AMDeviceService: >>Get bundle path on device for bundle: /Users/dlinsin/Library/Caches/appCode10/DerivedData/KVBTrouble-ad66abb8/Build/Products/Debug-iphoneos/KVBTrouble.app

8/16/11 8:12:56.546 PM AMDeviceService: Apps on device: {

    "com.furryfishapps.util.KVBTrouble" = "bundlePathOnDevice: /private/var/mobile/Applications/D92AEE6A-1AB4-4017-B53E-298FAE517BB4/KVBTrouble.app";

} bundleId to search for:com.furryfishapps.util.KVBTrouble

8/16/11 8:12:56.549 PM AMDeviceService: >>Start debugserver

8/16/11 8:12:56.788 PM AMDeviceService: debugserver service started

8/16/11 8:12:57.789 PM AMDeviceService: start fd passing service: /var/folders/ks/hy6cx0yx44nfk6s_cy4bfwyr0000gn/T/FDPassing87010J2Y3NP on device: amDevice: 10046e0 serialNumber: 87010J2Y3NP name: district9 3Gs

8/16/11 8:13:09.643 PM ath: _AMDDeviceAttachedCallbackv3 (thread 0x7fff76c17960): Device 'AMDevice 0x104e85210 {endpoint = USB, location ID = 0x24100000, product ID = 0x1294, UDID = b5421f940751cb3a43fb573819253a7c425abf49, device ID = 17, Valid = 1}' attached.

 

I'm using the latest build 108.984 and the current iOS SDK 4.3 with 4.1 (4B110)!

 

Any ideas?

andrey zaytsev Newbie 49 posts since
Dec 9, 2010
Currently Being Moderated
Aug 17, 2011 6:21 PM in response to: David Linsin
Re: Can't debug on device

Hi!

As I can see your build was not succeeded:

Symbol not found: _OBJC_CLASS_$_IDEDocumentController

 

What version of xcode do you use?

Does debugger even start? Is there any output of gdb in console?

Please try to debug any sample iphone project and let me know if it works. Thanks.

Crispin Bennett Novice 92 posts since
Sep 21, 2011
Currently Being Moderated
Sep 14, 2012 11:40 AM in response to: David Linsin
Re: Can't debug on device

I can't help you with this problem, but I'm pretty sure it has nothing to do with CodePilot. I get those same plugin errors on every launch of xcodebuild, and it doesn't cause any problems running or debugging on the device or simulator.

More Like This

  • Retrieving data ...