Microsoft Windows Phone 8.1 support ends (13 Jul 2017)

Microsoft has ended support for Windows Phone 8.1

Questions about iOS development and PDF

Build Failed "Undefined symbol: _OBJC_CLASS_$_RadaeePDFP"

More
IP: 46.229.225.81 6 years 6 months ago #14608 by Signatus
Hi,
I try Radaee for swift and I have a problem with installation. When I try an example project it all works, but when I try to put it in my application I get the error "Undefined symbol: _OBJC_CLASS _ $ _ RadaeePDFPlugin" when I try to instantiate the class "let plugin = RadaeePDFPlugin ()"

I added "libRDPDFLib.a" to "General > Frameworks, Libraries, and Embedded Concent",
in "Build Settings > Search Paths > Library Search Paths" I added
"$(PROJECT_DIR)/RadaeeSwift/Radaee",
"$(PROJECT_DIR)/RadaeeSwift/Radaee/include/PDFLib",
"$(PROJECT_DIR)/RadaeeSwift/Radaee/include/PDFViewer/PDFLib"
as it was in the example project,

and at the last I updated me "Bridging-Header.h" to "#import "include/RadaeePDFPlugin.h""

One difference from the example project is that I had to add:
"Build Settings > Search Paths > Header Search Paths" : "$(PROJECT_DIR)/RadaeeSwift/Radaee/include".
When I don't add this header serach path Build failed with error: "'PDFObjc.h' file not found" in file "RDVGlobal.h".

When I remove "let plugin = RadaeePDFPlugin()" Build was Succeeded,
but when I Try to build with "let plugin = RadaeePDFPlugin()" Build was Failed

Please can you help me setup Radaee to me Applicaiton?

Regards,
LP
More
IP: 37.183.44.177 6 years 6 months ago #14609 by federico
Dear Lukas,
Here's some steps to include RadaeePDF'SDK in your swift project:

  • Download last RadaeePDF's Swift version;

  • Copy "Radaee" folder in your project folder and then include it in your project as group reference, except "fdat" and "cmaps" folders, they should be included as folder references;

  • In your project's build settings you should set "ObjC"and "lstdc++" in "Linking section" as "Other Linker Flags"

  • In your project's build settings you should set "GNU9
Time to create page: 0.388 seconds
Powered by Kunena Forum