<?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 create multiple targets for Xcode iPhone Projects</title>
	<atom:link href="http://just2us.com/2009/07/tutorial-creating-multiple-targets-for-xcode-iphone-projects/feed/" rel="self" type="application/rss+xml" />
	<link>http://just2us.com/2009/07/tutorial-creating-multiple-targets-for-xcode-iphone-projects/</link>
	<description>Its about us</description>
	<lastBuildDate>Sat, 24 Jul 2010 14:41:40 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
	<item>
		<title>By: versatilemind.com &#187; Blog Archive &#187; Setting up multiple targets for iPhone projects</title>
		<link>http://just2us.com/2009/07/tutorial-creating-multiple-targets-for-xcode-iphone-projects/comment-page-1/#comment-880</link>
		<dc:creator>versatilemind.com &#187; Blog Archive &#187; Setting up multiple targets for iPhone projects</dc:creator>
		<pubDate>Tue, 26 Jan 2010 21:40:26 +0000</pubDate>
		<guid isPermaLink="false">http://just2us.com/2009/07/tutorial-creating-multiple-targets-for-xcode-iphone-projects/#comment-880</guid>
		<description>[...] Creating multiple targets for Xcode iPhone Projects [...]</description>
		<content:encoded><![CDATA[<p>[...] Creating multiple targets for Xcode iPhone Projects [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Tal</title>
		<link>http://just2us.com/2009/07/tutorial-creating-multiple-targets-for-xcode-iphone-projects/comment-page-1/#comment-623</link>
		<dc:creator>Tal</dc:creator>
		<pubDate>Sun, 04 Oct 2009 11:31:10 +0000</pubDate>
		<guid isPermaLink="false">http://just2us.com/2009/07/tutorial-creating-multiple-targets-for-xcode-iphone-projects/#comment-623</guid>
		<description>Problem solved:
I couldn&#039;t find what was the difference between the two target&#039;s configurations. However, using &#039;duplicate target&#039; on original target created a target copy which worked just fine with CoreData. 

So.. it seems that &#039;duplicate target&#039; may be a better starting point than &#039;add new target&#039; as it solves non-standard configurations of the first target.

Cheers</description>
		<content:encoded><![CDATA[<p>Problem solved:<br />
I couldn&#8217;t find what was the difference between the two target&#8217;s configurations. However, using &#8216;duplicate target&#8217; on original target created a target copy which worked just fine with CoreData. </p>
<p>So.. it seems that &#8216;duplicate target&#8217; may be a better starting point than &#8216;add new target&#8217; as it solves non-standard configurations of the first target.</p>
<p>Cheers</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Tal</title>
		<link>http://just2us.com/2009/07/tutorial-creating-multiple-targets-for-xcode-iphone-projects/comment-page-1/#comment-622</link>
		<dc:creator>Tal</dc:creator>
		<pubDate>Fri, 02 Oct 2009 14:05:07 +0000</pubDate>
		<guid isPermaLink="false">http://just2us.com/2009/07/tutorial-creating-multiple-targets-for-xcode-iphone-projects/#comment-622</guid>
		<description>Yeah it&#039;s there. I&#039;ve even removed them and added through &#039;add-&gt;existing framework&#039; and it doesn&#039;t work (only in the lite version). Odd.</description>
		<content:encoded><![CDATA[<p>Yeah it&#8217;s there. I&#8217;ve even removed them and added through &#8216;add-&gt;existing framework&#8217; and it doesn&#8217;t work (only in the lite version). Odd.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: samwize</title>
		<link>http://just2us.com/2009/07/tutorial-creating-multiple-targets-for-xcode-iphone-projects/comment-page-1/#comment-621</link>
		<dc:creator>samwize</dc:creator>
		<pubDate>Fri, 02 Oct 2009 10:49:36 +0000</pubDate>
		<guid isPermaLink="false">http://just2us.com/2009/07/tutorial-creating-multiple-targets-for-xcode-iphone-projects/#comment-621</guid>
		<description>@Tal
I am not sure the error is due to the steps here. But you might want to check that the frameworks are in the lite version target &gt; Link Binary With Libraries</description>
		<content:encoded><![CDATA[<p>@Tal<br />
I am not sure the error is due to the steps here. But you might want to check that the frameworks are in the lite version target > Link Binary With Libraries</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Tal</title>
		<link>http://just2us.com/2009/07/tutorial-creating-multiple-targets-for-xcode-iphone-projects/comment-page-1/#comment-620</link>
		<dc:creator>Tal</dc:creator>
		<pubDate>Fri, 02 Oct 2009 09:12:42 +0000</pubDate>
		<guid isPermaLink="false">http://just2us.com/2009/07/tutorial-creating-multiple-targets-for-xcode-iphone-projects/#comment-620</guid>
		<description>Hi,

Thanks for your post, it&#039;s very useful. There might be something missing though (or maybe I missed something) - After doing the steps above my lite version does not compile.

I&#039;ve got strange compilation errors concerning CoreData objects:

/iAppDelegate.h:14: error: expected specifier-qualifier-list before &#039;NSManagedObjectModel&#039;
iAppDelegate.h:15: error: expected specifier-qualifier-list before &#039;NSManagedObjectContext&#039;
....

and so on. I tried removing and adding the CoreData framework but that does not fix the problem..</description>
		<content:encoded><![CDATA[<p>Hi,</p>
<p>Thanks for your post, it&#8217;s very useful. There might be something missing though (or maybe I missed something) &#8211; After doing the steps above my lite version does not compile.</p>
<p>I&#8217;ve got strange compilation errors concerning CoreData objects:</p>
<p>/iAppDelegate.h:14: error: expected specifier-qualifier-list before &#8216;NSManagedObjectModel&#8217;<br />
iAppDelegate.h:15: error: expected specifier-qualifier-list before &#8216;NSManagedObjectContext&#8217;<br />
&#8230;.</p>
<p>and so on. I tried removing and adding the CoreData framework but that does not fix the problem..</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mark P.</title>
		<link>http://just2us.com/2009/07/tutorial-creating-multiple-targets-for-xcode-iphone-projects/comment-page-1/#comment-610</link>
		<dc:creator>Mark P.</dc:creator>
		<pubDate>Sat, 05 Sep 2009 21:35:02 +0000</pubDate>
		<guid isPermaLink="false">http://just2us.com/2009/07/tutorial-creating-multiple-targets-for-xcode-iphone-projects/#comment-610</guid>
		<description>Thanks, I got it. What I was doing was actually checking the &quot;Copy...&quot; checkbox, so the resource was copied physically into the project&#039;s directory, hence the name conflict error. Now when adding a new resource, I save it in a separate directory, and when importing to the project I add it as reference, so I only uncheck the &quot;Copy..&quot; checkbox. This way if I have two resources with the same name for the different targets, I click on Get Info and select the correct target to be added (which is just another way to do the same.)

Thanks</description>
		<content:encoded><![CDATA[<p>Thanks, I got it. What I was doing was actually checking the &#8220;Copy&#8230;&#8221; checkbox, so the resource was copied physically into the project&#8217;s directory, hence the name conflict error. Now when adding a new resource, I save it in a separate directory, and when importing to the project I add it as reference, so I only uncheck the &#8220;Copy..&#8221; checkbox. This way if I have two resources with the same name for the different targets, I click on Get Info and select the correct target to be added (which is just another way to do the same.)</p>
<p>Thanks</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: samwize</title>
		<link>http://just2us.com/2009/07/tutorial-creating-multiple-targets-for-xcode-iphone-projects/comment-page-1/#comment-491</link>
		<dc:creator>samwize</dc:creator>
		<pubDate>Wed, 26 Aug 2009 06:24:24 +0000</pubDate>
		<guid isPermaLink="false">http://just2us.com/2009/07/tutorial-creating-multiple-targets-for-xcode-iphone-projects/#comment-491</guid>
		<description>@Mark

Yes your understanding is correct. The resources in the targets references to the actual copy.

Lets say you added both the default.png under Groups &amp; Files. The first in /full/default.png and the second in /lite/default.png. 

Under the new target&#039;s Compiled Bundle Resources, you should delete the default.png, then drag the /lite/default.png to it. There should be no error.</description>
		<content:encoded><![CDATA[<p>@Mark</p>
<p>Yes your understanding is correct. The resources in the targets references to the actual copy.</p>
<p>Lets say you added both the default.png under Groups &#038; Files. The first in /full/default.png and the second in /lite/default.png. </p>
<p>Under the new target&#8217;s Compiled Bundle Resources, you should delete the default.png, then drag the /lite/default.png to it. There should be no error.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mark P.</title>
		<link>http://just2us.com/2009/07/tutorial-creating-multiple-targets-for-xcode-iphone-projects/comment-page-1/#comment-490</link>
		<dc:creator>Mark P.</dc:creator>
		<pubDate>Wed, 26 Aug 2009 04:31:37 +0000</pubDate>
		<guid isPermaLink="false">http://just2us.com/2009/07/tutorial-creating-multiple-targets-for-xcode-iphone-projects/#comment-490</guid>
		<description>Hi,

First of all thanks, your tutorial seems to be very straighforward, and so far the best I have seen from some others, it seems to have all I need for my project.

However I have a question. I create the new target and go through all the steps in step 1. Then when I try to add the target specific resources I have problems. for example as you say: &quot;To make it work, you have to copy the correct Default.png to that target’s &#039;Copy Bundle Resources&#039;, and also to remove the incorrect Default.png.&quot;, I am not able to follow your directions, e.g. if I try to copy the .png file first, I get an alert saying it cannot do that. Also, if I first delete the .png file, and then try to copy the new Default.png file. I get the same alert message.

From what I understand, when creating a new target and copying the original target&#039;s resources, is not actually making a physical copy, but it is acting like a &quot;view&quot; in my perception (e.g. the two groups of resources in the two targets are actually only &quot;references&quot; pointing to the same single resources on disk. So when I first delete the resource on the new target, I am actually only deleting the reference, so when I try to copy another Default.png, I won&#039;t work because of the original .png file still on disk.

Does this make sense?? :) Sorry on the long post!

Am I doing something wrong, or missing something?? Your support is greatly appreciated, I guess this is the only thing preventing me from getting me where I want to get to.

Thank you in advance!</description>
		<content:encoded><![CDATA[<p>Hi,</p>
<p>First of all thanks, your tutorial seems to be very straighforward, and so far the best I have seen from some others, it seems to have all I need for my project.</p>
<p>However I have a question. I create the new target and go through all the steps in step 1. Then when I try to add the target specific resources I have problems. for example as you say: &#8220;To make it work, you have to copy the correct Default.png to that target’s &#8216;Copy Bundle Resources&#8217;, and also to remove the incorrect Default.png.&#8221;, I am not able to follow your directions, e.g. if I try to copy the .png file first, I get an alert saying it cannot do that. Also, if I first delete the .png file, and then try to copy the new Default.png file. I get the same alert message.</p>
<p>From what I understand, when creating a new target and copying the original target&#8217;s resources, is not actually making a physical copy, but it is acting like a &#8220;view&#8221; in my perception (e.g. the two groups of resources in the two targets are actually only &#8220;references&#8221; pointing to the same single resources on disk. So when I first delete the resource on the new target, I am actually only deleting the reference, so when I try to copy another Default.png, I won&#8217;t work because of the original .png file still on disk.</p>
<p>Does this make sense?? <img src='http://just2us.com/site/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  Sorry on the long post!</p>
<p>Am I doing something wrong, or missing something?? Your support is greatly appreciated, I guess this is the only thing preventing me from getting me where I want to get to.</p>
<p>Thank you in advance!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Just2us » Blog Archive » Tutorial: Creating multiple targets for &#8230; &#124; IPhoneMate</title>
		<link>http://just2us.com/2009/07/tutorial-creating-multiple-targets-for-xcode-iphone-projects/comment-page-1/#comment-384</link>
		<dc:creator>Just2us » Blog Archive » Tutorial: Creating multiple targets for &#8230; &#124; IPhoneMate</dc:creator>
		<pubDate>Mon, 17 Aug 2009 20:11:20 +0000</pubDate>
		<guid isPermaLink="false">http://just2us.com/2009/07/tutorial-creating-multiple-targets-for-xcode-iphone-projects/#comment-384</guid>
		<description>[...] the original here: Just2us » Blog Archive » Tutorial: Creating multiple targets for &#8230;   Share and [...]</description>
		<content:encoded><![CDATA[<p>[...] the original here: Just2us » Blog Archive » Tutorial: Creating multiple targets for &#8230;   Share and [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Stu</title>
		<link>http://just2us.com/2009/07/tutorial-creating-multiple-targets-for-xcode-iphone-projects/comment-page-1/#comment-368</link>
		<dc:creator>Stu</dc:creator>
		<pubDate>Sun, 16 Aug 2009 12:58:05 +0000</pubDate>
		<guid isPermaLink="false">http://just2us.com/2009/07/tutorial-creating-multiple-targets-for-xcode-iphone-projects/#comment-368</guid>
		<description>To address the concern of accidentally not having LITE_VERSION set as a preprocessor macro (and thus releasing a full version accidentally), I put this little snippet of code into a header file (it only needs to be in one place in the codebase, just make sure it&#039;s common to all configurations):
#ifndef LITE_VERSION
#ifndef FULL_VERSION
#error You probably forgot to specify if this is the Lite or Full version of the app
#endif
#endif

I then set FULL_VERSION explicitly in the paid version (See step 3 above). This means that any configuration that didn&#039;t get a macro of either LITE_VERSION or FULL_VERSION won&#039;t compile.</description>
		<content:encoded><![CDATA[<p>To address the concern of accidentally not having LITE_VERSION set as a preprocessor macro (and thus releasing a full version accidentally), I put this little snippet of code into a header file (it only needs to be in one place in the codebase, just make sure it&#8217;s common to all configurations):<br />
#ifndef LITE_VERSION<br />
#ifndef FULL_VERSION<br />
#error You probably forgot to specify if this is the Lite or Full version of the app<br />
#endif<br />
#endif</p>
<p>I then set FULL_VERSION explicitly in the paid version (See step 3 above). This means that any configuration that didn&#8217;t get a macro of either LITE_VERSION or FULL_VERSION won&#8217;t compile.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
