首页 > 解决方案 > XCode 导致 App Fabric 崩溃

问题描述

我使用 Fabric App 来声明或添加组件结构(Crashlytics、Answer、...),但是在几个小时内,一旦 Xcode 成功编译了应用程序,应用程序就会崩溃。

设想:

  1. 添加运行脚本构建阶段:./Fabric.framework/run XXXXXXXXXXXX
  2. App Fabric 待处理
  3. 使用 XCode 成功构建我的项目
  4. App Fabric 崩溃 ->

`

Process:               Fabric [28573]
Path:                  /private/var/folders/*/Fabric.app/Contents/MacOS/Fabric
Identifier:            com.crashlytics.mac
Version:               2.7.1 (1292)
Code Type:             X86-64 (Native)
Parent Process:        ??? [1]
Responsible:           Fabric [28573]
User ID:               501

Date/Time:             2018-08-10 12:10:29.132 +0200
OS Version:            Mac OS X 10.13.6 (17G65)
Report Version:        12
Anonymous UUID:        6E2B16E4-1A52-ECA6-C4C9-95784265343F


Time Awake Since Boot: 6800 seconds

System Integrity Protection: enabled

Notes:                 Translocated Process

Crashed Thread:        7  Dispatch queue: NSOperationQueue 0x600000028b60 (QOS: UNSPECIFIED)

Exception Type:        EXC_BAD_ACCESS (SIGSEGV)
Exception Codes:       KERN_INVALID_ADDRESS at 0x0000000111a96400
Exception Note:        EXC_CORPSE_NOTIFY

Termination Signal:    Segmentation fault: 11
Termination Reason:    Namespace SIGNAL, Code 0xb
Terminating Process:   exc handler [0]

VM Regions Near 0x111a96400:
    mapped file            0000000111669000-0000000111a69000 [ 4096K] r--/r-x SM=PRV  Object_id=8dbb241f
--> 
    MALLOC_NANO            0000600000000000-0000600000c00000 [ 12.0M] rw-/rwx SM=PRV  

Thread 0:: Dispatch queue: com.apple.main-thread
0   libsystem_kernel.dylib          0x00007fff5c2ada16 __psynch_cvwait + 10
1   libsystem_pthread.dylib         0x00007fff5c476589 _pthread_cond_wait + 732
2   com.apple.Foundation            0x00007fff364dbdd0 -[__NSOperationInternal _waitUntilFinished:] + 896
3   com.apple.Foundation            0x00007fff364395ff -[__NSObserver _doit:] + 238
4   com.apple.CoreFoundation        0x00007fff3432bedc __CFNOTIFICATIONCENTER_IS_CALLING_OUT_TO_AN_OBSERVER__ + 12
5   com.apple.CoreFoundation        0x00007fff3432bdaa _CFXRegistrationPost + 458
6   com.apple.CoreFoundation        0x00007fff3432bae1 ___CFXNotificationPost_block_invoke + 225

`

我尝试下载新版本的 Fabric,重新启动 Mac 等 -> 相同的结果。

有什么建议么 ?

标签: ioscrashlyticsgoogle-fabric

解决方案


推荐阅读