I’m trying to use Private Frameworks in my project,
The problem is when I add the .framework file to the project, there is no header file
Any solution for that?
Thanks!
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
What BJ Homer said is correct: private frameworks are for Apple’s use only, so there’s no reason why they would ship the headers.
That said, if you want to walk on the wild side, and you don’t want to submit your app to the app store, you can try using
class-dumpto create headers based on the library file in the framework. This won’t generate the real headers that Apple uses – you just get the method signatures. You don’t get any constants or C functions, and you certainly don’t get any informative comments. Any private frameworks you do use will probably change in the next release of iOS, breaking your app.