Re: SDKROOT & MACOSX_DEPLOYMENT_TARGET
Re: SDKROOT & MACOSX_DEPLOYMENT_TARGET
- Subject: Re: SDKROOT & MACOSX_DEPLOYMENT_TARGET
- From: Carlos McEvilly <email@hidden>
- Date: Tue, 24 Aug 2010 14:01:07 -0700
I'm doing iOS development, not OS X, so I don't know if the answer is
different, but I've found you sometimes have to set these settings in
two places: both in the project inspector, and then also in the target
inspector. Are the changes getting picked up in both places?
Carlos
On Tue, Aug 24, 2010 at 1:53 PM, Eric Gorr <email@hidden> wrote:
> The documentation at:
>
> http://developer.apple.com/mac/library/documentation/DeveloperTools/Conceptual/cross_development/Configuring/configuring.html#//apple_ref/doc/uid/10000163i-CH1-SW2
>
> seems clear – set the SDKROOT to the latest version of the OS on which you
> want to run and the MACOSX_DEPLOYMENT_TARGET to the earliest version of the
> OS on which you want to run.
>
> So, I want to set the SDKROOT to be the 10.6 SDK and the Deployment Target
> to be Mac OS X 10.5.
> However, I think I must be missing something. When I build a library with
> these settings and then use nm to see what symbols are in the library, nm
> will correctly output the symbols under 10.6, but not under 10.5.
> When I execute nm under 10.5, I gett the following error:
> nm: object: /Path/To/MyLib.mylib/Contents/MacOS/MyLib malformed object
> (unknown load command 4)
> So, it seems clear that it is not getting built in the way I expected it to
> be built.
> Any idea on what might be going wrong?
> Thank you.
>
>
>
> _______________________________________________
> 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
>
_______________________________________________
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