开发者

shell tool target can't find info.plist

开发者 https://www.devze.com 2023-01-11 16:07 出处:网络
when I tried to run the program, it showed this message: No Info.plist file in application bundle or no NSPrincipalClass in the Info.plist file, exiting

when I tried to run the program, it showed this message:

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

But there's actually an Info.plist in my Resources group.

I already added InfoPlist.strings file into Copy Bundle Resources

Is there anything I set wrong? I tried it for so long.. Please help Q Q

It's like below:

Node
-Compile Sources
  main.m
  NodeAppDelegate.m
-Link Binary with 开发者_运维问答Libraries
  Cocoa.framework
-Copy Bundle Resources
  InfoPlist.strings
    - English


Info.plist is different from InfoPlist.strings. Info.plist has a bunch of metadata about your bundle; InfoPlist.strings stores localization information about the Info.plist file.

To give specific examples, Info.plist has the version number of your bundle and (for applications) a human-readable copyright notice. If you decide to ship your app in another language, InfoPlist.strings would have the translation of the human-readable copyright notice in that language.

0

精彩评论

暂无评论...
验证码 换一张
取 消