Using a Private Framework in Mac application
Hey guys, I'm creating an application that I'd like to interface with the iPhone using the MobileDevice.framework. Would someone please point me in the right direction to be able to use the MobileDevice.framework in my application. Thanks, Joshua Lee Tucker ___ 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: http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Re: Using a Private Framework in Mac application
On 16 Feb 2010, at 7: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. === ramtops:~ fritza$ locate MobileDevice.framework | grep -v sdk /System/Library/PrivateFrameworks/MobileDevice.framework /System/Library/PrivateFrameworks/MobileDevice.framework/CodeResources /System/Library/PrivateFrameworks/MobileDevice.framework/MobileDevice ... === Note the directory name PrivateFrameworks. This indicates the framework is private. It is not documented. It is subject to change (both API and behavior of existing API) in minor revisions of the operating system. It relies on the internal implementation of OS software that is likewise undocumented, private, and subject to change. It is not supported. For all I know, using it is in violation of the Mac OS X license. There may be reverse-engineered documentation somewhere out there, but non-Apple software relying on it is not fit for public release. I advise against using it. — F ___ 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: http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Re: Using a Private Framework in Mac application
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 (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: http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com