【发布时间】:2019-07-21 05:21:42
【问题描述】:
我在 MacOS High Sierra 上使用 Castlabs 电子叉用于内容安全 (https://github.com/castlabs/electron-releases) 开发了一个 DRM 播放应用程序。我收到有关应用程序无法在某些 MacOS 版本上启动的报告,并显示以下错误消息:
Process: indee [52975]
Path: /Applications/indee.app/Contents/MacOS/indee
Identifier: com.electron.indee
Version: ???
Code Type: X86-64 (Native)
Parent Process: ??? [1]
Responsible: indee [52975]
User ID: 503
Date/Time: 2019-02-25 20:25:09.463 +0530
OS Version: Mac OS X 10.11.6 (15G31)
Report Version: 11
Anonymous UUID: 4BF915F3-40DA-0ABC-3930-F21B00CF3FD7
Sleep/Wake UUID: 69FABBB3-0032-4519-81B0-0CB25B679ACC
Time Awake Since Boot: 650000 seconds
Time Since Wake: 240 seconds
System Integrity Protection: enabled
Crashed Thread: 0
Exception Type: EXC_BREAKPOINT (SIGTRAP)
Exception Codes: 0x0000000000000002, 0x0000000000000000
Exception Note: EXC_CORPSE_NOTIFY
Application Specific Information:
dyld: launch, loading dependent libraries
Dyld Error Message:
Symbol not found: _kSecAttrKeyTypeECSECPrimeRandom
Referenced from: /Applications/indee.app/Contents/MacOS/../Frameworks/Electron Framework.framework/Electron Framework
Expected in: /System/Library/Frameworks/Security.framework/Versions/A/Security
in /Applications/indee.app/Contents/MacOS/../Frameworks/Electron Framework.framework/Electron Framework
据我所知,这个问题在运行相同 macOS 版本的不同 Mac 上并不能始终如一地重现,但它很常见以至于它会产生问题。我该如何解决这个问题?
【问题讨论】:
标签: macos electron electron-builder