iphone本地化

iphone本地化,iphone,Iphone,大家好,当我运行命令从终端生成Localizable.string文件时,它表示生成的类文件中的条目不正确,但实际上该文件中没有条目。这是我在我的终端上运行的东西,但不知为什么它没有发生。请指导我需要解决这个问题 Last login: Mon Jun 7 18:02:09 on ttys000 comp10:~ admin$ cd .. comp10:Users admin$ cd .. comp10:/ admin$ cd /Users/admin/Desktop/localisation

大家好,当我运行命令从终端生成Localizable.string文件时,它表示生成的类文件中的条目不正确,但实际上该文件中没有条目。这是我在我的终端上运行的东西,但不知为什么它没有发生。请指导我需要解决这个问题

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$ 

您有另一种解决问题的方法: 1.右键单击组和文件中的项目名称 2.从那里单击资源TagMac OS
3.在这一点上,你会得到像字符串文件一样的标签,并根据你的要求命名…

你有没有从博客上引用过任何东西。。。