我最近将 iPhone分发证书的信任设置更改为始终信任,而不是使用系统默认值(来自钥匙串访问)。
更改此设置后,使用此证书签名的所有应用内部版本在运行时都会崩溃,并显示以下崩溃日志。经过一些调试后,我将此证书设置更改回使用系统默认值,这将停止崩溃。有谁知道这种信任设置为何以及如何导致应用程序崩溃?
Exception Type: EXC_CRASH (SIGABRT)
Exception Codes: 0x0000000000000000, 0x0000000000000000
Exception Note: EXC_CORPSE_NOTIFY
Termination Description: DYLD, Library not loaded: @rpath/AFNetworking.framework/AFNetworking | Referenced from: /var/containers/Bundle/Application/XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX/MyApp.app/MyApp | Reason: no suitable image found. Did find: | /private/var/containers/Bundle/Application/XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX/MyApp.app/Frameworks/AFNetworking.framework/AFNetworking: code signing blocked mmap() of '/private/var/containers/Bundle/Application/XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX/MyApp.app/Frameworks/AFNetworking.framework/AFNetworking' | /private/var/containers/Bundle/Application/XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX/MyApp.app/Frameworks/AFNetworking.framework/AFNetworking: code signing blocked mmap() of '/private/var/containers/Bundle/Application/XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX/MyApp.app/Frameworks/AFNetworking.framework/AFNetworking' | /private/var/containers/Bundle/Application/XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX/MyApp.app/Frameworks/AFNetworking.framework/AFNetworking: code signing blocked mmap() o
Triggered by Thread: 0