Compilation error while compiling 2.1.2 code on 3.0 iphone SDK
<p>When I'm trying to compile 2.1.2 SDK code on 3.0 or higher version, it gives a compilation error saying "CFXMLTreeRef undeclared identifier". Below is the code snippet where it shows the error:</p>

<pre><code>#ifdef TARGET_IPHONE_SIMULATOR
#import &lt;CoreServices/CoreServices.h&gt;   //cause of the preoblem
#else
#import &lt;CFNetwork/CFNetwork.h&gt;
#endif
</code></pre>

<p>I searched for the "CFXMLTreeRef" in 2.1.2 SDK and it's found, but in SDK version higher than 3.0, I couldn't find it.</p>

<p>Can anyone tell where can I find the declartion of "CFXMLTreeRef".</p>

<p>I would really appreciate any help.</p>

<p>Thanks
Puru</p>
