0
我正在尝试使用Maven + Tycho构建系统对我的Eclipse RCP应用程序进行代码签名。在OS X上签名的Maven和Tycho代码
我为了签署大干快上的OS X框创建的。应用程序添加这段代码到我的pom.xml:
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>exec-maven-plugin</artifactId>
<version>1.2.1</version>
<executions>
<execution>
<id>exec</id>
<phase>package</phase>
<goals>
<goal>exec</goal>
</goals>
</execution>
</executions>
<configuration>
<executable>codesign</executable>
<workingDirectory>/tmp</workingDirectory>
<arguments>
<argument>-s</argument>
<argument>"My Developer ID"</argument>
<argument>-vvv</argument>
<argument>${project.build.directory}/products/${product-id}/macosx/cocoa/x86/MyApp/MyApp.app"</argument>
</arguments>
</configuration>
</plugin>
但它不断给我这个错误:
“我的开发者ID”:找不到身份证
我读到了关于解锁钥匙串的问题,但它确实对我的构建没有任何影响。是的,我从拥有该证书的同一帐户运行构建为mvn clean install。
有没有人设法解决这个问题? 谢谢!
尝试删除围绕您的开发人员ID的引号? –
用'-X'参数运行你的构建,你应该看到被执行的确切命令。然后在CLI中运行以查看问题所在。 –
@MartinEllis删除双引号做了诡计。 –