【发布时间】:2010-08-16 21:57:49
【问题描述】:
当我尝试运行该程序时,它显示了以下消息:
No Info.plist file in application bundle or no NSPrincipalClass in the Info.plist file, exiting
但实际上我的Resources 组中有一个 Info.plist。
我已经将InfoPlist.strings 文件添加到Copy Bundle Resources 中
有什么我设置错了吗?试了这么久..请大家帮忙QQ
如下:
Node
-Compile Sources
main.m
NodeAppDelegate.m
-Link Binary with Libraries
Cocoa.framework
-Copy Bundle Resources
InfoPlist.strings
- English
【问题讨论】:
-
你确定它是一个shell工具吗?他们通常没有任何资源或 Info.plist,只是一个裸可执行文件。
-
我创建了一个“coco-a 应用程序”,但我添加了一个 shell 工具目标来构建。
标签: cocoa xcode xcodebuild