Invalide 'Podfile fichier syntax error, unexpected $indéfini, expecting '}'

Je suis en train d'installer un module dans le projet. Mais j'obtiens cette erreur:

Invalide 'Podfile fichier syntax error, unexpected $indéfini, s'attendant à
'}'.

Podfile contient:

platform :ios, '7.0' pod 'RestKit', '0.21.0'

Le terminal affiche le message suivant:

[!] Invalid `Podfile` file: compile error
/Users/work/Desktop/tg/RESTKitDemo/Podfile:1: syntax error, unexpected $undefined, expecting '}'
{\rtf1\ansi\ansicpg1252\cocoartf1265
^. Updating CocoaPods might fix the issue.

#  from /Users/work/Desktop/tg/RESTKitDemo/Podfile:1
#  -------------------------------------------
>  {\rtf1\ansi\ansicpg1252\cocoartf1265
#  {\fonttbl\f0\fmodern\fcharset0 Courier;}
#  -------------------------------------------

Puis-je savoir quel est le problème avec mon podfile?

OriginalL'auteur user2885928 | 2013-10-25