我正在使用Xcode 6.1.1和Swift语言将我的Mac OS X应用程序作为Mac安装程序包导出到应用商店之外。当我安装应用程序并启动它时,它崩溃显示代码签名错误,我的目标是OS X 10.10。我不使用沙箱,即使安装程序包分发,我也拥有所有权利和开发者ID证书。验证说存档没问题。如果我作为开发者ID签名的应用程序导出该应用程序正常。有什么想法吗?
Process:
Path:
Identifier:
Version: ???
Code Type: X86-64 (Native)
Parent Process: ??? [1]
Responsible:
User ID: 501
Date/Time: 2015-01-22 09:37:13.177 +0100
OS Version: Mac OS X 10.10.1 (14B25)
Report Version: 11
Anonymous UUID: 1B3648C4-3E46-7439-5276-1E15C8092855
Sleep/Wake UUID: B9EC87D2-20A8-483F-9997-E41038707A08
Time Awake Since Boot: 18000 seconds
Time Since Wake: 2200 seconds
Crashed Thread: 0
Exception Type: EXC_CRASH (Code Signature Invalid)
Exception Codes: 0x0000000000000000, 0x0000000000000000
kernel messages:
VM Regions Near 0x7fff77c550a8 (cr2):
__LINKEDIT 00007fff6d9a1000-00007fff6d9b5000 [ 80K] r--/rwx SM=COW /usr/lib/dyld
--> Submap 00007fff70000000-00007fff80000000 [256.0M] r--/rwx SM=PRV process-only VM submap
unused shlib __DATA 00007fff77aa0000-00007fff7a030000 [ 37.6M] rw-/rw- SM=COW system shared lib __DATA not used by this process
Thread 0 Crashed:
0 dyld 0x00007fff6d932000 _dyld_start + 0
Thread 0 crashed with X86 Thread State (64-bit):
rax: 0x000000000000000d rbx: 0x0000000000000000 rcx: 0x0000000000000000 rdx: 0x0000000000000000
rdi: 0x0000000000000000 rsi: 0x0000000000000000 rbp: 0x0000000000000000 rsp: 0x00007fff56bc3a70
r8: 0x0000000000000000 r9: 0x0000000000000000 r10: 0x0000000000000000 r11: 0x0000000000000000
r12: 0x0000000000000000 r13: 0x0000000000000000 r14: 0x0000000000000000 r15: 0x0000000000000000
rip: 0x00007fff6d932000 rfl: 0x0000000000000201 cr2: 0x00007fff77c550a8
Logical CPU: 0
Error Code: 0x020000f4
Trap Number: 133
答案 0 :(得分:0)
经过进一步调查后,我发现这似乎不会影响应用审核。验证归档后,您只需提交应用程序,从应用程序商店下载后该应用程序就可以正常运行。
答案 1 :(得分:0)
我找到了解决方案:从2013年10月开始下载Xcode辅助工具和use PackageMaker.app
,它很容易使用,它使包安装程序没有任何崩溃。在2台Mac上测试过。