Reputation: 6317
I get the following output for many missing files:
warning: Unable to read symbols for /Users/user/Library/Developer/Xcode/iOS DeviceSupport/5.0 (9A334)/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.
As it mentions, it is slowing down my debugging session, as it takes a very long time for the app to load. It will load, but it is just unbearably slow.
Also, possibly related, I am unable to get a proper call trace on exceptions (though breakpoints are fine). Xcode mentions "Xcode cannot find the software image to install this version" in the Organizer. I have a brand new iPhone 4s and iPad 2 running 5.0 (9A334). This issue only happens with the iPhone!
I have uninstalled all developer tools using the supplied shell script, then reinstalled from the App Store, and this issue still happens. I have also tried EVERY method I've previously found on this site, such as:
I even have an accepted answer dealing with this issue, but in my current case even my own answer will not suffice! Issue with iphone sdk 4.2.1
EDIT: Also, I notice when attaching the phone that Xcode displays "Checking DDI symbols" for a moment.
Upvotes: 1
Views: 2019
Reputation: 6317
The only thing I could do to fix this issue was change the debugger to us LLDB. Nothing else worked, and I tried everything. Now that it's available, I'd rather use LLDB anyway.
Upvotes: 0
Reputation: 20177
People have previously had this problem (missing files, not necessarily the same ones) and have solved it by manually copying the missing file from another version of the SDK, into the nominated SDK folder. Check out the answer by ChrisL here. The alternative is a broader approach of removing all iOS 5 SDK files and re-downloading them from the device as outlined here. Note Andrew Vilcsak's post there suggests removing everything under device support but it should only be necessary to remove the iOS 5 folders; removing the earlier ones will not have any affect on your current problem (and could potentially create others?)
Given the particular files generating the error, another possibility identified in this thread is that you need to simply check "Accessibility Enabled" in Interface Builder for one or more of your views. It seems like an odd solution given the error messages, but your situation does seem to fit with that of the other user there.
Re your possibly-related Xcode message, that's not a problem, as documented in this Apple Technical Q&A:
A: Why do I see "Xcode cannot find the software image to install this version" in Xcode's Organizer window?
The message "Xcode cannot find the software image to install this version" is not an error; rather it's a notification that the version of the iPhone OS installed on the plugged in device does not have a corresponding restore image for Xcode to use.
Upvotes: 1
Reputation: 29767
IBOutlet
references in iphone xibs.Upvotes: 0
Reputation: 13381
I had a similar problem when I was setting up my 4S for development. However (and I imagine you've done this already), I had simply forgotten to click the "Use for Development" button in the Organizer (since I added the UDID to the Provisioning Portal manually).
Upvotes: 1