如何在其捆绑包中提交带有COMMAND LINE帮助程序的OSX应用程序

时间:2013-02-08 03:17:31

标签: xcode macos sandbox code-signing

所以,我基本上处于相同的情况that was discussed here 但是我无法应用建议的解决方案,因为我正在构建的帮助应用程序添加到我的主应用程序捆绑它的命令行可执行文件及其自己的XCode项目没有包名称,embedded.provisionfile或权利。

我的应用程序被“没有可执行的沙盒”拒绝了两次。好吧,主应用程序是沙盒,命令行可执行文件似乎是编码。

如果我跑:

$ codesign --display --verbose=4 ./myFile

我明白了:

Executable=/path/to/my/executable/myFile
Identifier=myFile
Format=Mach-O thin (i386)
CodeDirectory v=20100 size=43918 flags=0x0(none) hashes=2188+5 location=embedded
Hash type=sha1 size=20
CDHash=f28731c0d2482e0b0252efe0f1d33525a292f7c0
Signature size=4358
Authority=3rd Party Mac Developer Application: My name
Authority=Apple Worldwide Developer Relations Certification Authority
Authority=Apple Root CA
Signed Time=08/02/2013 03:15:58
Info.plist=not bound
Sealed Resources=none
Internal requirements count=1 size=188

所以我认为该命令已经签名。沙箱和编码这种文件的正确方法是什么?。

0 个答案:

没有答案