Search code examples
xcodegithubrepositorycocoapodspodfile

Pods – How to use a forked repository?


I am having issues updating my pod from my forked repository..keep getting: [!] Unable to find a specification for 'QMChatViewController'.

The story...I have forked a repository, this one: https://github.com/QuickBlox/QMChatViewController-ios

I have then done some changes, pushed it to my forked repository at github.

Then in my podfile, I changed to: pod 'QMChatViewController', :git => 'https://github.com/myrepo/QMChatViewController-ios', :commit => '23123123123sha'

Anything I am not doing correctly here? Please advice....


Solution

  • Had the same problem.

    QB has 2 pod specs QMCVDevelopment.podspec and PublicCocoaPods/QMChatViewController.podspec. I removed QMCVDevelopment.podspec development and moved QMChatViewController.podspec to root.