Build Failed "Undefined symbol: _OBJC_CLASS_$_RadaeePDFP" - RadaeePDF.com
Signin/Signup with: 
Welcome, Guest
Username: Password: Remember me
Questions about iOS development and PDF
  • Page:
  • 1

TOPIC: Build Failed "Undefined symbol: _OBJC_CLASS_$_RadaeePDFP"

Build Failed "Undefined symbol: _OBJC_CLASS_$_RadaeePDFP" 1 week 5 days ago #14608

  • Signatus
  • Signatus's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 1
  • Thank you received: 0
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

Please Log in or Create an account to join the conversation.

Build Failed "Undefined symbol: _OBJC_CLASS_$_RadaeePDFP" 1 week 2 days ago #14609

  • federico
  • federico's Avatar
  • Offline
  • Moderator
  • Moderator
  • Posts: 91
  • Thank you received: 11
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

Please Log in or Create an account to join the conversation.

  • Page:
  • 1
Powered by Kunena Forum