0

Maven+Tychoビルドシステムを使用してEclipseRCPアプリケーションにコード署名しようとしています。

OS Xボックスで作成される.appに署名するために、このコードを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」:IDが見つかりません

キーチェーンのロック解除について読みましたが、ビルドには実際には影響しませんでした。はい、その証明書を所有している同じアカウントからmvncleaninstallとしてビルドを実行しています。

この問題を解決できた人はいますか?ありがとう!

4

1 に答える 1

0

Martin Ellisのおかげで、開発者IDの前後の二重引用符を削除することでうまくいきました。

于 2012-11-05T19:48:53.070 に答える