﻿<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/"><channel><title>BlogJava-Enjoy yourself,and don't care about others' thinking!-随笔分类-Objective c</title><link>http://www.blogjava.net/TiGERTiAN/category/44603.html</link><description>----TiGERTiAN</description><language>zh-cn</language><lastBuildDate>Sun, 11 Apr 2010 08:12:27 GMT</lastBuildDate><pubDate>Sun, 11 Apr 2010 08:12:27 GMT</pubDate><ttl>60</ttl><item><title>Objective c简单程序无法编译通过</title><link>http://www.blogjava.net/TiGERTiAN/archive/2010/04/11/317991.html</link><dc:creator>TiGERTiAN</dc:creator><author>TiGERTiAN</author><pubDate>Sun, 11 Apr 2010 07:37:00 GMT</pubDate><guid>http://www.blogjava.net/TiGERTiAN/archive/2010/04/11/317991.html</guid><wfw:comment>http://www.blogjava.net/TiGERTiAN/comments/317991.html</wfw:comment><comments>http://www.blogjava.net/TiGERTiAN/archive/2010/04/11/317991.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.blogjava.net/TiGERTiAN/comments/commentRss/317991.html</wfw:commentRss><trackback:ping>http://www.blogjava.net/TiGERTiAN/services/trackbacks/317991.html</trackback:ping><description><![CDATA[今天学习Objective c，发现简单的helloworld总是编译不通过，提示问题如下：
<div>"_objc_msgSend", referenced from:</div>
<div>"_OBJC_METACLASS_$_NSObject", referenced from:</div>
后来再网上搜索了一圈才发现，如果不是Mac工程，需要手动加入一个类库
<div>
<meta charset="utf-8" /><span  style="color: #111111; font-family: 'Lucida Grande', Helvetica, Arial, Verdana, Tahoma, 'sans serif'; font-size: 12px; line-height: 18px; ">Sounds like you didn't link against the Foundation framework. Go to Project -&gt; Add To Project... and then add /System/Library/Frameworks/Foundation.framework to the project. Then, your app should compile.</span></div>
这样就搞定了，靠，浪费我时间，下次看来要按部就班了。。。<img src ="http://www.blogjava.net/TiGERTiAN/aggbug/317991.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.blogjava.net/TiGERTiAN/" target="_blank">TiGERTiAN</a> 2010-04-11 15:37 <a href="http://www.blogjava.net/TiGERTiAN/archive/2010/04/11/317991.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item></channel></rss>