<?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>dogan kaya berktas &#187; iphone</title>
	<atom:link href="http://doganberktas.com/category/iphone/feed/" rel="self" type="application/rss+xml" />
	<link>http://doganberktas.com</link>
	<description>is actually from a small planet somewhere in the vicinity of Betelgeuse</description>
	<lastBuildDate>Thu, 29 Jul 2010 22:50:53 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>Summary of Web Application Libraries for iPhone</title>
		<link>http://doganberktas.com/2010/07/17/summary-of-web-application-libraries-for-iphone/</link>
		<comments>http://doganberktas.com/2010/07/17/summary-of-web-application-libraries-for-iphone/#comments</comments>
		<pubDate>Fri, 16 Jul 2010 23:46:13 +0000</pubDate>
		<dc:creator>dkberktas</dc:creator>
				<category><![CDATA[english]]></category>
		<category><![CDATA[ipad]]></category>
		<category><![CDATA[iphone]]></category>
		<category><![CDATA[tech]]></category>
		<category><![CDATA[iPad]]></category>
		<category><![CDATA[iui]]></category>
		<category><![CDATA[iwebkit]]></category>
		<category><![CDATA[jqtouch]]></category>
		<category><![CDATA[pastrykit]]></category>
		<category><![CDATA[sencha touch]]></category>
		<category><![CDATA[spoutcore]]></category>

		<guid isPermaLink="false">http://doganberktas.com/?p=437</guid>
		<description><![CDATA[PastryKit &#8212; it is from Apple, but it is not public,  you can see it from the iPhone User Guide, it will be released to public hopefully. http://stackoverflow.com/questions/1143589/what-is-the-pastrykit-framework http://daringfireball.net/2009/12/pastrykit http://ajaxian.com/archives/pastrykit-an-iphone-webdev-library-from-apple Sencha Touch &#8212; you should definitely see their kitchen sink, it is pretty cool.but there is no commercial license yet. http://ajaxian.com/archives/sencha-touch http://mobile.tutsplus.com/articles/news/sencha-touch-html5-mobile-framework/ http://www.endofnative.com/ iUi &#8212; [...]]]></description>
			<content:encoded><![CDATA[<p><strong>PastryKit</strong> &#8212; it is from Apple, but it is not public,  you can see it from the <a href="http://help.apple.com/iphone/3/mobile/">iPhone User Guide</a>, it will be released to public hopefully.</p>
<ul>
<li><a href="http://stackoverflow.com/questions/1143589/what-is-the-pastrykit-framework">http://stackoverflow.com/questions/1143589/what-is-the-pastrykit-framework</a></li>
<li><a href="http://daringfireball.net/2009/12/pastrykit">http://daringfireball.net/2009/12/pastrykit</a></li>
<li><a href="http://ajaxian.com/archives/pastrykit-an-iphone-webdev-library-from-apple">http://ajaxian.com/archives/pastrykit-an-iphone-webdev-library-from-apple</a></li>
</ul>
<p><a href="http://www.sencha.com/products/touch/"><strong>Sencha Touch</strong></a> &#8212; you should definitely see their <a href="http://www.sencha.com/deploy/touch/examples/kitchensink/">kitchen sink</a>, it is pretty cool.but there is no commercial license yet.</p>
<ul>
<li><a href="http://ajaxian.com/archives/sencha-touch">http://ajaxian.com/archives/sencha-touch</a></li>
<li><a href="http://mobile.tutsplus.com/articles/news/sencha-touch-html5-mobile-framework/">http://mobile.tutsplus.com/articles/news/sencha-touch-html5-mobile-framework/</a></li>
<li><a href="http://www.endofnative.com/">http://www.endofnative.com/</a></li>
</ul>
<p style="text-align: center;"><img class="aligncenter" src="http://doganberktas.com/wp-content/uploads/2010/07/photo.png" alt="and the winner is ..." width="441" height="588" /></p>
<p><a href="http://code.google.com/p/iui/"><strong>iUi</strong></a> &#8212; not that many people using it I guess. I build a site with it, if it is sth fast and easy to learn, iUi can do the job.</p>
<ul>
<li>Sites build with iUi &#8212; <a href="http://code.google.com/p/iui/wiki/PoweredBy">http://code.google.com/p/iui/wiki/PoweredBy</a></li>
</ul>
<p><span style="color: #ff6600;"><a href="http://jqtouch.com"><strong>jqtouch</strong></a></span> &#8212; <a href="http://jqtouch.com/preview/demos/main/">demos</a> seem very nice, probably better than iUi in terms of current release capabilities and size of community.</p>
<p><a href="http://iwebkit.net/">iWebkit</a> &#8212; <a href="http://iwebkit.net/demo">demo</a> seems promising, but not ready for prime time.</p>
<p><a href="http://www.sproutcore.com/what-is-sproutcore/">SproutCore</a> &#8212; not for iPhone specificly, but its <a href="http://demo.sproutcore.com/sample_controls/">demo</a> seems nice.</p>
<p>So my choice for the next task is jqtouch. not iui this time.</p>
]]></content:encoded>
			<wfw:commentRss>http://doganberktas.com/2010/07/17/summary-of-web-application-libraries-for-iphone/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Yet Another Hacker News iPad Reader</title>
		<link>http://doganberktas.com/2010/07/07/yet-another-hacker-news-ipad-reader/</link>
		<comments>http://doganberktas.com/2010/07/07/yet-another-hacker-news-ipad-reader/#comments</comments>
		<pubDate>Wed, 07 Jul 2010 09:27:45 +0000</pubDate>
		<dc:creator>dkberktas</dc:creator>
				<category><![CDATA[english]]></category>
		<category><![CDATA[ipad]]></category>
		<category><![CDATA[iphone]]></category>
		<category><![CDATA[tech]]></category>
		<category><![CDATA[app store]]></category>
		<category><![CDATA[iPad]]></category>

		<guid isPermaLink="false">http://doganberktas.com/?p=375</guid>
		<description><![CDATA[A couple of weeks ago, I wanted to read Hackernews with my iPad [although some HackerNews readers see iPad’s Safari good enough for the task (which requires opening new tabs for comments,  lots of copy &#38; pasting URLs to share and  etc)], I searched for an application. Eventually, I found two, which are both paid [...]]]></description>
			<content:encoded><![CDATA[<p style="text-align: justify;">A couple of weeks ago, I wanted to read Hackernews with my iPad [although  some HackerNews readers see iPad’s Safari good enough for the task  (which requires opening new tabs for comments,  lots of copy &amp; pasting URLs to  share and  etc)], I searched for an application. Eventually, I found two, which are both paid applications. Since this applications is in my seven nights category (which is something I can code in seven consequent nights without disrupting my day work), I decided to code it myself.</p>
<p style="text-align: justify;">After 3 nights the application was ready for the submission. It got rejected since I didn&#8217;t read the iPad User guidelines carefully (actually I just skimmed it in 5 minutes). The rejection reason is &#8220;You can&#8217;t show more than one popover at the same time&#8221;. I fixed the problem, and it is available in the app store (<a href="http://dogan.appspot.com/35">App Store link</a>)</p>
<p><img class="alignnone" style="margin-left: -50px;" src="http://doganberktas.com/wp-content/uploads/2010/07/Screen-shot-2010-07-07-at-12.07.53-PM.png" alt="Yet Another Hackernews reader" width="566" height="476" /></p>
<p style="text-align: justify;">I will probably change the default RSS feed of Hackernews which only show top 30 posts. Probably something on GAE, and maybe a simple my favorites kind of thing.</p>
]]></content:encoded>
			<wfw:commentRss>http://doganberktas.com/2010/07/07/yet-another-hacker-news-ipad-reader/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>iPhone Ad Hoc Distribution Caveats and Useful Links</title>
		<link>http://doganberktas.com/2010/06/26/iphone-ad-hoc-distribution-caveats-and-useful-links/</link>
		<comments>http://doganberktas.com/2010/06/26/iphone-ad-hoc-distribution-caveats-and-useful-links/#comments</comments>
		<pubDate>Sat, 26 Jun 2010 03:09:44 +0000</pubDate>
		<dc:creator>dkberktas</dc:creator>
				<category><![CDATA[english]]></category>
		<category><![CDATA[iphone]]></category>
		<category><![CDATA[tech]]></category>
		<category><![CDATA[ad hoc distribution]]></category>

		<guid isPermaLink="false">http://doganberktas.com/?p=344</guid>
		<description><![CDATA[One of the things I learn after developing a couple of iPhone (and iPad) applications is that sometimes it can take more  time to make it to app store or installing the app to the clients device than actually developing the applications. Ad hoc distribution is one the things I really don&#8217;t like at all. [...]]]></description>
			<content:encoded><![CDATA[<p>One of the things I learn after developing a couple of iPhone (and iPad) applications is that sometimes it can take more  time to make it to app store or installing the app to the clients device than actually developing the applications.</p>
<p>Ad hoc distribution is one the things I really don&#8217;t like at all.</p>
<p>These are the caveats  :</p>
<p><img src="http://doganberktas.com/wp-content/uploads/2010/06/Screen-shot-2010-06-26-at-6.08.16-AM.png" alt="" width="527" height="443" /></p>
<p>-Download the distribution provisioning profile again from the Provisioning Portal, and remove the old one (from the organizer) before installing the new one</p>
<p>-Don&#8217;t forget to add the Entitlements.plist file with the key get-task-allow and the value false. (also add it tho the target build settings as Code Signing Entitlements key )</p>
<p>- If the client uses Windows make sure use .ipa file for sending the .app</p>
<p>- It is not iTunesArtwork.png but only iTunesArtwork</p>
<p>The links that explain the process:</p>
<ul>
<li>http://johnehartzog.com/2009/04/iphone-app-ad-hoc-gotchas/</li>
<li>http://www.innerfence.com/howto/install-iphone-application-ad-hoc-distribution</li>
<li>http://www.iphonedevsdk.com/forum/iphone-sdk-development/3156-problem-iphone-ad-hoc-distribution.html</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://doganberktas.com/2010/06/26/iphone-ad-hoc-distribution-caveats-and-useful-links/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Adding Transparent Modal View Programatically&#8211; iPhone</title>
		<link>http://doganberktas.com/2010/05/18/adding-transparent-modal-view-programatically-iphone/</link>
		<comments>http://doganberktas.com/2010/05/18/adding-transparent-modal-view-programatically-iphone/#comments</comments>
		<pubDate>Tue, 18 May 2010 03:14:28 +0000</pubDate>
		<dc:creator>dkberktas</dc:creator>
				<category><![CDATA[english]]></category>
		<category><![CDATA[iphone]]></category>
		<category><![CDATA[tech]]></category>
		<category><![CDATA[iphone application]]></category>
		<category><![CDATA[iphone sdk]]></category>
		<category><![CDATA[UIActivityIndicatorView]]></category>
		<category><![CDATA[uiview]]></category>

		<guid isPermaLink="false">http://doganberktas.com/?p=301</guid>
		<description><![CDATA[Assuming you have a long process  taken so long that you want to show a transparent view, you can do it very easily by just adding the following method to your .m file and you will get the following transparent loading view -(void)showLoadingView { CGRect transparentViewFrame = CGRectMake(0.0, 0.0,320.0,480.0); transparentView = [[UIView alloc] initWithFrame:transparentViewFrame]; transparentView.backgroundColor [...]]]></description>
			<content:encoded><![CDATA[<p>Assuming you have a long process  taken so long that you want to show a transparent view, you can do it very easily by just adding the following method to your .m file and you will get the following transparent loading view</p>
<p style="text-align: center;"><a href="http://doganberktas.com/wp-content/uploads/2010/05/Screen-shot-2010-05-17-at-8.09.33-PM.png"><br />
<img class="size-full wp-image-302 aligncenter" style="margin-top: 10px; margin-bottom: 10px;" title="Screen shot 2010-05-17 at 8.09.33 PM" src="http://doganberktas.com/wp-content/uploads/2010/05/Screen-shot-2010-05-17-at-8.09.33-PM.png" alt="" width="414" height="770" /></a></p>
<pre>-(void)showLoadingView
{
	CGRect transparentViewFrame = CGRectMake(0.0, 0.0,320.0,480.0);
	transparentView = [[UIView alloc] initWithFrame:transparentViewFrame];
	transparentView.backgroundColor = [UIColor lightGrayColor];
	transparentView.alpha = 0.9;

	UIActivityIndicatorView *spinner = [[UIActivityIndicatorView alloc] initWithActivityIndicatorStyle:UIActivityIndicatorViewStyleWhiteLarge];
	spinner.center = transparentView.center;
	[spinner startAnimating];

	UILabel *messageLabel = [[UILabel alloc] initWithFrame:CGRectMake(0, 280, 320, 30)];
	messageLabel.textAlignment = UITextAlignmentCenter;
	messageLabel.text = @"please wait...";

	[transparentView addSubview:spinner];
	[transparentView addSubview:messageLabel];

	[self.view addSubview:transparentView];

	[messageLabel release];
	[spinner release];
	[transparentView release];
}
</pre>
<p>Now, you should call this function whenever needed. Let&#8217;s say you have a background process that will run while the transparent loading view is shown, below is the code to handle this situation:</p>
<pre>-(void)myAction:(id)sender
{
	[self showLoadingView];

	[self performSelectorInBackground:@selector(myActionBackground:) withObject:sender];
}

-(void)myActionBackground:(id)sender
{
        NSAutoreleasePool *apool = [[NSAutoreleasePool alloc] init];
	//your code
        [apool release];
}
</pre>
]]></content:encoded>
			<wfw:commentRss>http://doganberktas.com/2010/05/18/adding-transparent-modal-view-programatically-iphone/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Using Memcache with Google App Engine (GAE/J)</title>
		<link>http://doganberktas.com/2010/01/18/using-memcache-with-google-app-engine-gaej-a-simple-beginning-fragman-iphone-application/</link>
		<comments>http://doganberktas.com/2010/01/18/using-memcache-with-google-app-engine-gaej-a-simple-beginning-fragman-iphone-application/#comments</comments>
		<pubDate>Mon, 18 Jan 2010 21:39:23 +0000</pubDate>
		<dc:creator>dkberktas</dc:creator>
				<category><![CDATA[english]]></category>
		<category><![CDATA[iphone]]></category>
		<category><![CDATA[Ajax]]></category>
		<category><![CDATA[gae]]></category>
		<category><![CDATA[gae/j]]></category>
		<category><![CDATA[Google App Engine]]></category>
		<category><![CDATA[gwt]]></category>
		<category><![CDATA[ifragman]]></category>
		<category><![CDATA[iphone application]]></category>
		<category><![CDATA[Java]]></category>
		<category><![CDATA[Java Servlet]]></category>
		<category><![CDATA[JavaScript programming language]]></category>
		<category><![CDATA[JSON]]></category>
		<category><![CDATA[Memcached]]></category>
		<category><![CDATA[Technology/Internet]]></category>

		<guid isPermaLink="false">http://doganberktas.com/?p=196</guid>
		<description><![CDATA[A simple beginning &#8212; Fragman iPhone Application Memcache provides convenience to store a frequent query in memory, so that you don&#8217;t have to make the same execution over and over again. For the iPhone application I build (Fragman), I build a GAE/J backend for managing movie names, IMDB URLs, thumb images, video files, etc. It [...]]]></description>
			<content:encoded><![CDATA[<p><strong>A simple beginning &#8212; Fragman iPhone Application</strong></p>
<p>Memcache provides convenience to store a frequent query in memory, so that you don&#8217;t have to make the same execution over and over again. For the <a href="http://ifragman.com"><span style="color: #800000;">iPhone application I build (Fragman</span></a><span style="color: #800000;">)</span>, I build a GAE/J backend for managing movie names, IMDB URLs, thumb images, video files, etc. It interacts with the Obj-c code via calls encoded in JSON.</p>
<p>Since the categories are updated so frequently (new trailer, top 250 , soap opera trailers), every time the user starts the application from her iPhone, the corresponding categories Id(key) lists are  created which includes all the aspects mentioned above,</p>
<p>what I see, after people start to use the application that, most of the time, the application got stuck with the time constraint of GAE and  this causes inconvenience, so I decided to hold the category lists&#8217;s JSON in memory. Following is the code ,</p>
<p>this is the servlet for creating the JSON which is called after say upcoming movie list is changed. This servlet updates the memcached list</p>
<pre>        List keyList = new ArrayList();
	static Cache cache;
	static
	{
		try
		{
			CacheFactory cacheFactory =</pre>
<pre>CacheManager.getInstance().getCacheFactory();
			cache = cacheFactory.createCache(</pre>
<pre>Collections.emptyMap());
		}
		catch (CacheException e)
		{
			// ...
		}
		//.....
                public void doGet(HttpServletRequest request,</pre>
<pre>HttpServletResponse response) throws ServletException, IOException</pre>
<pre>	        {
                       //................
                       if(cache.containsKey(mode))
		       {
			     cache.remove(mode);
		       }
		       cache.put(mode, keyList);
	        }</pre>
<pre>                //........</pre>
<pre>          }</pre>
<p>And this is the servlet that fetch the Fragman beans from the datastore with the given keys (key list is got from the memecached list)</p>
<pre>          keyList = (List)cache.get(mode);</pre>
<pre>By doing this, I reduce the time that the servlet that creates the JSON takes.</pre>
]]></content:encoded>
			<wfw:commentRss>http://doganberktas.com/2010/01/18/using-memcache-with-google-app-engine-gaej-a-simple-beginning-fragman-iphone-application/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Fragman iPhone Application</title>
		<link>http://doganberktas.com/2010/01/18/fragman-iphone-application/</link>
		<comments>http://doganberktas.com/2010/01/18/fragman-iphone-application/#comments</comments>
		<pubDate>Mon, 18 Jan 2010 15:54:29 +0000</pubDate>
		<dc:creator>dkberktas</dc:creator>
				<category><![CDATA[iphone]]></category>
		<category><![CDATA[tech]]></category>
		<category><![CDATA[app store]]></category>
		<category><![CDATA[cinema]]></category>
		<category><![CDATA[fragman]]></category>
		<category><![CDATA[iphone application]]></category>
		<category><![CDATA[sinema]]></category>
		<category><![CDATA[teaser]]></category>
		<category><![CDATA[trailer]]></category>

		<guid isPermaLink="false">http://doganberktas.com/?p=177</guid>
		<description><![CDATA[Film fragmalarini ve trailerlarini iceren yeni iPhone uygulamasi Fragman app store&#8217;da yerini aldi.  Vizyon, gelecek, dizi ve Top 250 (imdb top 250) kategorilerini iceriyor, su an icin oldukca guncel devamini da getirmeyi dusunuyoruz, yardim etmek isteyenler olursa cok seviniriz. Uygulamanin web sayfasi http://ifragman.com.]]></description>
			<content:encoded><![CDATA[<p>Film fragmalarini ve trailerlarini iceren yeni iPhone uygulamasi Fragman app store&#8217;da yerini aldi.  Vizyon, gelecek, dizi ve Top 250 (imdb top 250) kategorilerini iceriyor, su an icin oldukca guncel <img src='http://doganberktas.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  devamini da getirmeyi dusunuyoruz, yardim etmek isteyenler olursa cok seviniriz. Uygulamanin web sayfasi <a href="http://ifragman.com">http://ifragman.com</a>.</p>
<p><a href="http://dogan.appspot.com/33"><img style="border: 0pt none;" src="http://doganberktas.com/wp-content/uploads/2010/01/App_Store1.jpg" alt="app store" /></a></p>
<p><a href="http://doganberktas.com/wp-content/uploads/2010/01/photo-4.jpg"><img class="size-full wp-image-178" title="photo 4" src="http://doganberktas.com/wp-content/uploads/2010/01/photo-4.jpg" alt="" width="320" height="480" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://doganberktas.com/2010/01/18/fragman-iphone-application/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Cydia and XCode Local App Testing</title>
		<link>http://doganberktas.com/2009/10/19/cydia-and-xcode-local-app-testing/</link>
		<comments>http://doganberktas.com/2009/10/19/cydia-and-xcode-local-app-testing/#comments</comments>
		<pubDate>Mon, 19 Oct 2009 13:44:48 +0000</pubDate>
		<dc:creator>dkberktas</dc:creator>
				<category><![CDATA[english]]></category>
		<category><![CDATA[iphone]]></category>
		<category><![CDATA[Cydia]]></category>
		<category><![CDATA[Dpkg]]></category>
		<category><![CDATA[IPhone OS]]></category>
		<category><![CDATA[jailbreak]]></category>
		<category><![CDATA[ldid]]></category>
		<category><![CDATA[local application]]></category>
		<category><![CDATA[Multi-touch]]></category>
		<category><![CDATA[test application]]></category>

		<guid isPermaLink="false">http://doganberktas.com/?p=78</guid>
		<description><![CDATA[1. Go to /Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS3.0.sdk/SDKSettings.plist and change CODE_SIGNING_REQUIRED to NO and save it. (if it complains about file permission right click the file and select Get Info and after unlocking the file, change the permission to read&#38;write) 2. In XCode open the info page and change Code Signing Identy to Don&#8217;t Code Sign. 3. In the [...]]]></description>
			<content:encoded><![CDATA[<p>1. Go to /Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS3.0.sdk/SDKSettings.plist and change CODE_SIGNING_REQUIRED to NO and save it. (if it complains about file permission right click the file and select Get Info and after unlocking the file, change the permission to read&amp;write)</p>
<p><img src="file:///Users/dkberktas/Desktop/Picture%2011.png" alt="" /><a rel="attachment wp-att-79" href="http://doganberktas.com/2009/10/19/cydia-and-xcode-local-app-testing/picture-11/"><img class="alignnone size-full wp-image-79" style="border: 0pt none;" title="Plist File" src="http://doganberktas.com/wp-content/uploads/2009/10/Picture-11.png" alt="Plist File" width="498" height="310" /></a></p>
<p><a rel="attachment wp-att-80" href="http://doganberktas.com/2009/10/19/cydia-and-xcode-local-app-testing/picture-12/"><img class="alignnone size-full wp-image-80" style="border: 0pt none;" title="Picture 12" src="http://doganberktas.com/wp-content/uploads/2009/10/Picture-12.png" alt="Picture 12" width="499" height="461" /></a></p>
<p>2. In XCode open the info page and change Code Signing Identy to Don&#8217;t Code Sign.</p>
<p><a rel="attachment wp-att-81" href="http://doganberktas.com/2009/10/19/cydia-and-xcode-local-app-testing/picture-13/"><img class="alignnone size-full wp-image-81" style="border: 0pt none;" title="Picture 13" src="http://doganberktas.com/wp-content/uploads/2009/10/Picture-13.png" alt="Picture 13" width="497" height="364" /></a><br />
3. In the terminal, set the environment variable  CODESIGN_ALLOCATE  as follows: (or you will get an error like this util/ldid.cpp(567): _assert(0:arch != NULL))<br />
export CODESIGN_ALLOCATE=/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/codesign_allocate<br />
<a rel="attachment wp-att-82" href="http://doganberktas.com/2009/10/19/cydia-and-xcode-local-app-testing/picture-14/"><img class="alignnone size-full wp-image-82" style="border: 0pt none;" title="Picture 14" src="http://doganberktas.com/wp-content/uploads/2009/10/Picture-14.png" alt="Picture 14" width="513" height="419" /></a><br />
4. Open Fugu and connect to your iphone (you can download FUGU from <a href="http://tc.versiontracker.com/product/redir/lid/173454/Fugu-1.2.0-Universal-English.dmg" target="_blank">here</a>)(you can find the IP address your iphone from Settings-&gt;Wi-fi-&gt;ConnectedWirelessName) (Username should be <strong>root</strong> and password should be <strong>alpine</strong> OR <strong>dottie</strong>) (open your iphone and don&#8217;t let it pass to stand-by mode during these phases)</p>
<p><a rel="attachment wp-att-83" href="http://doganberktas.com/2009/10/19/cydia-and-xcode-local-app-testing/picture-15/"><img class="alignnone size-full wp-image-83" style="border: 0pt none;" title="Picture 15" src="http://doganberktas.com/wp-content/uploads/2009/10/Picture-15.png" alt="Picture 15" width="509" height="415" /></a><a rel="attachment wp-att-84" href="http://doganberktas.com/2009/10/19/cydia-and-xcode-local-app-testing/picture-16/"><img class="alignnone size-full wp-image-84" style="border: 0px solid black;" title="Picture 16" src="http://doganberktas.com/wp-content/uploads/2009/10/Picture-16.png" alt="Picture 16" width="510" height="416" /></a><br />
5. Go to root directory and from here go to Applications directory</p>
<p><a rel="attachment wp-att-85" href="http://doganberktas.com/2009/10/19/cydia-and-xcode-local-app-testing/picture-17/"><img class="alignnone size-full wp-image-85" style="border: 0pt none;" title="Picture 17" src="http://doganberktas.com/wp-content/uploads/2009/10/Picture-17.png" alt="Picture 17" width="513" height="418" /></a><a rel="attachment wp-att-86" href="http://doganberktas.com/2009/10/19/cydia-and-xcode-local-app-testing/picture-18/"><img class="alignnone size-full wp-image-86" style="border: 0pt none;" title="Picture 18" src="http://doganberktas.com/wp-content/uploads/2009/10/Picture-18.png" alt="Picture 18" width="511" height="417" /></a><a rel="attachment wp-att-87" href="http://doganberktas.com/2009/10/19/cydia-and-xcode-local-app-testing/picture-19/"><img class="alignnone size-full wp-image-87" style="border: 0pt none;" title="Picture 19" src="http://doganberktas.com/wp-content/uploads/2009/10/Picture-19.png" alt="Picture 19" width="514" height="420" /></a><br />
6. In XCode, build your application, from Products folder, select Reveal in Finder</p>
<p>7. Upload the .app file to the Applications folder in your iPhone</p>
<p>8. Open a Terminal and connect to your iphone with ssh like (be  careful that iphone is not in stand-by mode)</p>
<p>root@192.168.1.5 and enter your password</p>
<p><a rel="attachment wp-att-88" href="http://doganberktas.com/2009/10/19/cydia-and-xcode-local-app-testing/picture-20/"><img class="alignnone size-full wp-image-88" style="border: 0pt none;" title="Picture 20" src="http://doganberktas.com/wp-content/uploads/2009/10/Picture-20.png" alt="Picture 20" width="557" height="425" /></a></p>
<p>9. First change the binary file permission of your application</p>
<p>chmod 755 /Applications/Appname.app/Appname</p>
<p>10. Then sign the app file with ldid</p>
<p>ldid -S /Applications/Appname.app/Appname</p>
<p>11. Restart the iphone, you are good to go</p>
<p>Note:<br />
1. If ldid command can not be found, type apt-get install ldid OR aptitude install ldid<br />
2. If apt-get can not be found install aptitude from Cydia</p>
<p>3.There are very useful pages on the net, so just google xcode and cydia, here is one of them http://thebigboss.org/hosting-repository/submit-your-app/compile-for-cydia-submission/</p>
<p>4. If you get an error like util/ldid.cpp(567): _assert(0:arch != NULL), there can be two possible reason for this, you either forget to export CODESIGN_ALLOCATE. The other possibility is that you build the application for the simulator. To fix this,  from XCOde change it to Device &#8211; 3.0  or sth similar <img src='http://doganberktas.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  . You should see it on the combo box top left top corner of XCode.</p>
]]></content:encoded>
			<wfw:commentRss>http://doganberktas.com/2009/10/19/cydia-and-xcode-local-app-testing/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>
