<?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; Multi-touch</title>
	<atom:link href="http://doganberktas.com/tag/multi-touch/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, 26 Jan 2012 00:29:52 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<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>7</slash:comments>
		</item>
	</channel>
</rss>

