Re: SDKROOT & MACOSX_DEPLOYMENT_TARGET
Re: SDKROOT & MACOSX_DEPLOYMENT_TARGET
- Subject: Re: SDKROOT & MACOSX_DEPLOYMENT_TARGET
- From: Eric Gorr <email@hidden>
- Date: Tue, 24 Aug 2010 17:20:02 -0400
Yes, they are set in both places.
btw, the Target build settings inherit from the Project build settings. Project build settings are those that should be common to all targets. Target build settings should only be modified if you need a particular target to have a setting different from the project.
The other aspect to this is that when I run my application and it calls CFBundleGetFunctionPointerForName, it will return the function correctly when run under 10.6, but not under 10.5.
On Aug 24, 2010, at 5:01 PM, Carlos McEvilly wrote:
> 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