當我籤我的劇本的應用程序出現錯誤:錯誤簽名劇本應用程序:代碼簽名請求失敗,因爲該文件之前已簽訂
Connecting to url http://www.rim.net/Websigner/servlet/RDK-Waterloo
Sending properties to server...
Properties of response := [
Version = 1
Response = Signature Response
Confirm = null
Error = Code signing request failed because this file has been previously signed
.
]
barsigner error: server error: Code signing request failed because this file has
been previously signed.
我明白,這個錯誤意味着我碰到的版本我的應用程序我在哪裏指定版本?我試圖碰撞<widget>
版本,我甚至添加了一個<versionNumber>
標籤。似乎沒有任何工作。有人可以看看我的3210並告訴我我做錯了什麼嗎?
<?xml version="1.0" encoding="utf-8"?>
<widget xmlns=" http://www.w3.org/ns/widgets"
xmlns:rim="http://www.blackberry.com/ns/widgets"
version="3.0.2">
<rim:navigation mode="focus" />
<name>AppName</name>
<description>My Description.</description>
<author href="" rim:copyright="Copyright © 2011 TG.">TG</author>
<versionNumber>3.0.2</versionNumber>
<content src="index.html" />
<icon src="assets/icon.png"/>
<access uri="*" subdomains="true" />
<license>
Copyright © 2011 TG.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS
BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
ACTION OF CONTRACT, INSULT OR OTHERWISE, ARISING FROM, OUT OF OR IN
CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
</license>
</widget>
我使用下面的命令簽署:
"C:\Program Files (x86)\Research In Motion\BlackBerry WebWorks Packager for PlayBook\bbwp\bbwp" "D:\work\App.zip" -gcsk pass -gp12 pass -buildId 1 -o "D:\work\bin"
"C:\Program Files (x86)\Research In Motion\BlackBerry WebWorks Packager for PlayBook\bbwp\blackberry-tablet-sdk\bin\blackberry-signer" -verbose -cskpass pass -keystore sigtool.p12 -storepass pass "D:\work\bin\App.bar" RDK
X發佈於:http://supportforums.blackberry.com/t5/Web-Development/Error-Signing-Playbook-App-Code-signing-request-failed-because/td-p/1015211 – tuxGurl 2011-04-17 17:47:41