CocoaMQTT icon indicating copy to clipboard operation
CocoaMQTT copied to clipboard

Error in docs?

Open gallaugher opened this issue 3 years ago • 1 comments

Pod install lists this as the install line: pod 'CocoaMQTT, '~> 2.0.2'' Is there a typo in this? It seems to produce:

[!] Invalid Podfile file: syntax error, unexpected '~', expecting end pod 'CocoaMQTT, '~> 2.0.2'' ^ /Users/gallaugh/Desktop/mil-mascaras-main/Podfile:7: unexpected fraction part after numeric literal pod 'CocoaMQTT, '~> 2.0.2'' ^~~.

gallaugher avatar Nov 22 '21 01:11 gallaugher

hi @gallaugher . Thank you for raising this issue .This is the correct syntax:


platform :ios,'10.0'
target 'yourproject' do
use_frameworks!
pod 'CocoaMQTT', '~> 2.0.2'

end

I will update the README.md to stop the misunderstanding.

leeway1208 avatar Nov 22 '21 07:11 leeway1208