I just updated my device to iOS 4.3.3. Xcode 4 automatically updated when I plugged in my iPhone4 first time after iOS update.
When running my project I get a warning now:
warning: Unable to read sym开发者_开发问答bols for /Developer/Platforms/iPhoneOS.platform/DeviceSupport/4.3.3 (8J2)/Symbols/System/Library/AccessibilityBundles/AccessibilitySettingsLoader.bundle/AccessibilitySettingsLoader (file not found).
Why do I get this warning and how to solve this?
I also faced this issue you should just delete that folder (/Developer/Platforms/iPhoneOS.platform/DeviceSupport//4.3.3), connect your device again, go to the XCode Organizer and it will ask you to collect the symbols from the device. After a couple minutes it will be done collecting and processing the symbols off the device, and you should be good to go.
As I've read elsewhere, making a symlink can take care of the problem. I had no success with refetching symbols from my ipad. This probably isn't the best solution, but it's working so far for me.
just run:
sudo ln -s /Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS4.3.sdk/Developer/
/Developer/Platforms/iPhoneOS.platform/DeviceSupport/4.3.3 (8J2)/Symbols/Developer
You should open Organizer( Xcode > Window > Organizer ) and do something like "fetch symbols" I think when your phone is plugged in.
精彩评论