uxmstudio / UXMPDFKit

An iOS PDF viewer and annotator written in Swift that can be embedded into any application.
MIT License
275 stars 104 forks source link

Could not build Objective-C module 'UXMPDFKit' #95

Open SatishMavani opened 5 years ago

SatishMavani commented 5 years ago
  1. Created a single view application
  2. added 'UXMPDFKit' lib using the cocoapod
  3. imported lib in viewcontroller.swift file using import UXMPDFKit
  4. It gives an error like Could not build Objective-C module 'UXMPDFKit' when I try to run the app

+

is it not supported to swift 4.2 or I am missing something here? because just after installing pod I try to run the app and it throws many errors shown in the screenshot:

screenshot 2019-01-31 at 5 31 05 pm

Can anyone help, please?

SatishMavani commented 5 years ago

I fixed the issue by dragging lib classes to my project, and manually creating connection between lib and project