I am building an application for Mac OS X in which I want to use AVFoundation and CoreMedia framework. Problem is these frameworks are not available in Mac OS X 10.6.
![]()
Just be aware your favorite option will be superseded by something. The terms 'framework', 'library' and 'tool' can mean different things to. Mac apps can embed additional high-level resources such as private frameworks, plug-ins, document templates, and other custom data resources that are integral to the application. Although you can include custom data resources in your iOS application bundles, you cannot include custom frameworks or plug-ins.
![]() ![]()
There are different projects in our application and some of the projects are using AVFoundation and CoreMedia and Our main project is not using these frameworks.I want to run same application on Mac 10.6 and later so I tried weak linking for AVFoundation and CoreMedia framework. After setting Deployment target to 10.6 in my main project I set AVFoundation and CoreMedia as Optional in all other projects. I am building my application in 10.7 Mac and when I try to run it in 10.6 Mac OS X it is giving following errors:Library not loaded: /System/Library/Frameworks/CoreMedia.framework/Versions/A/CoreMediaReferenced from: /System/Library/Frameworks/AVFoundation.framework/Versions/A/AVFoundationSo it means it is still trying to load it so I think something is missing I checked Mac OS X reference also but not getting how to fix.How to use -weakframework?Like if I have two frameworks for weak linking AVFoundation and CoreMedia so what will be the syntax of -weakframework.
![]() Comments are closed.
|
AuthorWrite something about yourself. No need to be fancy, just an overview. Archives
January 2023
Categories |