4 things actually:
Your format is incorrect. It should be:
pod 'XMPPFramework', '~> 3.6.1'
Remove the space between 'XMPPFramework' and ,
Secondly, the first quote on the first line isn't a correct quote:
‘DemoWorkspace'
Thirdly, you should define your platform with quotes around iOS version
platform :ios, '6.0'
Fourthly,
make sure you use a correct texteditor. As "Saqib Saud" found out, TextEdit sometimes messes with use of quotes <=> curly quotes.
I recommend Sublime Text or Nano