shell工具目标找不到info.plist

时间:2010-08-16 21:57:50

标签: cocoa xcode xcodebuild

当我尝试运行该程序时,它显示了以下消息:

 No Info.plist file in application bundle or no NSPrincipalClass in the Info.plist file, exiting

但我的Resources组实际上有一个Info.plist。

我已将InfoPlist.strings个文件添加到Copy Bundle Resources

我有什么不对吗?我试了很久..请帮助Q Q

如下所示:

Node
-Compile Sources
  main.m
  NodeAppDelegate.m
-Link Binary with Libraries
  Cocoa.framework
-Copy Bundle Resources
  InfoPlist.strings
    - English

1 个答案:

答案 0 :(得分:0)

Info.plistInfoPlist.strings不同。 Info.plist有一堆关于你的包的元数据; InfoPlist.strings存储有关Info.plist文件的本地化信息。

举一个具体的例子,Info.plist包含您的软件包的版本号和(对于应用程序)一个人类可读的版权声明。如果您决定以其他语言发布应用,InfoPlist.strings将会使用该语言翻译人类可读的版权声明。

相关问题