If you register in the podfile: pod 'OneSignal', then put the old version 1.13.0; If you explicitly specify the desired version: pod 'OneSignal', '~> 2.3', then you can not install this - see screen. below:

if you go into podspec, you can see that the latest version of OneSignal: 2.3.5, but if you do pod search onesignal in the terminal, it only finds version 1.13.0 - see the screen below:

enter image description here

pod --version = 1.0.1

Tell me what I am doing wrong, that instead of 2.3.5 I get 1.13.0 (the rest of the libraries from the pod-file are set correctly)? And what should be done to put 2.3.5?

    1 answer 1

    Try to update CocoaPods, the site indicated that the minimum version 1.1 tutorial from OneSignal

    • Thanks for the answer, but it looks like I have something with cocoapods on this computer itself (I haven’t figured out what exactly yet). On it and cocopods version 1.1.1 it installs the first version of onesigal with pod install (with pod update it gives an error). At the same time, on another computer, cocoapods 1.0.1 normally puts the onesignal version required for this project .. - xhr