I am using the latest version of Xcode(4.2.1) and out of the blue, when I try to run my code on my device, the following flurry of text appears on the console:
warning: Unable to read symbols for /Users/ahanmalhotra/Library/Developer/Xcode/iOS DeviceSupport/5.0.1 (9A405)/Symbols/System/Library/AccessibilityBundles/AccessibilitySettingsLoader.bundle/AccessibilitySettingsLoader (file not found).
warning: No copy of AccessibilitySettingsLoader.bundle/AccessibilitySettingsLoader found locally, reading from memory on remote device. This may slow down the debug session.
warning: Unable to read symbols for /Users/ahanmalhotra/Library/Developer/Xcode/iOS DeviceSupport/5.0.1 (9A405)/Symbols/System/Library/AccessibilityBundles/UIKit.axbundle/UIKit (file not found).
warning: No copy of UIKit.axbundle/UIKit found locally, reading from memory on remote device. This may slow down the debug session.
warning: Unable to read symbols for /Users/ahanmalhotra/Library/Developer/Xcode/iOS DeviceSupport/5.0.1 (9A405)/Symbols/System/Library/AccessibilityBundles/TelephonyUIFramework.axbundle/TelephonyUIFramework (file not found).
warning: No copy of TelephonyUIFramework.axbundle/TelephonyUIFramework found locally, reading from memory on remote device. This may slow down the debug session.
warning: Unable to read symbols for /Users/ahanmalhotra/Library/Developer/Xcode/iOS DeviceSupport/5.0.1
(9A405)/Symbols/System/Library/AccessibilityBundles/AXExtraExtras.axbundle/AXExtraExtras (file not found).
warning: No copy of AXExtraExtras.axbundle/AXExtraExtras found locally, reading from memory on remote device. This may slow down the debug session.
After this appears, my app starts normally and works. I am using an iPhone 4S running iOS 5.0.1. I have checked and "Generate Debug Symbols" is set to yes.
Is there a way to fix this?
Thanks
What I found is that I needed to turn off Accessibility completely on the device. That means in Settings > General > Accessibility everything must be Off, including Triple-Click Home.
Odds are you're missing some files. Check out this StackOverflow question and answer. It helped me.
The only thing I tried was to copy over the missing files from
/Developer/Platforms/iPhoneOS.platform/DeviceSupport/5.0 (9A334)/Symbols/System/Library
However you then get a warning about "UUID mismatch detected" for those same libraries. Not sure if there is much gained by doing so.
Related
Does anyone have a cooking clue what this means and how to sort it out?
It happens when I debug the app from Xcode on the device.
warning: Unable to read symbols for
/Users//Library/Developer/Xcode/iOS DeviceSupport/5.0.1
(9A405)/Symbols/System/Library/TextInput/Riven.bundle/Riven (file not
found). warning: No copy of Riven.bundle/Riven found locally, reading
from memory on remote device. This may slow down the debug session.
It's harmless, and there's nothing you can (easily) do to fix it -- it's a glitch in the iOS SDK, or iOS itself, or some combination of the two. Don't worry about it.
Also see this duplicate.
This bug is really confusing me as it only happens on 1 of the test phones I have. When loading a UIWebView in my app it starts to kick these warnings out into the console and never finishes loading the site.
warning: Unable to read symbols for /Users/internet/Library/Developer/Xcode/iOS DeviceSupport/5.0.1 (9A405)/Symbols/System/Library/Extensions/IMGSGX543GLDriver.bundle/IMGSGX543GLDriver (file not found).
warning: No copy of IMGSGX543GLDriver.bundle/IMGSGX543GLDriver found locally, reading from memory on remote device. This may slow down the debug session.
I have looked at a few things like warning: Unable to read symbols but nothing has really helped me with this problem. I have done a clean build command+shift+K, but that doesn't do anything ever.
Anyone help?
The phone is an iPhone 4S on iOS 5.0.1
Maybe this will help:
http://www.cocos2d-iphone.org/forum/topic/21383
since upgrading to Xcode 4.2 and iOS 5 I can no longer run my apps on my iPhone. They still run fine in the simulator.
I was using Snow Leopard with 4.2 and thought this might be the problem, so upgraded to Lion and then upgraded Xcode to the 4.2.1 Lion version. However this did not solve the problem.
I've been through many of the threads trying to find something similar but can't. I've also tried out different build settings, compilers, deployment targets etc.
I'm pretty sure this is not a provisioning problem, as the apps load onto the device, it's just that they never launch properly, if the app has a launch image this is where it locks up. I've also tried just running the default Xcode templates, to no avail.
I've tried deleting the derived data, cleaning the projects, removing and then re importing the frameworks from the projects, but nothing changes.
These are the errors I'm getting
warning: Unable to read symbols for /Developer/Platforms/iPhoneOS.platform/DeviceSupport/5.0.1 (9A405)/Symbols/System/Library/Frameworks/UIKit.framework/UIKit
warning: Unable to read symbols from "UIKit" (not yet mapped into memory).
warning: Unable to read symbols from "Foundation" (not yet mapped into memory).
warning: Unable to read symbols for /Developer/Platforms/iPhoneOS.platform/DeviceSupport/5.0.1 (9A405)/Symbols/System/Library/Frameworks/CoreGraphics.framework/CoreGraphics (file not found).
warning: Unable to read symbols from "CoreGraphics" (not yet mapped into memory).
warning: Unable to read symbols from "libSystem.B.dylib" (not yet mapped into memory).
warning: Unable to read symbols from "CoreFoundation" (not yet mapped into memory).
warning: Unable to read symbols from "libobjc.A.dylib" (not yet mapped into memory).
and then I get a bunch of these, they go on for 15 lines
warning: No copy of <No file name> found locally, reading from memory on remote device. This may slow down the debug session.
warning: No copy of <No file name> found locally, reading from memory on remote device. This may slow down the debug session.
and then I get a bunch of these that go on and on with every framework you could possibly think of and then some
warning: Unable to read symbols for /Developer/Platforms/iPhoneOS.platform/DeviceSupport/5.0.1 (9A405)/Symbols/System/Library/Frameworks/UIKit.framework/UIKit (file not found).
warning: No copy of UIKit.framework/UIKit found locally, reading from memory on remote device. This may slow down the debug session.
warning: Unable to read symbols for /Developer/Platforms/iPhoneOS.platform/DeviceSupport/5.0.1 (9A405)/Symbols/System/Library/Frameworks/Foundation.framework/Foundation (file not found).
warning: No copy of Foundation.framework/Foundation found locally, reading from memory on remote device. This may slow down the debug session.
warning: Unable to read symbols for /Developer/Platforms/iPhoneOS.platform/DeviceSupport/5.0.1 (9A405)/Symbols/System/Library/Frameworks/CoreGraphics.framework/CoreGraphics (file not found).
warning: No copy of CoreGraphics.framework/CoreGraphics found locally, reading from memory on remote device. This may slow down the debug session.
warning: Unable to read symbols for /Developer/Platforms/iPhoneOS.platform/DeviceSupport/5.0.1 (9A405)/Symbols/usr/lib/libSystem.B.dylib (file not found).
warning: No copy of libSystem.B.dylib found locally, reading from memory on remote device. This may slow down the debug session.
warning: Unable to read symbols for /Developer/Platforms/iPhoneOS.platform/DeviceSupport/5.0.1 (9A405)/Symbols/System/Library/Frameworks/CoreFoundation.framework/CoreFoundation (file not found).
warning: No copy of CoreFoundation.framework/CoreFoundation found locally, reading from memory on remote device. This may slow down the debug session.
warning: Unable to read symbols for /Developer/Platforms/iPhoneOS.platform/DeviceSupport/5.0.1 (9A405)/Symbols/usr/lib/libobjc.A.dylib (file not found).
warning: No copy of libobjc.A.dylib found locally, reading from memory on remote device. This may slow down the debug session.
warning: Unable to read symbols for /Developer/Platforms/iPhoneOS.platform/DeviceSupport/5.0.1 (9A405)/Symbols/System/Library/PrivateFrameworks/IOSurface.framework/IOSurface (file not found).
warning: No copy of IOSurface.framework/IOSurface found locally, reading from memory on remote device. This may slow down the debug session.
warning: Unable to read symbols for /Developer/Platforms/iPhoneOS.platform/DeviceSupport/5.0.1 (9A405)/Symbols/System/Library/Frameworks/IOKit.framework/Versions/A/IOKit (file not found).
warning: No copy of IOKit.framework/Versions/A/IOKit found locally, reading from memory on remote device. This may slow down the debug session.
warning: Unable to read symbols for /Developer/Platforms/iPhoneOS.platform/DeviceSupport/5.0.1 (9A405)/Symbols/usr/lib/liblockdown.dylib (file not found).
warning: No copy of liblockdown.dylib found locally, reading from memory on remote device. This may slow down the debug session.
warning: Unable to read symbols for /Developer/Platforms/iPhoneOS.platform/DeviceSupport/5.0.1 (9A405)/Symbols/System/Library/PrivateFrameworks/MobileKeyBag.framework/MobileKeyBag (file not found).
warning: No copy of MobileKeyBag.framework/MobileKeyBag found locally, reading from memory on remote device. This may slow down the debug session.
warning: Unable to read symbols for /Developer/Platforms/iPhoneOS.platform/DeviceSupport/5.0.1 (9A405)/Symbols/usr/lib/libicucore.A.dylib (file not found).
warning: No copy of libicucore.A.dylib found locally, reading from memory on remote device. This may slow down the debug session.
warning: Unable to read symbols for /Developer/Platforms/iPhoneOS.platform/DeviceSupport/5.0.1 (9A405)/Symbols/System/Library/Frameworks/CoreImage.framework/CoreImage (file not found).
warning: No copy of CoreImage.framework/CoreImage found locally, reading from memory on remote device. This may slow down the debug session.
warning: Unable to read symbols for /Developer/Platforms/iPhoneOS.platform/DeviceSupport/5.0.1 (9A405)/Symbols/System/Library/Frameworks/Security.framework/Security (file not found).
So my guess is (and I could be wrong) it looks like Xcode doesn't know where the frameworks are, but only when my device is connected. I don't know how to solve this problem and would greatly appreciate any help or ideas
thanks
I encountered the same problem reinstalling Xcode didn't correct it. In the end I closed xcode and renamed the folder developer/platforms/ipho eps.platform/device support/5.0.1 (9a334) as old then reconnecting the device. This folder was rebuilt and everything was right in the world again.
Hey I ended up doing a full uninstall in Terminal, then reinstalling Xcode. It turns out that just installing over the top of the previous version doesn't correct the error. It needs a full uninstall first. Now everything works as it should
I've run this app on my iPhone before, and I have no idea how it randomly started not working, but I'm getting the following error:
Unable to read symbols for /Developer/Platforms/iPhoneOS.platform/DeviceSupport/4.2.1 (8C148)/Symbols/Developer/usr/lib/libXcodeDebuggerSupport.dylib (file not found).
So, I cleaned all targets and then deleted the app on my device and reinstalled it and ran it, and now I'm getting this error:
warning: Unable to read symbols for /Developer/Platforms/iPhoneOS.platform/DeviceSupport/4.2.1 (8C148)/Symbols/usr/lib/info/dns.so (file not found).
What is this and how do I fix it?
Well, I have the same problem but it only disables debugging (doesn't find the debugger symbols of the version installed on the device). Except debugging, It installs the app normally.
I know few people who got rid of these warnings by doing any of the following two :
1) copy the 4.2.1 symbols folder from the /Developer/Platforms/iPhoneOS.platform/DeviceSupport/ path to the symbols fodler in 4.2.1 (8C148) folder
2) Look at this one
Universal fix is: 'Clean all' in your project, delete app from device. Rebuild.
Are you targeting the same version that you're running on the device? Check this, then clean, delete from app, and rebuild.
In my app, I use a very large amount of code that I copied from Apple's SpeakHere example, and when I run the app on an iPhone device it spits out this error about a hundred times before loading the XIB:
unable to read unknown load command 0x80000022
It also prints these errors:
warning: Unable to read symbols for ""/Users/eamonford/Desktop/Sleep Blaster touch/build/Debug-iphoneos"/Sleep Blaster touch.app/Sleep Blaster touch" (file not found).
warning: Couldn't raise load state for requested shlib: "Sleep Blaster touch" for breakpoint 1.
However, when I run the app in the Simulator there are no errors at all. Also, I know the errors are coming from some part of the code that I got from SpeakHere, because Apple's own example produces the same errors, and my app didn't produce these errors before I added the SpeakHere code.
Does anyone have some idea of what these errors mean or how I can trace them? Thanks!
Regarding the first warning, this appears to be a known issue in SDK 3.1 (I'm assuming you're using 3.1, I'd never seen this error with other versions). If you try compiling with a 3.0 target, that should resolve it.
I saw this error after upgrading to Snow Leopard, but before upgrading the Developer tools.
If you haven't already, go download and install the new Xcode and SDKs.