Re: SDK 10.6 with Target 10.5
Re: SDK 10.6 with Target 10.5
- Subject: Re: SDK 10.6 with Target 10.5
- From: Jean-Daniel Dupas <email@hidden>
- Date: Tue, 15 Mar 2011 19:56:57 +0100
Le 15 mars 2011 à 19:35, Aaron Burghardt a écrit :
>
> On Mar 15, 2011, at 1:18 PM, Chris Hanson wrote:
>
>> Copying SDKs (or making symbolic links to SDKs) from one version of Xcode to another is not in any way supported. Those SDKs aren't qualified to work with the different IDE, compiler, linker, etc.
>>
>> Please do not recommend that others copy (or make symbolic links to) SDKs from one version of Xcode to another either here or on the DevForums.
>
> What is the recommended procedure for building with the 10.5 SDK? I need libcrypto and libcurl (which links against libcrypto), but the libcrypto in 10.6 results in an executable that is incompatible with the libcrypto in 10.5, so I can't use the 10.6 SDK with the deployment target set to 10.5. So, the answer is I must keep Xcode 3.2.5 for that project in addition to Xcode 3.2.6 for iOS 4.3, wasting 10 GB of disk space? And that sounds reasonable? I filed a bug, rdar://8971274 on 2/8/2011 when Xcode 4 shipped without the 10.5 SDK, but it appears my bug hasn't even been looked at.
I workaround this lake of compatibility, I build my own stub from a 10.5 OS (so I'm not using the unsupported 10.5 SDK) and I copy them in my project folder with a different name (libcrypto_10.5.dylib) to avoid conflict with other libraries, and I'm using these copy to link my project (which is set to use 10.6 SDK).
Is building a stub using "strip -c /usr/lib/libcrypto.dylib -o libcrypto_10.5.dylib" not supported too ?
-- Jean-Daniel
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden