I train in the creation of programs for the iPhone using MFMailComposeViewController. However, an error occurs when compiling:
Undefined symbols for architecture i386:
"_OBJC_CLASS_ $ _MFMailComposeViewController", Referenced from:
objc-class-ref in ViewController.o
ld: symbol (s) not found for architecture i386
clang: error: linker command failed with exit code 1 (use-v to see invocation)
Please help, what is it? And how to fix it?
Thanks in advance!
You must add the MessageUI.framework framework to you project.
Here's how you do it:
You likely do not have the necessary imports:
MessageUI.framework
How you add them can be found here importing framework
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