<?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: The Unity/Objective-C Divide</title>
	<atom:link href="http://www.tinytimgames.com/2010/01/10/the-unityobjective-c-divide/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.tinytimgames.com/2010/01/10/the-unityobjective-c-divide/</link>
	<description>Just For Fun</description>
	<lastBuildDate>Fri, 03 Feb 2012 19:57:00 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>By: Yohann (again)</title>
		<link>http://www.tinytimgames.com/2010/01/10/the-unityobjective-c-divide/#comment-493</link>
		<dc:creator>Yohann (again)</dc:creator>
		<pubDate>Sun, 13 Nov 2011 20:54:23 +0000</pubDate>
		<guid isPermaLink="false">http://www.tinytimgames.com/?p=389#comment-493</guid>
		<description>Solved the issue. It just happens that iOS5 compiles with LLVM compiler which is pickier on code than the previous one (GCC or GDB can&#039;t recall) which you have to be more careful abut what you write, double check file extensions, headefrs, types, etc...</description>
		<content:encoded><![CDATA[<p>Solved the issue. It just happens that iOS5 compiles with LLVM compiler which is pickier on code than the previous one (GCC or GDB can&#8217;t recall) which you have to be more careful abut what you write, double check file extensions, headefrs, types, etc&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Yohann</title>
		<link>http://www.tinytimgames.com/2010/01/10/the-unityobjective-c-divide/#comment-492</link>
		<dc:creator>Yohann</dc:creator>
		<pubDate>Sun, 13 Nov 2011 15:44:37 +0000</pubDate>
		<guid isPermaLink="false">http://www.tinytimgames.com/?p=389#comment-492</guid>
		<description>Hi Jerrod,
Great post!
I started implementing your solution for the advanced unity user using iOS 4.x. And everything worked fine.
Now, upgrading to iOS5, I get this error:

Undefined symbols for architecture armv7:
  &quot;_AwesomeFunction&quot;, referenced from:
      __Z19RegisterMonoModulesv in RegisterMonoModules.o
ld: symbol(s) not found for architecture armv7
clang: error: linker command failed with exit code 1 (use -v to see invocation)

Have you encountered it as well? It&#039;s giving me a headache, the code hasn&#039;t changed. It&#039;s got to be some settings somewhere that needs to be updated. Isn&#039;t it?</description>
		<content:encoded><![CDATA[<p>Hi Jerrod,<br />
Great post!<br />
I started implementing your solution for the advanced unity user using iOS 4.x. And everything worked fine.<br />
Now, upgrading to iOS5, I get this error:</p>
<p>Undefined symbols for architecture armv7:<br />
  &#8220;_AwesomeFunction&#8221;, referenced from:<br />
      __Z19RegisterMonoModulesv in RegisterMonoModules.o<br />
ld: symbol(s) not found for architecture armv7<br />
clang: error: linker command failed with exit code 1 (use -v to see invocation)</p>
<p>Have you encountered it as well? It&#8217;s giving me a headache, the code hasn&#8217;t changed. It&#8217;s got to be some settings somewhere that needs to be updated. Isn&#8217;t it?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Bruno Mikoski</title>
		<link>http://www.tinytimgames.com/2010/01/10/the-unityobjective-c-divide/#comment-408</link>
		<dc:creator>Bruno Mikoski</dc:creator>
		<pubDate>Fri, 09 Sep 2011 15:39:36 +0000</pubDate>
		<guid isPermaLink="false">http://www.tinytimgames.com/?p=389#comment-408</guid>
		<description>Thanks! Work like a charm!</description>
		<content:encoded><![CDATA[<p>Thanks! Work like a charm!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jerrod Putman</title>
		<link>http://www.tinytimgames.com/2010/01/10/the-unityobjective-c-divide/#comment-406</link>
		<dc:creator>Jerrod Putman</dc:creator>
		<pubDate>Thu, 08 Sep 2011 17:04:29 +0000</pubDate>
		<guid isPermaLink="false">http://www.tinytimgames.com/?p=389#comment-406</guid>
		<description>Set up the method in C# as normal:

[DllImport(&quot;__Internal&quot;)]
public static extern void CoolFunction(string coolString);

And on the native code side create a function like so:

void CoolFunction(const char *coolString)
{
   NSString *nsCoolString = [NSString stringWithUTF8String:coolString];

   // Cool function code goes here.
}

Hope that helps.</description>
		<content:encoded><![CDATA[<p>Set up the method in C# as normal:</p>
<p>[DllImport("__Internal")]<br />
public static extern void CoolFunction(string coolString);</p>
<p>And on the native code side create a function like so:</p>
<p>void CoolFunction(const char *coolString)<br />
{<br />
   NSString *nsCoolString = [NSString stringWithUTF8String:coolString];</p>
<p>   // Cool function code goes here.<br />
}</p>
<p>Hope that helps.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Bruno Mikoski</title>
		<link>http://www.tinytimgames.com/2010/01/10/the-unityobjective-c-divide/#comment-405</link>
		<dc:creator>Bruno Mikoski</dc:creator>
		<pubDate>Thu, 08 Sep 2011 10:50:20 +0000</pubDate>
		<guid isPermaLink="false">http://www.tinytimgames.com/?p=389#comment-405</guid>
		<description>And how about to send a string from Unity (C#) to Objective-C? I&#039;m trying to implement the Testflightapp SDK in one of my games, but i can&#039;t find how send a string as parameter to a objective C function.</description>
		<content:encoded><![CDATA[<p>And how about to send a string from Unity (C#) to Objective-C? I&#8217;m trying to implement the Testflightapp SDK in one of my games, but i can&#8217;t find how send a string as parameter to a objective C function.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jerrod Putman</title>
		<link>http://www.tinytimgames.com/2010/01/10/the-unityobjective-c-divide/#comment-380</link>
		<dc:creator>Jerrod Putman</dc:creator>
		<pubDate>Wed, 31 Aug 2011 19:12:43 +0000</pubDate>
		<guid isPermaLink="false">http://www.tinytimgames.com/?p=389#comment-380</guid>
		<description>There seems to be an issues with mono_get_domain on 3.4, but I&#039;m not certain how to work around it. There are some discussions on the beta list about this, so I&#039;ll update if I found out anything.</description>
		<content:encoded><![CDATA[<p>There seems to be an issues with mono_get_domain on 3.4, but I&#8217;m not certain how to work around it. There are some discussions on the beta list about this, so I&#8217;ll update if I found out anything.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: rwar</title>
		<link>http://www.tinytimgames.com/2010/01/10/the-unityobjective-c-divide/#comment-379</link>
		<dc:creator>rwar</dc:creator>
		<pubDate>Tue, 30 Aug 2011 20:31:17 +0000</pubDate>
		<guid isPermaLink="false">http://www.tinytimgames.com/?p=389#comment-379</guid>
		<description>Seems there is an issue with Unity 3.4 and MonoDomain *domain = mono_domain_get(); Not sure how to fix it</description>
		<content:encoded><![CDATA[<p>Seems there is an issue with Unity 3.4 and MonoDomain *domain = mono_domain_get(); Not sure how to fix it</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ranza</title>
		<link>http://www.tinytimgames.com/2010/01/10/the-unityobjective-c-divide/#comment-324</link>
		<dc:creator>Ranza</dc:creator>
		<pubDate>Thu, 04 Aug 2011 13:58:46 +0000</pubDate>
		<guid isPermaLink="false">http://www.tinytimgames.com/?p=389#comment-324</guid>
		<description>I&#039;ve added libmono.0.dylib , but I&#039;m still geting an error
&quot;Undefined symbols for architecture x86_64:
  &quot;_mono_domain_get&quot;, referenced from:
      __canMakePayments in StoreKitBinding.o
ld: symbol(s) not found for architecture x86_64&quot;
I&#039;ll add that I&#039;m trying to make a Mac bundle for Unity, reusing some prime31 iOS plugins.
Anyone knows how to solve it?</description>
		<content:encoded><![CDATA[<p>I&#8217;ve added libmono.0.dylib , but I&#8217;m still geting an error<br />
&#8220;Undefined symbols for architecture x86_64:<br />
  &#8220;_mono_domain_get&#8221;, referenced from:<br />
      __canMakePayments in StoreKitBinding.o<br />
ld: symbol(s) not found for architecture x86_64&#8243;<br />
I&#8217;ll add that I&#8217;m trying to make a Mac bundle for Unity, reusing some prime31 iOS plugins.<br />
Anyone knows how to solve it?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ranza</title>
		<link>http://www.tinytimgames.com/2010/01/10/the-unityobjective-c-divide/#comment-323</link>
		<dc:creator>Ranza</dc:creator>
		<pubDate>Thu, 04 Aug 2011 10:34:47 +0000</pubDate>
		<guid isPermaLink="false">http://www.tinytimgames.com/?p=389#comment-323</guid>
		<description>Hey Claire, how did you fix it? 
I&#039;m having a similar problem.</description>
		<content:encoded><![CDATA[<p>Hey Claire, how did you fix it?<br />
I&#8217;m having a similar problem.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Claire</title>
		<link>http://www.tinytimgames.com/2010/01/10/the-unityobjective-c-divide/#comment-299</link>
		<dc:creator>Claire</dc:creator>
		<pubDate>Wed, 20 Jul 2011 08:52:33 +0000</pubDate>
		<guid isPermaLink="false">http://www.tinytimgames.com/?p=389#comment-299</guid>
		<description>I found the way to solve it. ! :)</description>
		<content:encoded><![CDATA[<p>I found the way to solve it. ! <img src='http://www.tinytimgames.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
</channel>
</rss>

