Re: Using a Private Framework in Mac application
Re: Using a Private Framework in Mac application
- Subject: Re: Using a Private Framework in Mac application
- From: Jens Alfke <email@hidden>
- Date: Tue, 16 Feb 2010 08:31:20 -0800
On Feb 16, 2010, at 5:49 AM, Josh Tucker wrote:
> Would someone please point me in the right direction to be able to use the MobileDevice.framework in my application.
Just locate the framework in the Finder and drag its icon into your project. You may need to edit the target build settings to add /System/Library/PrivateFrameworks/ to the framework search path.
Unlike on iPhone, you won't get in trouble with Apple for using a private OS X framework. But do keep in mind that:
• Private frameworks can change without warning even in minor OS updates, possibly breaking your app. (Weak-linking is advisable.)
• One common reason for Apple not to make an API public is that is isn't quite baked yet, i.e. may not work quite correctly or may have been tested only in the specific ways it's used by Apple software.
• You're not going to be able to ask for help here or any other Apple forum. Speaking of which, I hear a moderator coming...
—Jens_______________________________________________
Cocoa-dev mailing list (email@hidden)
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:
This email sent to email@hidden