Recently, the company has been using mailcore for IOS Mobile Phone mailbox clients. However, mailcore has not compiled the POP3 protocol function. It only provides the IMAP protocol function and has tried writing it, however, there are still many bugs, so I found the pantomime IOS version on github.com, and created the test project testdemo. In order to set up the framework correctly in this project, many problems have been encountered.
First, you cannot find the header file. Then, in xcode --> select targets --> build settings --> Search paths
Add "$ (srcroot)/pantomime/framework" and "$ (srcroot)/pantomime/framework/OpenSSL/headers" to the header search path"
Add: $ (inherited) and "$ (srcroot)/pantomime/framework/OpenSSL" to the library search path"
OK. The header file cannot be found. Note that the pantomime framework is placed in the folder of my test project testdemo. Otherwise, the path is not set like this.
Another problem occurs during compilation. The package is incorrect:
Undefined symbols for architecture i386:
"_ Objc_class _ $ _ XXXX", referenced from:
Objc-class-ref in XXXX. o
XXXX is a class name or method name. If you see undefined symbols for architecture i386
Xcode --> select targets --> build phases --> add classes in compile sources that need to be used but are not included. Click + to add classes and select add other, add all the classes in the pantomime/framework/pantomime folder and compile the classes.
Mobile development QQ group:278117443 174728495 198227198