<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	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/"
	>

<channel>
	<title>Ed&#039;s BlogEd&#039;s Blog &#187; iTouch</title>
	<atom:link href="http://edmundlong.com/edsBlog/category/itouch/feed/" rel="self" type="application/rss+xml" />
	<link>http://edmundlong.com/edsBlog</link>
	<description>Stuff I&#039;m working on at the moment</description>
	<lastBuildDate>Thu, 26 Apr 2012 09:37:09 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	
		<item>
		<title>Making NSAssert work</title>
		<link>http://edmundlong.com/edsBlog/making-nsassert-work/</link>
		<comments>http://edmundlong.com/edsBlog/making-nsassert-work/#comments</comments>
		<pubDate>Tue, 12 Jul 2011 21:28:39 +0000</pubDate>
		<dc:creator>Eddie Long</dc:creator>
				<category><![CDATA[iPad]]></category>
		<category><![CDATA[iPhone]]></category>
		<category><![CDATA[iTouch]]></category>
		<category><![CDATA[Objective C]]></category>

		<guid isPermaLink="false">http://edmundlong.com/edsBlog/?p=365</guid>
		<description><![CDATA[Hi, NSAssert is handy but it has been annoying me recently as the execution of the debugger doesn&#8217;t stop when an assert is hit. Instead we get a message output to the console and the execution is stopped in the update loop at a later point. When something hits an assertion I want the program [...]]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fedmundlong.com%2FedsBlog%2Fmaking-nsassert-work%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fedmundlong.com%2FedsBlog%2Fmaking-nsassert-work%2F&amp;style=normal&amp;b=2" height="61" width="50" /><br />
			</a>
		</div>
<p>Hi,</p>
<p>NSAssert is handy but it has been annoying me recently as the execution of the debugger doesn&#8217;t stop when an assert is hit. Instead we get a message output to the console and the execution is stopped in the update loop at a later point. When something hits an assertion I want the program execution to stop immediately. For some reason beyond me this is disabled in XCode by default. To enable it go to Run->Stop on Objective-C Exceptions</p>
<p>There you go, your exceptions will now work.</p>
<div class="fullcircle-social-links" style="display: block;"></div><div style="clear: both;"></div>]]></content:encoded>
			<wfw:commentRss>http://edmundlong.com/edsBlog/making-nsassert-work/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>HOWTO: Record a movie from the iPhone Simulator</title>
		<link>http://edmundlong.com/edsBlog/howto-record-a-movie-from-the-iphone-simulator/</link>
		<comments>http://edmundlong.com/edsBlog/howto-record-a-movie-from-the-iphone-simulator/#comments</comments>
		<pubDate>Mon, 06 Jun 2011 21:44:28 +0000</pubDate>
		<dc:creator>Eddie Long</dc:creator>
				<category><![CDATA[iPhone]]></category>
		<category><![CDATA[iTouch]]></category>
		<category><![CDATA[Mac]]></category>

		<guid isPermaLink="false">http://edmundlong.com/edsBlog/?p=354</guid>
		<description><![CDATA[This is easy, only a few little steps. 1. First install SIMBL, use the pkg install and choose All Users install. 2. Download the iPhone Simulator Capture 3. Open up the iPhone Simulator and click on the iOS Simulator menu option and select About iOS Simulator. Note down the version number in brackets after the [...]]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fedmundlong.com%2FedsBlog%2Fhowto-record-a-movie-from-the-iphone-simulator%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fedmundlong.com%2FedsBlog%2Fhowto-record-a-movie-from-the-iphone-simulator%2F&amp;style=normal&amp;b=2" height="61" width="50" /><br />
			</a>
		</div>
<p>This is easy, only a few little steps.</p>
<p>1. First install <a href="http://www.culater.net/software/SIMBL/SIMBL.php">SIMBL</a>, use the pkg install and choose All Users install.</p>
<p>2. Download the <a href="https://github.com/davbeck/iPhone-Simulator-Capture/archives/master">iPhone Simulator Capture</a></p>
<p>3. Open up the iPhone Simulator and click on the iOS Simulator menu option and select About iOS Simulator. Note down the version number in brackets after the main version, it is 235 for me.</p>
<p>4. Open up the iPhone Simulator Capture.xcodeproj, navigate to Info.plist in the project view and update MaxBundleVersion to be the iOS Simulation version noted above.</p>
<p>5. Select Release and Build. You may see a post-build error, this is as the build process attempts to copy the output to two locations, the user SIMBL directory and the all-users SIMBL direction, only one is likely to exist from your install. The plugin should be copied to the SIMBL plugins directory*</p>
<p>6. Restart the Simulator and you&#8217;ll now see a Record menu option! It should be all fairly simple, one thing is that after you record a move you need to manually choose the Save Movie option afterwards, it does not save it to the HD as you go!</p>
<p>Easy!</p>
<p>* You can verify the build completed correctly by going to ~Library/Application Support/SIMBL/Plugins and you&#8217;ll see the file &#8220;iPhone Simulator Capture.bundle&#8221; if the install succeeded. If it isn&#8217;t there then check the user directory ~Users/MYUSERNAME/Library/Application Support/SIMBL/Plugins directory. If it is in neither then you may need to copy the bundle manually, check the iPhone Simulator Capture build/Release directory.</p>
<div class="fullcircle-social-links" style="display: block;"></div><div style="clear: both;"></div>]]></content:encoded>
			<wfw:commentRss>http://edmundlong.com/edsBlog/howto-record-a-movie-from-the-iphone-simulator/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Hundreds of errors including: Expected declaration specifiers or &#8216;&#8230;&#8217; before &#8216;CFXMLTreeRef&#8217;</title>
		<link>http://edmundlong.com/edsBlog/hundreds-of-errors-including-expected-declaration-specifiers-or-before-cfxmltreeref/</link>
		<comments>http://edmundlong.com/edsBlog/hundreds-of-errors-including-expected-declaration-specifiers-or-before-cfxmltreeref/#comments</comments>
		<pubDate>Wed, 05 Jan 2011 21:15:24 +0000</pubDate>
		<dc:creator>Eddie Long</dc:creator>
				<category><![CDATA[iPhone]]></category>
		<category><![CDATA[iTouch]]></category>
		<category><![CDATA[Objective C]]></category>

		<guid isPermaLink="false">http://edmundlong.com/edsBlog/?p=303</guid>
		<description><![CDATA[Hi, I upgraded recently to XCode 4.2 and on building the release version of my app was getting 96 odd errors. All of these orginate from Foundation.h with a callstack like below /Users/parrotbait/Documents/Dropbox/ /myApp/myApp_Prefix.pch /Developer/SDKs/MacOSX10.6.sdk/System/Library/Frameworks/Foundation.framework/Headers/Foundation.h:81:0 In file included from /Developer/SDKs/MacOSX10.6.sdk/System/Library/Frameworks/Foundation.framework/Headers/Foundation.h /Developer/SDKs/MacOSX10.6.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSURLError.h:17:0 In file included from /Developer/SDKs/MacOSX10.6.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSURLError.h /Developer/SDKs/MacOSX10.6.sdk/System/Library/Frameworks/CoreServices.framework/Headers/CoreServices.h:29:0 In file included from /Developer/SDKs/MacOSX10.6.sdk/System/Library/Frameworks/CoreServices.framework/Headers/CoreServices.h /Developer/SDKs/MacOSX10.6.sdk/System/Library/Frameworks/CoreServices.framework/Frameworks/OSServices.framework/Headers/OSServices.h:54:0 In file [...]]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fedmundlong.com%2FedsBlog%2Fhundreds-of-errors-including-expected-declaration-specifiers-or-before-cfxmltreeref%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fedmundlong.com%2FedsBlog%2Fhundreds-of-errors-including-expected-declaration-specifiers-or-before-cfxmltreeref%2F&amp;style=normal&amp;b=2" height="61" width="50" /><br />
			</a>
		</div>
<p>Hi,</p>
<p>I upgraded recently to XCode 4.2 and on building the release version of my app was getting 96 odd errors. All of these orginate from Foundation.h with a callstack like below</p>
<pre  class="brush:text">
/Users/parrotbait/Documents/Dropbox/
<path>/myApp/myApp_Prefix.pch

/Developer/SDKs/MacOSX10.6.sdk/System/Library/Frameworks/Foundation.framework/Headers/Foundation.h:81:0 In file included from /Developer/SDKs/MacOSX10.6.sdk/System/Library/Frameworks/Foundation.framework/Headers/Foundation.h

/Developer/SDKs/MacOSX10.6.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSURLError.h:17:0 In file included from /Developer/SDKs/MacOSX10.6.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSURLError.h

/Developer/SDKs/MacOSX10.6.sdk/System/Library/Frameworks/CoreServices.framework/Headers/CoreServices.h:29:0 In file included from /Developer/SDKs/MacOSX10.6.sdk/System/Library/Frameworks/CoreServices.framework/Headers/CoreServices.h

/Developer/SDKs/MacOSX10.6.sdk/System/Library/Frameworks/CoreServices.framework/Frameworks/OSServices.framework/Headers/OSServices.h:54:0 In file included from /Developer/SDKs/MacOSX10.6.sdk/System/Library/Frameworks/CoreServices.framework/Frameworks/OSServices.framework/Headers/OSServices.h

/Developer/SDKs/MacOSX10.6.sdk/System/Library/Frameworks/CoreServices.framework/Frameworks/OSServices.framework/Headers/WSMethodInvocation.h:773:0 Expected declaration specifiers or '...' before 'CFXMLTreeRef' in /Developer/SDKs/MacOSX10.6.sdk/System/Library/Frameworks/CoreServices.framework/Frameworks/OSServices.framework/Headers/WSMethodInvocation.h
</pre>
<p>Why were the OSX frameworks being used? As they were being used for an iOs build there was all sorts of problems. So I began to hunt down the origin of the call to the OSX headers.<br />
After checking my project settings everything looked fine and I couldn&#8217;t see what the problem was. However after opening the transcript of the build I saw that on compiling the precompiled headers I was the errors were occuring. There was a compiler flag &#8216;-F&#8217; for framework that indicates what paths to search for frameworks:</p>
<pre  class="brush:text">
-F/Developer/SDKs/MacOSX10.6.sdk/System/Library/Frameworks
</pre>
<p>Right clicking on my Target and searching for Framework in the build section, I found that I had somehow (although I don&#8217;t remember doing this and am not convinced I really did) had an entry for &#8216;Framework Search Paths&#8217;</p>
<pre class:"brush:text">
"$(DEVELOPER_DIR)/SDKs/MacOSX10.6.sdk/System/Library/Frameworks"
</pre>
<p>Removing this got rid of my 100s of build errors. </p>
<div class="fullcircle-social-links" style="display: block;"></div><div style="clear: both;"></div>]]></content:encoded>
			<wfw:commentRss>http://edmundlong.com/edsBlog/hundreds-of-errors-including-expected-declaration-specifiers-or-before-cfxmltreeref/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>New iTouch apps, PSP firmware and creating a tar.gz archive</title>
		<link>http://edmundlong.com/edsBlog/new-itouch-apps-psp-firmware-and-creating-a-targz-archive/</link>
		<comments>http://edmundlong.com/edsBlog/new-itouch-apps-psp-firmware-and-creating-a-targz-archive/#comments</comments>
		<pubDate>Tue, 24 Mar 2009 22:27:09 +0000</pubDate>
		<dc:creator>edlong</dc:creator>
				<category><![CDATA[Archive Post]]></category>
		<category><![CDATA[iTouch]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Mac]]></category>

		<guid isPermaLink="false">http://edmundlong.com/edsBlog/?p=43</guid>
		<description><![CDATA[Hi again, I’ve been fishing around for new iTouch apps and have found some excellent new ones out there. Check out Simplify Media, its brilliant allows you to connect to your iTunes library as long as you have a Wifi connection. Just install the app on your Mac or PC, create an account and download [...]]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fedmundlong.com%2FedsBlog%2Fnew-itouch-apps-psp-firmware-and-creating-a-targz-archive%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fedmundlong.com%2FedsBlog%2Fnew-itouch-apps-psp-firmware-and-creating-a-targz-archive%2F&amp;style=normal&amp;b=2" height="61" width="50" /><br />
			</a>
		</div>
<p>Hi again,</p>
<p>I’ve been fishing around for new iTouch apps and have found some excellent new ones out there. Check out <a href="http://www.simplifymedia.com/">Simplify Media</a>, its brilliant allows you to connect to your iTunes library as long as you have a Wifi connection. Just install the app on your Mac or PC, create an account and download the Simplify Media app from the iTouch Installer and log in there too. Takes a little while to get the libraries the first time but after that its very fast. The songs then buffer as if you were streaming them, I’m very impressed with the speed of it &#8211; a must have for any iTouch/iPhone owner.</p>
<p>Another site that has lots of recommendations but isn’t quite working for me yet is <a href="http://www.seeqpod.com/">Seeqpod</a> which is basically a search engine that searches for music in Safari and apparently can stream the audio over the net. The audio doesn’t start for me yet, not sure why. There does seem to be a HUGE amount of music there though.</p>
<p>iPhysics is very very cool ‘game’, you can draw lines, objects and then the physics engine takes over and the new objects bounce around under gravity and as you would expect under Newtonian phyiscs. The really impressive thing is that it is dynamic, you can create objects on the fly and they’ll interact with one another and bounce around the place, fun. The game part involves moving a ball across a level to a small red box, there’s tons of user-created levels so its quite fun from what I’ve played of it. <a href="http://files.slembcke.net/chipmunk/movies/sketches.mov">Here’s a video of something similar</a> I found a few weeks ago, thought it was only a college experiment though <img src='http://edmundlong.com/edsBlog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>Similar to the SimplifyMedia is the <a href="http://code.google.com/p/telekinesis/">telekinesis</a> project. It looks really cool and I’ve not had a chance to test this yet but will give it a goo this evening and see how it works.</p>
<p>Also <a href="http://www.scummvm.org/">ScummVM</a> is available for the iTouch now which means that……….yes Monkey Island my all-time favourite game can be played on it. Also can play all the ScummVM developed games, Sam &#038; Max, Indy series and all the other classic adventure games. Hurray!</p>
<p><a href="http://www.appleiphoneschool.com/category/mobilecast/">MobileCast</a> is an other app that can be installed via the Installer. It allows you to fetch podcasts from RSS feeds without having to sync up with iTunes, this wil be handy when I’m travelling and can just pick up random Wifi hotspots.</p>
<p>I’ve recently upgraded the firmware on my PSP to version 3.90 M33-3, mainly because I want to play Pro Evo 2008. Check out Dark Alex’s site with all the releases there, I upgraded from version 3.51. Always pretty nervous when doing it but he hasn’t let me down yet.</p>
<p><a href="http://www.dark-alex.org/">Linky to his site</a></p>
<p>Finally here’s how to quickly create a tar gz archive. Here it is</p>
<pre class="brush:plain">  tar -pczf nameOfArchive.tar.gz /directoryToZip</pre>
<div class="fullcircle-social-links" style="display: block;"></div><div style="clear: both;"></div>]]></content:encoded>
			<wfw:commentRss>http://edmundlong.com/edsBlog/new-itouch-apps-psp-firmware-and-creating-a-targz-archive/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
<enclosure url="http://files.slembcke.net/chipmunk/movies/sketches.mov" length="3934204" type="video/quicktime" />
		</item>
	</channel>
</rss>
