Search code examples
iosswiftxcodecocoapods

update internal library of pod


I have added third party library "FolioReaderKit" in my projet via cocoa pods.

This library contains "RealmSwift" in it but that's not updated to the latest version. Now I want to update the "RealmSwift" but I don't know how to do it.

Please guide me.

Thanks


Solution

  • The FolioReaderKit library has a fixed RealmSwift version on its Podspec file:

    s.dependency 'RealmSwift', '3.17.3'
    

    When you install it, this version is downloaded.

    The only way you can change it is to create a copy of the library (can be local) and modify its Podspec file.