<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" media="screen" href="/~d/styles/rss2full.xsl"?><?xml-stylesheet type="text/css" media="screen" href="http://feeds.feedburner.com/~d/styles/itemcontent.css"?><rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:sy="http://purl.org/rss/1.0/modules/syndication/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" version="2.0">

<channel>
	<title>NSLog</title>
	
	<link>http://nslog.de</link>
	<description>[knowledge dump];</description>
	<lastBuildDate>Tue, 17 Jul 2012 08:42:37 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.4.1</generator>
		<atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" type="application/rss+xml" href="http://feeds.feedburner.com/nslog-de" /><feedburner:info xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" uri="nslog-de" /><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com/" /><item>
		<title>Honey, where’s my dSYM?</title>
		<link>http://nslog.de/posts/172</link>
		<comments>http://nslog.de/posts/172#comments</comments>
		<pubDate>Mon, 04 Jun 2012 13:51:50 +0000</pubDate>
		<dc:creator>toto</dc:creator>
				<category><![CDATA[Allgemein]]></category>
		<category><![CDATA[Debugging]]></category>
		<category><![CDATA[Terminal]]></category>
		<category><![CDATA[Tools]]></category>
		<category><![CDATA[Xcode]]></category>

		<guid isPermaLink="false">http://nslog.de/?p=172</guid>
		<description><![CDATA[Ever wondered how Xcode can symbolicate crash reports without you telling it the appropriate dSYM file? Xcode uses Spotlight to find the dSYMs on your system by adding a special attribute to the dSYMs Spotlight metadata. So with this CLI command you can find out where Xcode is (and isn&#8217;t) looking for the dSYM files: [...]]]></description>
			<content:encoded><![CDATA[<p>Ever wondered how Xcode can symbolicate crash reports without you telling it the appropriate dSYM file? Xcode uses Spotlight to find the dSYMs on your system by adding a special attribute to the dSYMs Spotlight metadata. So with this CLI command you can find out where Xcode is (and isn&#8217;t) looking for the dSYM files:</p>
<blockquote>
<p><code>$ mdfind 'com_apple_xcode_dsym_uuids = *'</code>  </p>
</blockquote>
 <p><a href="http://nslog.de/?flattrss_redirect&amp;id=172&amp;md5=4c4d337dc942c64463ca8c137f65903f" title="Flattr" target="_blank"><img src="http://nslog.de/wp-content/plugins/flattr/img/flattr-badge-large.png" alt="flattr this!"/></a></p>]]></content:encoded>
			<wfw:commentRss>http://nslog.de/posts/172/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<atom:link rel="payment" title="Flattr this!" href="https://flattr.com/submit/auto?user_id=26451&amp;popout=1&amp;url=http%3A%2F%2Fnslog.de%2Fposts%2F172&amp;language=en_GB&amp;category=text&amp;title=Honey%2C+where%26%238217%3Bs+my+dSYM%3F&amp;description=Ever+wondered+how+Xcode+can+symbolicate+crash+reports+without+you+telling+it+the+appropriate+dSYM+file%3F+Xcode+uses+Spotlight+to+find+the+dSYMs+on+your+system+by+adding+a+special...&amp;tags=Debugging%2CTerminal%2CTools%2CXcode%2Cblog" type="text/html" />
	</item>
		<item>
		<title>Tabs… Don't you hate tabs?</title>
		<link>http://nslog.de/posts/165</link>
		<comments>http://nslog.de/posts/165#comments</comments>
		<pubDate>Tue, 20 Mar 2012 15:59:41 +0000</pubDate>
		<dc:creator>Ullrich</dc:creator>
				<category><![CDATA[Allgemein]]></category>
		<category><![CDATA[Coding Style]]></category>
		<category><![CDATA[Terminal]]></category>
		<category><![CDATA[Xcode]]></category>

		<guid isPermaLink="false">http://nslog.de/?p=165</guid>
		<description><![CDATA[Tabs&#8230; Don&#8217;t you hate tabs? I mean, the idea is nice, saving bytes and stuff. But the world isn&#8217;t ready for them yet. Here&#8217;s our Xcode indentation settings: And here are two lines of shell script that will help you clean up your already messed up code base find ./ -iname '*.[hcm]' -type f -exec [...]]]></description>
			<content:encoded><![CDATA[<p>Tabs&#8230; Don&#8217;t you hate tabs? I mean, the idea is nice, saving bytes and stuff. But the world isn&#8217;t ready for them yet.</p>
<p>Here&#8217;s our Xcode indentation settings:</p>
<p><a href="http://nslog.de/wp-content/uploads/2012/03/Text-Editing.png"><img class="size-full wp-image-166 alignnone" title="Xcode Text Editing Settings" src="http://nslog.de/wp-content/uploads/2012/03/Text-Editing.png" alt="" width="640" height="450" /></a></p>
<p>And here are two lines of shell script that will help you clean up your already messed up code base <img src='http://nslog.de/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<pre>find ./ -iname '*.[hcm]' -type f -exec gsed -i 's/\t/    /g' {} \;
find ./ -iname '*.[hcm]' -type f -exec gsed -i '/^[ \t]*$/! { s/[ \t]*$//g }' {} \;</pre>
<p>What they&#8217;ll do is, 1st of all replacing all existing tabs by four spaces. The second command takes care of trailing whitespace (but not in lines that only contain whitespace), because we also hate that! <img src='http://nslog.de/wp-includes/images/smilies/icon_biggrin.gif' alt=':-D' class='wp-smiley' /> </p>
<p>All that require the GNU version of sed. OSX ships with the BSD version, so you need to install it via</p>
<pre>brew install gnu-sed</pre>
 <p><a href="http://nslog.de/?flattrss_redirect&amp;id=165&amp;md5=2097cfbc55e4431d6ccbea7d6effd6a8" title="Flattr" target="_blank"><img src="http://nslog.de/wp-content/plugins/flattr/img/flattr-badge-large.png" alt="flattr this!"/></a></p>]]></content:encoded>
			<wfw:commentRss>http://nslog.de/posts/165/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<atom:link rel="payment" title="Flattr this!" href="https://flattr.com/submit/auto?user_id=26451&amp;popout=1&amp;url=http%3A%2F%2Fnslog.de%2Fposts%2F165&amp;language=en_GB&amp;category=text&amp;title=Tabs%26%238230%3B+Don%26%23039%3Bt+you+hate+tabs%3F&amp;description=Tabs%26%238230%3B+Don%26%238217%3Bt+you+hate+tabs%3F+I+mean%2C+the+idea+is+nice%2C+saving+bytes+and+stuff.+But+the+world+isn%26%238217%3Bt+ready+for+them+yet.+Here%26%238217%3Bs+our+Xcode+indentation+settings%3A+And+here...&amp;tags=Coding+Style%2CTerminal%2CXcode%2Cblog" type="text/html" />
	</item>
		<item>
		<title>Wrapping the tableView in a custom view in UITableViewController</title>
		<link>http://nslog.de/posts/161</link>
		<comments>http://nslog.de/posts/161#comments</comments>
		<pubDate>Tue, 13 Mar 2012 17:49:16 +0000</pubDate>
		<dc:creator>Ullrich</dc:creator>
				<category><![CDATA[Allgemein]]></category>
		<category><![CDATA[Cocoa]]></category>
		<category><![CDATA[iPhone]]></category>

		<guid isPermaLink="false">http://nslog.de/?p=161</guid>
		<description><![CDATA[Ever wanted to add a different view north of your table view without making it the tableHeaderView? Here&#8217;s what you need: @property (nonatomic, retain) UITableView *internalTableView; - (void)loadView; { [super loadView]; self.internalTableView = self.tableView;     self.view = [[[UIView alloc] initWithFrame:self.view.frame] autorelease];     [self.view addSubview:self.tableView];     self.tableView.frame = self.view.bounds; } - (void)viewDidUnload; {     self.internalTableView = [...]]]></description>
			<content:encoded><![CDATA[<p>Ever wanted to add a different view north of your table view without making it the tableHeaderView?</p>
<p>Here&#8217;s what you need:</p>
<pre>@property (nonatomic, retain) UITableView *internalTableView;

- (void)loadView;
{
    [super loadView];
    self.internalTableView = self.tableView;
    self.view = [[[UIView alloc] initWithFrame:self.view.frame] autorelease];
    [self.view addSubview:self.tableView];
    self.tableView.frame = self.view.bounds;
}

- (void)viewDidUnload;
{
    self.internalTableView = nil;
    [super viewDidUnload];
}

- (void)dealloc;
{
    internalTableView = nil;
    [super dealloc];
}

// here's the finesse
- (UITableView *)tableView;
{
    if (!self.internalTableView) {
        return [super tableView];
    }
    return self.internalTableView;
}</pre>
 <p><a href="http://nslog.de/?flattrss_redirect&amp;id=161&amp;md5=7739e1e891df15affa85a9f969bdd4a8" title="Flattr" target="_blank"><img src="http://nslog.de/wp-content/plugins/flattr/img/flattr-badge-large.png" alt="flattr this!"/></a></p>]]></content:encoded>
			<wfw:commentRss>http://nslog.de/posts/161/feed</wfw:commentRss>
		<slash:comments>4</slash:comments>
		<atom:link rel="payment" title="Flattr this!" href="https://flattr.com/submit/auto?user_id=26451&amp;popout=1&amp;url=http%3A%2F%2Fnslog.de%2Fposts%2F161&amp;language=en_GB&amp;category=text&amp;title=Wrapping+the+tableView+in+a+custom+view+in+UITableViewController&amp;description=Ever+wanted+to+add+a+different+view+north+of+your+table+view+without+making+it+the+tableHeaderView%3F+Here%26%238217%3Bs+what+you+need%3A+%40property+%28nonatomic%2C+retain%29+UITableView+%2AinternalTableView%3B+-+%28void%29loadView%3B+%7B+%5Bsuper...&amp;tags=Cocoa%2CiPhone%2Cblog" type="text/html" />
	</item>
		<item>
		<title>This is something I can never remember so…</title>
		<link>http://nslog.de/posts/156</link>
		<comments>http://nslog.de/posts/156#comments</comments>
		<pubDate>Fri, 09 Mar 2012 12:23:19 +0000</pubDate>
		<dc:creator>Ullrich</dc:creator>
				<category><![CDATA[Allgemein]]></category>
		<category><![CDATA[git]]></category>
		<category><![CDATA[Terminal]]></category>
		<category><![CDATA[Tools]]></category>

		<guid isPermaLink="false">http://nslog.de/?p=156</guid>
		<description><![CDATA[This is something I can never remember, so why not create a small post about it. git tag -d v1.2.3 git push origin :refs/tags/v1.2.3 So what&#8217;s this&#8230; The first line is quite obviously deleting the tag from the local working tree. The second line deletes the tag from origin in the same way as you [...]]]></description>
			<content:encoded><![CDATA[<p>This is something I can never remember, so why not create a small post about it.</p>
<pre>git tag -d v1.2.3
git push origin :refs/tags/v1.2.3</pre>
<p>So what&#8217;s this&#8230; The first line is quite obviously deleting the tag from the local working tree. The second line deletes the tag from origin in the same way as you would delete a branch on origin, by pushing noting to it&#8217;s destination.</p>
<p>To be complete here&#8217;s how you would delete a remote branch from origin:</p>
<pre>git push origin :my-branch</pre>
 <p><a href="http://nslog.de/?flattrss_redirect&amp;id=156&amp;md5=89165d652e485db5b4fc8fe810d2ba27" title="Flattr" target="_blank"><img src="http://nslog.de/wp-content/plugins/flattr/img/flattr-badge-large.png" alt="flattr this!"/></a></p>]]></content:encoded>
			<wfw:commentRss>http://nslog.de/posts/156/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<atom:link rel="payment" title="Flattr this!" href="https://flattr.com/submit/auto?user_id=26451&amp;popout=1&amp;url=http%3A%2F%2Fnslog.de%2Fposts%2F156&amp;language=en_GB&amp;category=text&amp;title=This+is+something+I+can+never+remember+so%26%238230%3B&amp;description=This+is+something+I+can+never+remember%2C+so+why+not+create+a+small+post+about+it.+git+tag+-d+v1.2.3+git+push+origin+%3Arefs%2Ftags%2Fv1.2.3+So+what%26%238217%3Bs+this%26%238230%3B+The+first+line...&amp;tags=git%2CTerminal%2CTools%2Cblog" type="text/html" />
	</item>
		<item>
		<title>Missing your opendiff?</title>
		<link>http://nslog.de/posts/152</link>
		<comments>http://nslog.de/posts/152#comments</comments>
		<pubDate>Thu, 01 Mar 2012 10:12:27 +0000</pubDate>
		<dc:creator>Ullrich</dc:creator>
				<category><![CDATA[Allgemein]]></category>
		<category><![CDATA[Terminal]]></category>
		<category><![CDATA[Tools]]></category>
		<category><![CDATA[Xcode]]></category>

		<guid isPermaLink="false">http://nslog.de/?p=152</guid>
		<description><![CDATA[Since I Xcode 4.3 the opendiff terminal command didn&#8217;t work any longer. Here&#8217;s how I fixed it: sudo /usr/bin/xcode-select -switch /Applications/Xcode.app/Contents/Developer]]></description>
			<content:encoded><![CDATA[<p>Since I Xcode 4.3 the opendiff terminal command didn&#8217;t work any longer.</p>
<p>Here&#8217;s how I fixed it:</p>
<pre>sudo /usr/bin/xcode-select -switch /Applications/Xcode.app/Contents/Developer</pre>
 <p><a href="http://nslog.de/?flattrss_redirect&amp;id=152&amp;md5=52f29dca127d3978e7e10bd935e46d43" title="Flattr" target="_blank"><img src="http://nslog.de/wp-content/plugins/flattr/img/flattr-badge-large.png" alt="flattr this!"/></a></p>]]></content:encoded>
			<wfw:commentRss>http://nslog.de/posts/152/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<atom:link rel="payment" title="Flattr this!" href="https://flattr.com/submit/auto?user_id=26451&amp;popout=1&amp;url=http%3A%2F%2Fnslog.de%2Fposts%2F152&amp;language=en_GB&amp;category=text&amp;title=Missing+your+opendiff%3F&amp;description=Since+I+Xcode+4.3+the+opendiff+terminal+command+didn%26%238217%3Bt+work+any+longer.+Here%26%238217%3Bs+how+I+fixed+it%3A+sudo+%2Fusr%2Fbin%2Fxcode-select+-switch+%2FApplications%2FXcode.app%2FContents%2FDeveloper&amp;tags=Terminal%2CTools%2CXcode%2Cblog" type="text/html" />
	</item>
		<item>
		<title>AppStore validation error on app icons (-19007)</title>
		<link>http://nslog.de/posts/147</link>
		<comments>http://nslog.de/posts/147#comments</comments>
		<pubDate>Wed, 15 Feb 2012 11:05:21 +0000</pubDate>
		<dc:creator>Ullrich</dc:creator>
				<category><![CDATA[Allgemein]]></category>
		<category><![CDATA[App Signing]]></category>
		<category><![CDATA[Developer Portal]]></category>
		<category><![CDATA[Voodoo]]></category>
		<category><![CDATA[Xcode]]></category>

		<guid isPermaLink="false">http://nslog.de/?p=147</guid>
		<description><![CDATA[Since upgrading to OS X 10.7.3 you see this Xcode build warning? Icon specified in the Info.plist not found under the top level app wrapper: Icon-72.png (-19007) iPad: Icon.png: icon dimensions (57 x 57) don't meet the size requirements. The icon file must be 72x72 pixels, in .png format (-19014) This is going to turn [...]]]></description>
			<content:encoded><![CDATA[<pre></pre>
<p>Since upgrading to OS X 10.7.3 you see this Xcode build warning?</p>
<pre>Icon specified in the Info.plist not found under the top level app wrapper: Icon-72.png (-19007)
iPad: Icon.png: icon dimensions (57 x 57) don't meet the size requirements. The icon file must be 72x72 pixels, in .png format (-19014)</pre>
<p>This is going to turn into an validation error as soon as you try to upload a new build to the AppStore™.</p>
<p>Here&#8217;s the fix:</p>
<p>Install a new version of the Application Loader. The download link is hard to find (hard to google), so here&#8217;s one for version <a href="https://itunesconnect.apple.com/apploader/ApplicationLoader_2.5.1.dmg">2.5.1</a> (most current when writing this article).</p>
<p>The most current version can be found under &#8220;Manage your applications&#8221; in <a href="http://itunesconnect.apple.com/">iTunesConnect</a>.</p>
 <p><a href="http://nslog.de/?flattrss_redirect&amp;id=147&amp;md5=e642e90c61261675afadc30ae6bbf606" title="Flattr" target="_blank"><img src="http://nslog.de/wp-content/plugins/flattr/img/flattr-badge-large.png" alt="flattr this!"/></a></p>]]></content:encoded>
			<wfw:commentRss>http://nslog.de/posts/147/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<atom:link rel="payment" title="Flattr this!" href="https://flattr.com/submit/auto?user_id=26451&amp;popout=1&amp;url=http%3A%2F%2Fnslog.de%2Fposts%2F147&amp;language=en_GB&amp;category=text&amp;title=AppStore+validation+error+on+app+icons+%28-19007%29&amp;description=Since+upgrading+to+OS+X+10.7.3+you+see+this+Xcode+build+warning%3F+Icon+specified+in+the+Info.plist+not+found+under+the+top+level+app+wrapper%3A+Icon-72.png+%28-19007%29+iPad%3A+Icon.png%3A+icon...&amp;tags=App+Signing%2CDeveloper+Portal%2CVoodoo%2CXcode%2Cblog" type="text/html" />
	</item>
		<item>
		<title>Debug broken code highlighting in Xcode 4</title>
		<link>http://nslog.de/posts/141</link>
		<comments>http://nslog.de/posts/141#comments</comments>
		<pubDate>Wed, 01 Feb 2012 16:50:42 +0000</pubDate>
		<dc:creator>toto</dc:creator>
				<category><![CDATA[Allgemein]]></category>
		<category><![CDATA[Terminal]]></category>
		<category><![CDATA[Voodoo]]></category>
		<category><![CDATA[Xcode]]></category>

		<guid isPermaLink="false">http://nslog.de/?p=141</guid>
		<description><![CDATA[If you use Xcode 4 a lot this might have happened to you, too: Coloring and code completion fail and do not come back. Which makes working with Xcode almost impossible This happens when Xcode&#8217;s indexing process fails for some reason. This can be a header file is missing to code highlighting (which can be [...]]]></description>
			<content:encoded><![CDATA[<p>If you use Xcode 4 a lot this might have happened to you, too: Coloring and code completion fail and do not come back. Which makes working with Xcode almost impossible</p>
<p>This happens when Xcode&#8217;s indexing process fails for some reason. This can be a header file is missing to code highlighting (which can be different from the compiler in some cases) or in some cases a bad <code>#define</code>. The problem is that it fails silently so you cannot fix it.</p>
<p>After having this problem with a big project I stumbled onto the magic <a href="http://stackoverflow.com/questions/2138047/xcode-code-loses-syntax-coloring">hint on Stack Overflow</a>.  After you quit Xcode enter this into a shell:</p>
<blockquote><p><code>defaults write com.apple.dt.Xcode IDEIndexingClangInvocationLogLevel 3</code></p></blockquote>
<p>After this you should open the project and see messages like this:</p>
<blockquote><p><code>Xcode: IDEIndexingClangInvocation: Failed to save PCH file: /Users/user/Library/Developer/Xcode/DerivedData/Project-drsrrgaenperjadmqslqfxyqcqyt/Index/PrecompiledHeaders/Some-Prefix-cgepzuvkwimbsvcmqrbbpeoyhdpz_ast/Some-Prefix.pch.pth</code></p></blockquote>
<p>Looking through these messages will show you what goes on and might help you finding the problem.</p>
<p>For me it was just copying header files from a framework on the place the Clang parser was looking for them.</p>
 <p><a href="http://nslog.de/?flattrss_redirect&amp;id=141&amp;md5=b4d6007bab3719d9c12d5c1fa1c8ec01" title="Flattr" target="_blank"><img src="http://nslog.de/wp-content/plugins/flattr/img/flattr-badge-large.png" alt="flattr this!"/></a></p>]]></content:encoded>
			<wfw:commentRss>http://nslog.de/posts/141/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<atom:link rel="payment" title="Flattr this!" href="https://flattr.com/submit/auto?user_id=26451&amp;popout=1&amp;url=http%3A%2F%2Fnslog.de%2Fposts%2F141&amp;language=en_GB&amp;category=text&amp;title=Debug+broken+code+highlighting+in+Xcode+4&amp;description=If+you+use+Xcode+4+a+lot+this+might+have+happened+to+you%2C+too%3A+Coloring+and+code+completion+fail+and+do+not+come+back.+Which+makes+working+with+Xcode+almost...&amp;tags=Terminal%2CVoodoo%2CXcode%2Cblog" type="text/html" />
	</item>
		<item>
		<title>Remote Web Inspector Pt. 2</title>
		<link>http://nslog.de/posts/130</link>
		<comments>http://nslog.de/posts/130#comments</comments>
		<pubDate>Wed, 07 Dec 2011 11:45:29 +0000</pubDate>
		<dc:creator>Ullrich</dc:creator>
				<category><![CDATA[Allgemein]]></category>
		<category><![CDATA[Debugging]]></category>
		<category><![CDATA[iPhone Simulator]]></category>
		<category><![CDATA[Voodoo]]></category>
		<category><![CDATA[WebKit]]></category>

		<guid isPermaLink="false">http://nslog.de/?p=130</guid>
		<description><![CDATA[It gets even better, because this also works in Mobile Safari on the iOS 5 Simulator! Here&#8217;s a little script you can run, that enables the remote Web Inspector via gdb (via @atnan). Here&#8217;s to all the mobile devs!]]></description>
			<content:encoded><![CDATA[<p>It gets even better, because <a href="http://nslog.de/posts/124">this</a> also works in Mobile Safari on the iOS 5 Simulator!</p>
<p>Here&#8217;s a <a href="https://gist.github.com/947051463dfb8055a9d8">little script</a> you can run, that enables the remote Web Inspector via gdb (via <a href="http://atnan.com/blog/2011/11/17/enabling-remote-debugging-via-private-apis-in-mobile-safari/ ">@atnan</a>).</p>
<p>Here&#8217;s to all the mobile devs!</p>
 <p><a href="http://nslog.de/?flattrss_redirect&amp;id=130&amp;md5=81d20bded6862c98299b54489c007f2f" title="Flattr" target="_blank"><img src="http://nslog.de/wp-content/plugins/flattr/img/flattr-badge-large.png" alt="flattr this!"/></a></p>]]></content:encoded>
			<wfw:commentRss>http://nslog.de/posts/130/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<atom:link rel="payment" title="Flattr this!" href="https://flattr.com/submit/auto?user_id=26451&amp;popout=1&amp;url=http%3A%2F%2Fnslog.de%2Fposts%2F130&amp;language=en_GB&amp;category=text&amp;title=Remote+Web+Inspector+Pt.+2&amp;description=It+gets+even+better%2C+because+this+also+works+in+Mobile+Safari+on+the+iOS+5+Simulator%21+Here%26%238217%3Bs+a+little+script+you+can+run%2C+that+enables+the+remote+Web+Inspector+via...&amp;tags=Debugging%2CiPhone+Simulator%2CVoodoo%2CWebKit%2Cblog" type="text/html" />
	</item>
		<item>
		<title>Remote Web Inspector</title>
		<link>http://nslog.de/posts/124</link>
		<comments>http://nslog.de/posts/124#comments</comments>
		<pubDate>Wed, 07 Dec 2011 11:07:40 +0000</pubDate>
		<dc:creator>Ullrich</dc:creator>
				<category><![CDATA[Allgemein]]></category>
		<category><![CDATA[Debugging]]></category>
		<category><![CDATA[iPhone Simulator]]></category>
		<category><![CDATA[WebKit]]></category>

		<guid isPermaLink="false">http://nslog.de/?p=124</guid>
		<description><![CDATA[We recently stumbled across a blog post mentioning a way to enable a remote interface to a web inspector that is hidden inside the WebKit on iOS 5. Here&#8217;s how it&#8217;s done. In your Application Delegate add the following code: + (void)initialize; { [NSClassFromString(@"WebView") performSelector:@selector(_enableRemoteInspector)]; } With this you can direct your browser to http://localhost:9999 to [...]]]></description>
			<content:encoded><![CDATA[<p>We recently stumbled across a <a href="http://hiediutley.com/2011/11/22/debugging-ios-apps-using-safari-web-inspector/">blog post</a> mentioning a way to enable a remote interface to a web inspector that is hidden inside the WebKit on iOS 5.</p>
<p>Here&#8217;s how it&#8217;s done. In your Application Delegate add the following code:</p>
<pre>+ (void)initialize;
{
    [NSClassFromString(@"WebView") performSelector:@selector(_enableRemoteInspector)];
}</pre>
<p>With this you can direct your browser to <a href="http://localhost:9999">http://localhost:9999</a> to open the web inspector.</p>
<p>Have fun!</p>
<pre></pre>
 <p><a href="http://nslog.de/?flattrss_redirect&amp;id=124&amp;md5=8f9381bd04d8e492ee1e7d642988e367" title="Flattr" target="_blank"><img src="http://nslog.de/wp-content/plugins/flattr/img/flattr-badge-large.png" alt="flattr this!"/></a></p>]]></content:encoded>
			<wfw:commentRss>http://nslog.de/posts/124/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		<atom:link rel="payment" title="Flattr this!" href="https://flattr.com/submit/auto?user_id=26451&amp;popout=1&amp;url=http%3A%2F%2Fnslog.de%2Fposts%2F124&amp;language=en_GB&amp;category=text&amp;title=Remote+Web+Inspector&amp;description=We+recently+stumbled+across+a+blog+post+mentioning+a+way+to+enable+a+remote+interface+to+a+web+inspector+that+is+hidden+inside+the+WebKit+on+iOS+5.+Here%26%238217%3Bs+how...&amp;tags=Debugging%2CiPhone+Simulator%2CWebKit%2Cblog" type="text/html" />
	</item>
		<item>
		<title>Symbolicating without Xcode</title>
		<link>http://nslog.de/posts/120</link>
		<comments>http://nslog.de/posts/120#comments</comments>
		<pubDate>Tue, 27 Sep 2011 16:26:37 +0000</pubDate>
		<dc:creator>Ullrich</dc:creator>
				<category><![CDATA[Allgemein]]></category>
		<category><![CDATA[Bughunting]]></category>
		<category><![CDATA[Debugging]]></category>
		<category><![CDATA[Terminal]]></category>

		<guid isPermaLink="false">http://nslog.de/?p=120</guid>
		<description><![CDATA[Ever wanted to symbolicate a incomplete crash file (i.e. the logs you get from TestFlight)? You can symbolicate individual addresses from the crashlog in the terminal using a command named `atos` (if you&#8217;ve got the dSYM file for your build). Here&#8217;s an example: atos -arch armv7 -o MyApp.app.dSYM/Contents/Resources/DWARF/MyApp 0x0000babe This will output you the line [...]]]></description>
			<content:encoded><![CDATA[<p>Ever wanted to symbolicate a incomplete crash file (i.e. the logs you get from <a href="http://testflightapp.com/" target="_blank">TestFlight</a>)?</p>
<p>You can symbolicate individual addresses from the crashlog in the terminal using a command named `atos` (if you&#8217;ve got the dSYM file for your build). Here&#8217;s an example:</p>
<pre>atos -arch armv7 -o MyApp.app.dSYM/Contents/Resources/DWARF/MyApp 0x0000babe</pre>
<p>This will output you the line of code related to this address. I.e.:</p>
<pre>+[MyHappyClass fullOfFail] (in MyApp) + 429</pre>
<p>Pro Tip: not entering the address when calling the atos command leaves you in STDIN mode. Here you can add multiple addresses without restarting the tool.</p>
 <p><a href="http://nslog.de/?flattrss_redirect&amp;id=120&amp;md5=aba25063942c8915eb5d1718e95c4de9" title="Flattr" target="_blank"><img src="http://nslog.de/wp-content/plugins/flattr/img/flattr-badge-large.png" alt="flattr this!"/></a></p>]]></content:encoded>
			<wfw:commentRss>http://nslog.de/posts/120/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<atom:link rel="payment" title="Flattr this!" href="https://flattr.com/submit/auto?user_id=26451&amp;popout=1&amp;url=http%3A%2F%2Fnslog.de%2Fposts%2F120&amp;language=en_GB&amp;category=text&amp;title=Symbolicating+without+Xcode&amp;description=Ever+wanted+to+symbolicate+a+incomplete+crash+file+%28i.e.+the+logs+you+get+from+TestFlight%29%3F+You+can+symbolicate+individual+addresses+from+the+crashlog+in+the+terminal+using+a+command+named...&amp;tags=Bughunting%2CDebugging%2CTerminal%2Cblog" type="text/html" />
	</item>
	</channel>
</rss><!-- Dynamic page generated in 0.553 seconds. --><!-- Cached page generated by WP-Super-Cache on 2013-01-21 17:33:21 -->
