当我尝试运行安装并使用AlamoFire的应用程序时,构建成功后会发生以下崩溃。
dyld`__abort_with_payload:
0x1006e7eb4 <+0>: movl $0x2000209, %eax ; imm = 0x2000209
0x1006e7eb9 <+5>: movq %rcx, %r10
0x1006e7ebc <+8>: syscall
-> 0x1006e7ebe <+10>: jae 0x1006e7ec8 ; <+20>
0x1006e7ec0 <+12>: movq %rax, %rdi
0x1006e7ec3 <+15>: jmp 0x1006e63e8 ; cerror_nocancel
0x1006e7ec8 <+20>: retq
0x1006e7ec9 <+21>: nop
0x1006e7eca <+22>: nop
0x1006e7ecb <+23>: nop
dyld: Library not loaded: @rpath/Alamofire.framework/Versions/A/Alamofire
Referenced from: /Users/scottlydon/Library/Developer/Xcode/DerivedData/TimeFountain-ezxosxusmvqbwafcjpntqcqqdpkl/Build/Products/Debug/TimeFountain.app/Contents/MacOS/TimeFountain
Reason: no suitable image found. Did find:
/Users/scottlydon/Library/Developer/Xcode/DerivedData/TimeFountain-ezxosxusmvqbwafcjpntqcqqdpkl/Build/Products/Debug/TimeFountain.app/Contents/MacOS/../Frameworks/Alamofire.framework/Versions/A/Alamofire: code signature in (/Users/scottlydon/Library/Developer/Xcode/DerivedData/TimeFountain-ezxosxusmvqbwafcjpntqcqqdpkl/Build/Products/Debug/TimeFountain.app/Contents/MacOS/../Frameworks/Alamofire.framework/Versions/A/Alamofire) not valid for use in process using Library Validation: mapped file has no Team ID and is not a platform binary (signed with custom identity or adhoc?)
/Users/scottlydon/Library/Developer/Xcode/DerivedData/TimeFountain-ezxosxusmvqbwafcjpntqcqqdpkl/Build/Products/Debug/TimeFountain.app/Contents/MacOS/../Frameworks/Alamofire.framework/Versions/A/Alamofire: code signature in (/Users/scottlydon/Library/Developer/Xcode/DerivedData/TimeFountain-ezxosxusmvqbwafcjpntqcqqdpkl/Build/Products/Debug/TimeFountain.app/Contents/MacOS/../Frameworks/Alamofire.framework/Versions/A/Alamofire) not valid for use in process using Library Validation: mapped file has no Team ID and is not a platform binary (signed with custom identity or adhoc?)
我不知道为什么没有匿名“图像”会使我的应用程序崩溃。我的应用设置了我的代码签名