Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't install Kommunicate #150

Closed
hechukwu opened this issue Dec 3, 2020 · 14 comments
Closed

Can't install Kommunicate #150

hechukwu opened this issue Dec 3, 2020 · 14 comments

Comments

@hechukwu
Copy link

hechukwu commented Dec 3, 2020

When I run pod install it says [!] CocoaPods could not find compatible versions for pod "SDWebImage" instead it should install my pod.

Here is my podfile

pod 'FBSDKCoreKit'
pod 'FBSDKShareKit'
pod 'FBSDKLoginKit'
pod 'Alamofire'
pod 'SwiftyJSON'
pod 'KeychainAccess'
pod 'RxSwift'
pod 'RxCocoa'
pod 'IQKeyboardManager'
pod 'SDWebImage'
pod 'Paystack'
pod 'GoogleSignIn'
pod 'JGProgressHUD'
pod 'XLPagerTabStrip'
pod 'MessageKit'
pod 'Firebase/Core'
pod 'Firebase/Auth'
pod 'Firebase/Storage'
pod 'Firebase/Firestore'
pod 'Firebase/Database'
pod 'Firebase/Messaging'
pod 'Firebase/Analytics'
pod 'Firebase/DynamicLinks'
pod 'Instabug'
pod 'ActionSheetPicker-3.0'
pod 'Instructions'
pod 'Kommunicate'

Screenshot 2020-12-02 at 10 06 27

@mukeshthawani
Copy link
Contributor

Try running this command to update Kommunicate SDK to the latest version: pod update Kommunicate.
Or change pod 'Kommunicate' in the Podfile to pod 'Kommunicate', '~> 5.7.1', and then run pod install command.

@hechukwu
Copy link
Author

Still didn't work

@mukeshthawani
Copy link
Contributor

Can you share the error log or a screenshot of the terminal?

@hechukwu
Copy link
Author

hechukwu commented Dec 14, 2020

Screenshot 2020-12-15 at 10 07 43

@mukeshthawani
Copy link
Contributor

In the Podfile, replace pod 'SDWebImage' with pod 'SDWebImage', '~> 5.7.2', and then run pod install.

@hechukwu
Copy link
Author

I was able to install but I can't build the project due to kingfisher
Screenshot 2020-12-14 at 15 20 39

@mukeshthawani
Copy link
Contributor

mukeshthawani commented Dec 14, 2020

Make sure deployment target is set to iOS 10 or above in your project. Also, mention the same in the Podfile by adding this line on top:

platform :ios, '10.0'

@hechukwu
Copy link
Author

hechukwu commented Dec 14, 2020

Mine is platform :ios, '12.2'

@mukeshthawani
Copy link
Contributor

In that case, you shouldn't be getting this error. Check once if you've set the deployment target as iOS 12.2 in the project.
Screenshot 2020-12-15 at 2 03 44 PM

Also, run a clean build after pod install.

@hechukwu
Copy link
Author

Thanks for your help so far but after clean build I still have the Kingfisher problem

@hechukwu
Copy link
Author

hechukwu commented Dec 15, 2020

Screenshot 2020-12-15 at 10 02 42

Screenshot 2020-12-15 at 10 06 06

I have increased the deployment target in the podfile to match the one in the deployment info tab

@mukeshthawani
Copy link
Contributor

Does it work after changing the deployment target? If not, please share a sample project, we will try to reproduce this issue.

@hechukwu
Copy link
Author

Screenshot 2020-12-15 at 13 20 53

Didn't work before because I had this in my podfile but now it works after changing it to 10.0. Thank you for your time.

@mukeshthawani
Copy link
Contributor

Good to know that it's working now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants