On Wed, 21 Mar 2012 09:15:28 -0700, Jens Alfke said:

>If that's so, then how is a tool supposed to find the location of the
>Developer folder?
>Hardcoding /Applications/Xcode.app/Contents/Developer doesn't seem like
>a good idea.

In addition to xcode-select, you may be able to use 
URLForDirectory:inDomain:appropriateForURL:create:error: with 
NSDeveloperApplicationDirectory.  Though looking now at NSPathUtilities.h they 
say "DEPRECATED - there is no one single Developer directory" which I find 
kinda odd, since there is still only one *blessed* developer directory.

-- 
____________________________________________________________
Sean McBride, B. Eng                 s...@rogue-research.com
Rogue Research                        www.rogue-research.com 
Mac Software Developer              Montréal, Québec, Canada



_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to