I am creating an application in iphone in which I have imported a framework know as CrashReporter.Framework in my project. And I have imported this framework in my appdelegate and class named as CrashReportViewController.When I run the application it gives me the foll error:
"_OBJC_CLASS_$_PLCrashReport", referenced from:
objc-class-ref-to-PLCrashReport in WordPressAppDelegate.o
objc-class-ref-to-PLCrashReport in CrashReportViewController.o
"_OBJC_CLASS_$_PLCrashReporter", referenced from:
objc-class-ref-to-PLCrashReporter in WordPressAppDelegate.o
objc-class-ref-to-PLCrashReporter in CrashReportViewController.o
What may be the problem?
Make sure you actually linked the framework to your target application. In xcode 4, click the project file, click your desired target, select the build phases tab, expand link binary with libraries. If you do not see the framework you are trying to use, then click the plus at the bottom of that section navigate to the framework and add.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With