Closed Birju-Bhatt closed 5 years ago
Update to SM 6
Thanks for your immediate reply. But whenever i tried to install SwiftMessages through pod , it always take old version rather than new version which you mentioned
I suggest that you either read through the CocoaPods documentation or ask how to update a pod on StackOverflow.
Hi wtmoose , I know how to update pod but what i am saying is if i write pod 'SwiftMessages' then generally it takes latest version. But instead of that it takes Installing SwiftMessages (4.1.4). So my question is how can i update to latest version i.e. 6.0.1 through the pod because whenever i am trying to update for the same then it will give me error like below. I wrote like this pod 'SwiftMessages', '~> 6.0.1'
[!] CocoaPods could not find compatible versions for pod "SwiftMessages": In Podfile: SwiftMessages (~> 6.0.1)
Wow
@Birju-Bhatt check your Podfile.lock
@NSMyself I got the solution. I just change below line in my pod file platform :ios, '9.0' - Before platform :ios, '10.0' - After
I changed it from 9.0 to 10.0 and it works fine.
I got following compile error in Xcode 10 (swift 4.2).
Could not build Objective-C module 'SwiftMessages'
Also got compatibility error.
UIViewNoIntrinsicMetric' has been renamed to 'UIView.noIntrinsicMetric' 'UIDeviceOrientationDidChange' has been renamed to 'UIDevice.orientationDidChangeNotification' 'UIWindowLevel' has been renamed to 'UIWindow.Level'
And many more error.
Please help me out for above issues.