Where do you add iphone frameworks from
<p>I want to add the MessageUI Framework to my project.</p>

<p>The first time I did it, I selected</p>

<pre><code> /Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS3.1sdk/System/Library/Frameworks/MessageUI.framework
</code></pre>

<p>After I did that my project would no longer build - lots of syntax errors, and wouldn't build even after I told Xcode to delete the framework - still had syntax errors, just not quite as many.</p>

<p>So I went back to a back up of the project I'd made just before doing the add - thank goodness I had one - and tried again.  This time I selected the MessageUI framework from</p>

<pre><code> /Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneOS3.1sdk/System/Library/Frameworks
</code></pre>

<p>Now the project builds fine.</p>

<p>I also noticed there was a MessageUI framework in the folder</p>

<pre><code> /Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneOS3.0sdk/System/Library/Frameworks
</code></pre>

<p>Why would I choose one over the other?</p>
