Reputation: 21
i have made a framework with the help of this link:
http://www.cocoanetics.com/2010/05/making-your-own-iphone-frameworks-in-xcode/
but it does not tells how to add pre defined frameworks into it(such as AddressBook,CoreGraphics etc.).
when i tried adding the frameworks(predefined) to it ,it shows the error:
ld: warning: unexpected dylib (/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS4.2.sdk/System/Library/Frameworks//AddressBook.framework/AddressBook) on link line
can anyone please suggest me how to add the predefined frameworks into the custom framework that i made...so that the end user is unknown of the dependent frameworks that i am using..????
thanks in advance.
Upvotes: 1
Views: 1432
Reputation: 2181
You'll have add the predefined framework to your lib similar as we do in any project. But you also will have to add all those framework (added to your custom framework) to the project in which you are using your custom framework. So list all the included framework in the documentation of custom framework.
Upvotes: 2