2010-06-07 96 views
0

你好所有當我運行命令從我的終端生成Localizable.string文件時,它說我壞文件得到生成的類文件入口,但它沒有條目它實際上它應該有條目。以下是我在我的終端正在運行但不知何故,它是不會發生,請指導我需要解決這個iphone本地化

Last login: Mon Jun 7 18:02:09 on ttys000 
comp10:~ admin$ cd .. 
comp10:Users admin$ cd .. 
comp10:/ admin$ cd /Users/admin/Desktop/localisationwithcode 
comp10:localisationwithcode admin$ sudo 
usage: sudo -K | -L | -V | -h | -k | -l | -v 
usage: sudo [-HPSb] [-p prompt] [-u username|#uid] 
      { -e file [...] | -i | -s | <command> } 
comp10:localisationwithcode admin$ genstrings Classes/*.m 
Bad entry in file Classes/localisationwithcodeViewController.m (line = 35): Argument is not a literal string. 
Bad entry in file Classes/localisationwithcodeViewController.m (line = 36): Argument is not a literal string. 
Bad entry in file Classes/localisationwithcodeViewController.m (line = 37): Argument is not a literal string. 
Bad entry in file Classes/localisationwithcodeViewController.m (line = 38): Argument is not a literal string. 
2010-06-07 18:04:45.047 genstrings[3851:10b] _CFGetHostUUIDString: unable to determine UUID for host. Error: 35 
comp10:localisationwithcode admin$ 
+0

具有u採取任何來自博客的參考... – 2010-06-07 13:05:06

回答

0

你有一個替代的方式來解決問題: 1.右鍵單擊您的項目名稱從組和文件 2.從裏面點擊資源標籤(Mac OS)中 3.On,你會得到像標籤字符串文件碰杯上的文件和名稱按您的要求......