我的 Java 应用程序签名如下
/usr/bin/codesign --force --sign XXXXXXXXXXXXXXXXXXXXXXXXX --requirements "=designated => anchor apple generic and identifier \"com.jthink.jaikoz\" and ((cert leaf[field.1.2.840.113635.100.6.1.9] exists) or ( certificate 1[field.1.2.840.113635.100.6.2.6] exists and certificate leaf[field.1.2.840.113635.100.6.1.13] exists and certificate leaf[subject.OU] = \"9VEBH439W3\" ))" /Applications/Jaikoz.app
但它不再起作用会发出警告
/Applications/Jaikoz.app: code object is not signed at all
In subcomponent: /Applications/Jaikoz.app/Contents/PlugIns/jdk1.7.0_40.jdk
./buildosx.sh: line 16: --/usr/bin/codesign: No such file or directory
自从更新到 Mavericks 并安装 Xcode 5.0.1
所以我想知道我是否必须重新生成密钥。以前我按照一些说明在 Xcode 中创建应用程序,构建和复制一些构建输出,但我找不到要复制的构建输出,请任何人指出正确的方向。