Unable to read symbols from “UIKit” (not yet mapped into memory)

April 5, 2009 § Leave a comment

This is another source of errors on iPhone simulator console. Xcode code contain no errors and warnings. However the simulator console indicates it is related to memory.

When you see this warning: Unable to read symbols from “UIKit” (not yet mapped into memory), this is not a good sign even it doesn’t trigger any errors or warnings on Xcode. Basically it is a signal that you may have problems with memory.

Once I remove the extra line [alertView release]; the warning disappear. UIAlert is using autorelease. If you release object that is handled by autorelease, console will complain and print out the warnings on memory.

– (void)viewDidLoad {
[super viewDidLoad];
// Alert users on iTouch with no speaker
UIAlertView *alertView;
alertView = [[[UIAlertView alloc] initWithTitle:@”Welcome” message:@”Make sure headphones are plugged in if you use an older iPod Touch.” delegate:self cancelButtonTitle:@”OK” otherButtonTitles:nil] autorelease];
[alertView show];
[alertView release];
}

Loading program into debugger…
GNU gdb 6.3.50-20050815 (Apple version gdb-962) (Sat Jul 26 08:14:40 UTC 2008)
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type “show copying” to see the conditions.
There is absolutely no warranty for GDB.  Type “show warranty” for details.
This GDB was configured as “i386-apple-darwin”.warning: Unable to read symbols for “/System/Library/Frameworks/UIKit.framework/UIKit” (file not found).
warning: Unable to read symbols from “UIKit” (not yet mapped into memory).
warning: Unable to read symbols for “/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 for “/System/Library/Frameworks/AVFoundation.framework/Versions/A/AVFoundation” (file not found).
warning: Unable to read symbols from “AVFoundation” (not yet mapped into memory).
warning: Unable to read symbols for “/System/Library/Frameworks/CoreLocation.framework/Versions/A/CoreLocation” (file not found).
warning: Unable to read symbols from “CoreLocation” (not yet mapped into memory).
Program loaded.
sharedlibrary apply-load-rules all

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

What’s this?

You are currently reading Unable to read symbols from “UIKit” (not yet mapped into memory) at Web Builders.

meta

%d bloggers like this: