线程 1:信号 SIGABRT [英] Thread 1: signal SIGABRT

查看:93
本文介绍了线程 1:信号 SIGABRT的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当我为我的 Xcode 项目运行模拟时出现上述错误这出现在 O__abort_with_payload 文件中

I get the above error when I run the simulation for my Xcode project This appears in the O__abort_with_payload file

dyld`__abort_with_payload:
    0x10aae66f8 <+0>:  movl   $0x2000209, %eax          ; imm = 0x2000209 
    0x10aae66fd <+5>:  movq   %rcx, %r10
    0x10aae6700 <+8>:  syscall 
->  0x10aae6702 <+10>: jae    0x10aae670c               ; <+20>
    0x10aae6704 <+12>: movq   %rax, %rdi
    0x10aae6707 <+15>: jmp    0x10aae6014               ; cerror_nocancel
    0x10aae670c <+20>: retq   
    0x10aae670d <+21>: nop    
    0x10aae670e <+22>: nop    
    0x10aae670f <+23>: nop    

错误出现在-> 0x10aae6702 <+10>: jae 0x10aae670c ; <+20>"

the error appears on the line "-> 0x10aae6702 <+10>: jae 0x10aae670c ; <+20>"

控制台上也有一条消息

dyld: Library not loaded: @rpath/AdobeCreativeSDKCore.framework/AdobeCreativeSDKCore
  Referenced from: /Users/kelvinnjeri/Library/Developer/CoreSimulator/Devices/0B163356-1560-479A-9CC0-2EC04084C5E3/data/Containers/Bundle/Application/FA936BDF-9607-4810-AEA5-F97A2EEFCA14/CloudiTv11.app/CloudiTv11
  Reason: image not found
(lldb) 

我已将AdobeCreativeSDKCore"和AdobeCreativeSDKimages"安装为框架,项目已构建但出现错误

I have the 'AdobeCreativeSDKCore' and 'AdobeCreativeSDKimages' installed as a framework, the project built but the error came up

在另一个场合,我还尝试将框架手动包含在我的主项目文件中,并使用桥接头文件来桥接它.

On a separate occasion, I also tried to manually include the Frameworks in my main project files and use a bridging header file to bridge it.

推荐答案

这是因为您使用的是自定义框架,因此您需要将其放在 General 部分的 Embedded Binaries 中.选择框架而不是捆绑包,如果是,则取消选择复制项目,然后选择创建组.

It’s because you are using a custom framework so you need to put it inside the Embedded Binaries in the section General. Select the frameworks NOT the bundle, Unselect Copy items if it was and select Create groups.

步骤截图

享受吧!

这篇关于线程 1:信号 SIGABRT的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆