<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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/"
		>
<channel>
	<title>Comments on: How to make an iPhone static library &#8211; part 2</title>
	<atom:link href="http://t-machine.org/index.php/2009/10/14/how-to-make-an-iphone-static-library-part-2/feed/" rel="self" type="application/rss+xml" />
	<link>http://t-machine.org/index.php/2009/10/14/how-to-make-an-iphone-static-library-part-2/</link>
	<description>Internet Gaming, Computer Games, Technology, MMO, and Web 2.0</description>
	<lastBuildDate>Sun, 05 Sep 2010 20:30:54 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
	<item>
		<title>By: adam</title>
		<link>http://t-machine.org/index.php/2009/10/14/how-to-make-an-iphone-static-library-part-2/comment-page-1/#comment-5954</link>
		<dc:creator>adam</dc:creator>
		<pubDate>Wed, 12 May 2010 13:59:40 +0000</pubDate>
		<guid isPermaLink="false">http://t-machine.org/?p=683#comment-5954</guid>
		<description>@Corin

None of our current projects are OS 4, and we&#039;re still using Xcode 3.1 for backwards compaitilbity, so I don&#039;t know if it&#039;s fixed.

However, I think one aspect of this is definitely going to be easier. With iPad, Apple &quot;un-deleted&quot; the support for universal binaries (which IIRC I originally used for doing static libraries), so you should at least be able to make a single unified lib again (but this is IIRC).</description>
		<content:encoded><![CDATA[<p>@Corin</p>
<p>None of our current projects are OS 4, and we&#8217;re still using Xcode 3.1 for backwards compaitilbity, so I don&#8217;t know if it&#8217;s fixed.</p>
<p>However, I think one aspect of this is definitely going to be easier. With iPad, Apple &#8220;un-deleted&#8221; the support for universal binaries (which IIRC I originally used for doing static libraries), so you should at least be able to make a single unified lib again (but this is IIRC).</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Corin</title>
		<link>http://t-machine.org/index.php/2009/10/14/how-to-make-an-iphone-static-library-part-2/comment-page-1/#comment-5953</link>
		<dc:creator>Corin</dc:creator>
		<pubDate>Wed, 12 May 2010 13:47:47 +0000</pubDate>
		<guid isPermaLink="false">http://t-machine.org/?p=683#comment-5953</guid>
		<description>What about iPhone OS 4.0 and Xcode 3.2.3? Do the same bug still exist?</description>
		<content:encoded><![CDATA[<p>What about iPhone OS 4.0 and Xcode 3.2.3? Do the same bug still exist?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: edgecrush3r</title>
		<link>http://t-machine.org/index.php/2009/10/14/how-to-make-an-iphone-static-library-part-2/comment-page-1/#comment-4296</link>
		<dc:creator>edgecrush3r</dc:creator>
		<pubDate>Fri, 12 Feb 2010 01:06:47 +0000</pubDate>
		<guid isPermaLink="false">http://t-machine.org/?p=683#comment-4296</guid>
		<description>Nice article.. I completely agree with you on the arrogant Apple documents why you shouldnt use static opposed to dynamic libraries. For those who are ignorant to see the difference, static libraries has its uses and dynamic libraries are sometimes more hassle than its worth. If you dont think so, try compiling and maintaining more complex environments and you will find yourself recursively compiling just to get that one daemon up and running. I am not saying i favor static compilations, but they do have their uses and anyone who doesnt think so will get their head stuck in the near future.</description>
		<content:encoded><![CDATA[<p>Nice article.. I completely agree with you on the arrogant Apple documents why you shouldnt use static opposed to dynamic libraries. For those who are ignorant to see the difference, static libraries has its uses and dynamic libraries are sometimes more hassle than its worth. If you dont think so, try compiling and maintaining more complex environments and you will find yourself recursively compiling just to get that one daemon up and running. I am not saying i favor static compilations, but they do have their uses and anyone who doesnt think so will get their head stuck in the near future.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Victor Costan</title>
		<link>http://t-machine.org/index.php/2009/10/14/how-to-make-an-iphone-static-library-part-2/comment-page-1/#comment-3521</link>
		<dc:creator>Victor Costan</dc:creator>
		<pubDate>Mon, 07 Dec 2009 06:02:37 +0000</pubDate>
		<guid isPermaLink="false">http://t-machine.org/?p=683#comment-3521</guid>
		<description>I figured out a way to put together the code for the simulator and the device, in one file.

http://blog.costan.us/2009/12/fat-iphone-static-libraries-device-and.html</description>
		<content:encoded><![CDATA[<p>I figured out a way to put together the code for the simulator and the device, in one file.</p>
<p><a href="http://blog.costan.us/2009/12/fat-iphone-static-libraries-device-and.html" onclick="javascript:pageTracker._trackPageview('/outbound/comment/http://blog.costan.us/2009/12/fat-iphone-static-libraries-device-and.html');" rel="nofollow">http://blog.costan.us/2009/12/fat-iphone-static-libraries-device-and.html</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: adam</title>
		<link>http://t-machine.org/index.php/2009/10/14/how-to-make-an-iphone-static-library-part-2/comment-page-1/#comment-3270</link>
		<dc:creator>adam</dc:creator>
		<pubDate>Fri, 30 Oct 2009 17:14:24 +0000</pubDate>
		<guid isPermaLink="false">http://t-machine.org/?p=683#comment-3270</guid>
		<description>@fluxon

Thanks for commenting. Please read Part 1 of the article (link at the top). This should explain all the ways in which the StormyProds blog post is - effectively - useless here.

Sorry.</description>
		<content:encoded><![CDATA[<p>@fluxon</p>
<p>Thanks for commenting. Please read Part 1 of the article (link at the top). This should explain all the ways in which the StormyProds blog post is &#8211; effectively &#8211; useless here.</p>
<p>Sorry.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: fluxon</title>
		<link>http://t-machine.org/index.php/2009/10/14/how-to-make-an-iphone-static-library-part-2/comment-page-1/#comment-3269</link>
		<dc:creator>fluxon</dc:creator>
		<pubDate>Fri, 30 Oct 2009 16:52:19 +0000</pubDate>
		<guid isPermaLink="false">http://t-machine.org/?p=683#comment-3269</guid>
		<description>this site explains it really nicely with no hassle.
http://blog.stormyprods.com/2008/11/using-static-libraries-with-iphone-sdk.html</description>
		<content:encoded><![CDATA[<p>this site explains it really nicely with no hassle.<br />
<a href="http://blog.stormyprods.com/2008/11/using-static-libraries-with-iphone-sdk.html" onclick="javascript:pageTracker._trackPageview('/outbound/comment/http://blog.stormyprods.com/2008/11/using-static-libraries-with-iphone-sdk.html');" rel="nofollow">http://blog.stormyprods.com/2008/11/using-static-libraries-with-iphone-sdk.html</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: T=Machine » How to make an iPhone static library – part 2 &#124; IPhoneMate</title>
		<link>http://t-machine.org/index.php/2009/10/14/how-to-make-an-iphone-static-library-part-2/comment-page-1/#comment-3213</link>
		<dc:creator>T=Machine » How to make an iPhone static library – part 2 &#124; IPhoneMate</dc:creator>
		<pubDate>Tue, 20 Oct 2009 20:31:15 +0000</pubDate>
		<guid isPermaLink="false">http://t-machine.org/?p=683#comment-3213</guid>
		<description>[...] this link: T=Machine » How to make an iPhone static library – part 2         Share and [...]</description>
		<content:encoded><![CDATA[<p>[...] this link: T=Machine » How to make an iPhone static library – part 2         Share and [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: adam</title>
		<link>http://t-machine.org/index.php/2009/10/14/how-to-make-an-iphone-static-library-part-2/comment-page-1/#comment-3205</link>
		<dc:creator>adam</dc:creator>
		<pubDate>Wed, 14 Oct 2009 10:34:09 +0000</pubDate>
		<guid isPermaLink="false">http://t-machine.org/?p=683#comment-3205</guid>
		<description>Thanks for the comment.

I&#039;m sorry that you misread my post, I&#039;ll try to make those bits clearer here.

I agree entirely that &quot;there is no contradiction&quot; - I never claimed there was. Rather, I pointed out that IN PLACE OF documentation, Apple currently has (or at least &quot;had&quot; when I was reading it) circular references; the Xcode docs for static libs are &quot;missing&quot;, and instead there&#039;s one of their little notes saying &quot;this is missing because you shouldn&#039;t be using static libs any more; click this link to go to the dynamic libs docs&quot; (or something to that effect).

I&#039;ll skip over the Obj-C-is-a-hack thing - that distraction was my fault, a throwaway comment referring to the language itself, which isn&#039;t really at issue here.

W.r.t. the linker, I didn&#039;t make it clear enough, but my complaints about linking are really only about Xcode&#039;s failure to support this in a neat fashion. A proprietary IDE designed around a specific language shouldn&#039;t require you to manually add &quot;custom&quot; linker flags for something that is a basic, normal use-case.

After all that ... sadly, you had nothing to say about the core problem: how do you ( how are you supposed to ) setup, build, and link static libs on iPhone?

I would greatly appreciate it if you would enlighten the rest of us on that problem too. Thanks!</description>
		<content:encoded><![CDATA[<p>Thanks for the comment.</p>
<p>I&#8217;m sorry that you misread my post, I&#8217;ll try to make those bits clearer here.</p>
<p>I agree entirely that &#8220;there is no contradiction&#8221; &#8211; I never claimed there was. Rather, I pointed out that IN PLACE OF documentation, Apple currently has (or at least &#8220;had&#8221; when I was reading it) circular references; the Xcode docs for static libs are &#8220;missing&#8221;, and instead there&#8217;s one of their little notes saying &#8220;this is missing because you shouldn&#8217;t be using static libs any more; click this link to go to the dynamic libs docs&#8221; (or something to that effect).</p>
<p>I&#8217;ll skip over the Obj-C-is-a-hack thing &#8211; that distraction was my fault, a throwaway comment referring to the language itself, which isn&#8217;t really at issue here.</p>
<p>W.r.t. the linker, I didn&#8217;t make it clear enough, but my complaints about linking are really only about Xcode&#8217;s failure to support this in a neat fashion. A proprietary IDE designed around a specific language shouldn&#8217;t require you to manually add &#8220;custom&#8221; linker flags for something that is a basic, normal use-case.</p>
<p>After all that &#8230; sadly, you had nothing to say about the core problem: how do you ( how are you supposed to ) setup, build, and link static libs on iPhone?</p>
<p>I would greatly appreciate it if you would enlighten the rest of us on that problem too. Thanks!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: WTF</title>
		<link>http://t-machine.org/index.php/2009/10/14/how-to-make-an-iphone-static-library-part-2/comment-page-1/#comment-3201</link>
		<dc:creator>WTF</dc:creator>
		<pubDate>Wed, 14 Oct 2009 05:51:18 +0000</pubDate>
		<guid isPermaLink="false">http://t-machine.org/?p=683#comment-3201</guid>
		<description>This is one of the most ridiculous things I have ever read. You simply don&#039;t know how to use Xcode properly. There is nothing inherently wrong with that, but the fact that you can&#039;t/don&#039;t know how to use the product correctly does not mean that it has any bugs. Also Objective-C isn&#039;t hacky, and linker flags are there for specific cases. In the case of static libraries, object code is not linked into the executable unless it is referenced. In Objective-C, a lot of constructs like categories are bound at launch by the Objective-C runtime, which makes it very dynamic. However, to the compiler, this just looks like unreferenced object code, so the compiler will omit it. When the runtime attempts to execute code that is not actually linked, of course your executable aborts. The -ObjC flag just tells the linker to copy all the executable object code into the final project regardless of whether it is referenced at link time (so that categories and other such dynamically loaded constructs can be used).

Also Apple says to use dynamic linking for Mac OS X. There is no contradiction, iPhone OS != Mac OS X. You should continue to build and link dynamically on Mac OS X, unless there is a compelling reason not to (for instance, embedding the lua runtime into some server or application). What kind of programmer did you say you were again?</description>
		<content:encoded><![CDATA[<p>This is one of the most ridiculous things I have ever read. You simply don&#8217;t know how to use Xcode properly. There is nothing inherently wrong with that, but the fact that you can&#8217;t/don&#8217;t know how to use the product correctly does not mean that it has any bugs. Also Objective-C isn&#8217;t hacky, and linker flags are there for specific cases. In the case of static libraries, object code is not linked into the executable unless it is referenced. In Objective-C, a lot of constructs like categories are bound at launch by the Objective-C runtime, which makes it very dynamic. However, to the compiler, this just looks like unreferenced object code, so the compiler will omit it. When the runtime attempts to execute code that is not actually linked, of course your executable aborts. The -ObjC flag just tells the linker to copy all the executable object code into the final project regardless of whether it is referenced at link time (so that categories and other such dynamically loaded constructs can be used).</p>
<p>Also Apple says to use dynamic linking for Mac OS X. There is no contradiction, iPhone OS != Mac OS X. You should continue to build and link dynamically on Mac OS X, unless there is a compelling reason not to (for instance, embedding the lua runtime into some server or application). What kind of programmer did you say you were again?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: T=Machine &#187; How to make an iPhone static library &#8211; part 1</title>
		<link>http://t-machine.org/index.php/2009/10/14/how-to-make-an-iphone-static-library-part-2/comment-page-1/#comment-3198</link>
		<dc:creator>T=Machine &#187; How to make an iPhone static library &#8211; part 1</dc:creator>
		<pubDate>Wed, 14 Oct 2009 00:08:42 +0000</pubDate>
		<guid isPermaLink="false">http://t-machine.org/?p=683#comment-3198</guid>
		<description>[...] How to make an iPhone static library &#8211; part 2   (No Ratings Yet) &#160;Loading ... Filed under : iphone, programming [...]</description>
		<content:encoded><![CDATA[<p>[...] How to make an iPhone static library &#8211; part 2   (No Ratings Yet) &nbsp;Loading &#8230; Filed under : iphone, programming [...]</p>
]]></content:encoded>
	</item>
</channel>
</rss>
