{"id":582,"date":"2012-12-17T11:24:16","date_gmt":"2012-12-17T03:24:16","guid":{"rendered":"http:\/\/xujiwei.com\/blog\/?p=582"},"modified":"2016-12-27T01:35:50","modified_gmt":"2016-12-26T17:35:50","slug":"developer-id-application-crashed-on-os-x-10-7-5","status":"publish","type":"post","link":"https:\/\/xujiwei.com\/blog\/2012\/12\/developer-id-application-crashed-on-os-x-10-7-5\/","title":{"rendered":"Developer ID Application \u5728 Mac OS X 10.7.5 \u4e0b\u4e0d\u80fd\u542f\u52a8\u7684\u95ee\u9898"},"content":{"rendered":"<p>\u8bb0\u5f55\u4e00\u4e0b\u6700\u8fd1\u53d1\u5e03<a href=\"http:\/\/labs.etao.com\/aliwangwang\">\u963f\u91cc\u65fa\u65fa for Mac<\/a> 3.0.1 \u65f6\u78b0\u5230\u7684\u95ee\u9898\u3002<\/p>\n<p>\u963f\u91cc\u65fa\u65fa\u5728\u53d1\u5e03\u5230 <a href=\"http:\/\/labs.etao.com\">labs.etao.com<\/a> \u65f6\uff0c\u4e3a\u4e86\u517c\u5bb9 Mac App Store \u7248\u672c\uff0c\u4e5f\u8981\u52a0\u4e0a Sandbox \u652f\u6301\uff0c\u6240\u4ee5 App \u662f\u4f7f\u7528 Developer ID Application \u65b9\u5f0f\u53d1\u5e03\u7684\u3002<\/p>\n<p>\u4f46\u662f\u6709\u4e00\u4e9b\u4eba\u5728\u62ff\u5230\u65b0\u7248\u672c\u540e\uff0c\u5374\u6ca1\u529e\u6cd5\u8fd0\u884c\u7a0b\u5e8f\uff0c\u603b\u662f\u4f1a\u63d0\u793a\u4ee5\u4e0b\u9519\u8bef\uff1a<\/p>\n<pre><code>Exception Type:  EXC_BAD_INSTRUCTION (SIGILL)\nException Codes: 0x0000000000000001, 0x0000000000000000\n\nApplication Specific Information:\ndyld: launch, running initializers\n\/usr\/lib\/libSystem.B.dylib\nxpchelper reply message validation: code signature invalid\nThe code signature is not valid: The operation couldn\u2019t be completed. (OSStatus error -67061.)\n\nApplication Specific Signatures:\ncode signature invalid\n<\/code><\/pre>\n<p>\u4e00\u5f00\u59cb\u4ee5\u4e3a\u662f\u7b7e\u540d\u7684\u95ee\u9898\uff0c\u7136\u540e\u53e6\u5916\u4e00\u4e2a\u540c\u4e8b\u4f7f\u7528\u540c\u6837\u65b9\u5f0f\u53d1\u5e03 Developer ID Application \u7ee7\u7eed\u4e0d\u80fd\u8fd0\u884c\u3002\u4e8e\u662f\u53bb\u7f51\u4e0a\u627e\u4e86\u4e00\u4e0b\u8fd9\u4e2a\u95ee\u9898\uff0c\u53d1\u73b0\u4e86\u4e00\u7bc7\u6587\u7ae0\u300a<a href=\"http:\/\/cocoadevblog.avisnocturna.com\/2012\/09\/os-x-10-7-5-fails-to-launch-code-signed-apps\/\">OS X 10.7.5 FAILS TO LAUNCH CODE-SIGNED APPS<\/a> \u300b\u8bb2\u5230\u8fd9\u4e2a\u95ee\u9898\uff0c\u8bf4\u8fd9\u4e2a\u53ef\u80fd\u662f\u56e0\u4e3a\u82f9\u679c\u5728 Mac OS X 10.7.5 \u4e2d\u6539\u4e86\u4ec0\u4e48\u4e1c\u897f\u5bfc\u81f4\u7684\uff0c\u53ea\u8981\u91cd\u7b7e\u540d\u4e00\u4e0b App \u5c31\u53ef\u4ee5\u4e86\u3002<\/p>\n<p>\u6253\u5f00\u7ec8\u7aef\uff0c\u8fdb\u5165\u8981\u7b7e\u540d\u7684 App \u6240\u5728\u76ee\u5f55\uff0c\u4f7f\u7528\u4ee5\u4e0b\u547d\u4ee4\u6765\u91cd\u65b0\u7b7e\u540d\uff1a<\/p>\n<pre><code>codesign -fs 'Developer ID Application' --prefix 'com.taobao' \\\n--preserve-metadata=i,e,res,req --timestamp=none AliWangwang.app\n<\/code><\/pre>\n<p><strong>\u6ce8\u610f\uff1a<\/strong>\u5982\u679c\u4f60\u7684 Keychain Access \u91cc\u6709\u591a\u4e2a Developer ID Application \u8bc1\u4e66\u7684\u8bdd\uff0c\u9700\u8981\u628a <code>Developer ID Application<\/code> \u66ff\u6362\u6210 Keychain Access \u4e2d\u5b8c\u6574\u7684 Developer ID Application \u8bc1\u4e66\u7684\u540d\u79f0\u3002<\/p>\n<p>\u91cd\u65b0\u7b7e\u540d\u4e4b\u540e\u7684 Developer ID Application\uff0c\u5c31\u53ef\u4ee5\u5728 Mac OS X 10.7.5 \u4e0a\u6b63\u5e38\u6253\u5f00\u548c\u4f7f\u7528\u4e86\u3002<\/p>\n<h2>\u53c2\u8003\u8d44\u6599<\/h2>\n<ol>\n<li><a href=\"http:\/\/cocoadevblog.avisnocturna.com\/2012\/09\/os-x-10-7-5-fails-to-launch-code-signed-apps\/\">OS X 10.7.5 FAILS TO LAUNCH CODE-SIGNED APPS<\/a><\/li>\n<\/ol>\n<p>--- EOF ---<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u8bb0\u5f55\u4e00\u4e0b\u6700\u8fd1\u53d1\u5e03\u963f\u91cc\u65fa\u65fa for Mac 3.0.1 \u65f6\u78b0\u5230\u7684\u95ee\u9898\u3002 \u963f\u91cc\u65fa\u65fa\u5728 &hellip;<\/p>\n<p class=\"read-more\"><a href=\"https:\/\/xujiwei.com\/blog\/2012\/12\/developer-id-application-crashed-on-os-x-10-7-5\/\">\u7ee7\u7eed\u9605\u8bfb &raquo;<\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[168],"tags":[226,225,224],"_links":{"self":[{"href":"https:\/\/xujiwei.com\/blog\/wp-json\/wp\/v2\/posts\/582"}],"collection":[{"href":"https:\/\/xujiwei.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/xujiwei.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/xujiwei.com\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/xujiwei.com\/blog\/wp-json\/wp\/v2\/comments?post=582"}],"version-history":[{"count":0,"href":"https:\/\/xujiwei.com\/blog\/wp-json\/wp\/v2\/posts\/582\/revisions"}],"wp:attachment":[{"href":"https:\/\/xujiwei.com\/blog\/wp-json\/wp\/v2\/media?parent=582"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/xujiwei.com\/blog\/wp-json\/wp\/v2\/categories?post=582"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/xujiwei.com\/blog\/wp-json\/wp\/v2\/tags?post=582"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}