Faruk
Faruk

Reputation: 2449

Cant import library after installing via Cocoapods

I am trying to install the library called [VialerSIPLib][1] to my project. There were an issue of I am not able reach any code of the pod

I have put the lines to podfile as follows;

platform :ios, 13.0

target ...... do 
  pod 'VialerSIPLib'
  #use_frameworks!
end 

and pod installs the library with 3 more libraries. Throws no error and prints

Pod installation complete! There is 1 dependency from the Podfile and 4 total pods installed. Actual behavior

However, when I try to create a account in AppDelegate with line of code var account:VSLAccount!, it throws Use of undeclared type VSLAccount. A Relative error when I try to import the library. I am just trying to reach all methods and classes from my project.

Example project works well. I was able to make call. I am using MacOS Catalina and iOS version 13.0 and creating the project with SwiftUI

Upvotes: 0

Views: 238

Answers (1)

Lokesh SN
Lokesh SN

Reputation: 1593

Found this on their installation guide:

When you are having trouble that your app can't compile because of a linker error. Try this because of the VialerSIPLIB is now requiring git-lfs. Clear the cache of cocoapods which is located at: /Users/$USER/Library/Caches/CocoaPods

Not sure if this is the problem, just a lil' something that might help. Reference

Upvotes: 1

Related Questions