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?

3 comments

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.

0

jetzajac wrote:

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.

You think the CodePilot plugin for Xcode has something to do with my build? I actually think, my App builds just fine (it does in Xcode). It is fully deployed on the device, it even launches. If I stop debugging and start the App, the just built version by AppCode is actually on the device! It just doesn't progress beyond the launch image, when debugged with AppCode.

I've tried it with various of my own projects, but it also shows the same behaviour with an OS project, which you can find here: https://github.com/omz/AppSales-Mobile

I'm using Xcode 4.1 (4B110).

0

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.

0

Please sign in to leave a comment.