音视频 unity2019 Xcode 12 打包后直接闪退 求助一下各位大佬

2021-03-10 15:56:01.121645+0800 vision[25902:7355364] Error loading /var/containers/Bundle/Application/3F00E210-E2A1-42E7-82D0-D109ABC204F8/vision.app/Frameworks/UnityFramework.framework/UnityFramework: dlopen(/var/containers/Bundle/Application/3F00E210-E2A1-42E7-82D0-D109ABC204F8/vision.app/Frameworks/UnityFramework.framework/UnityFramework, 265): Library not loaded: @rpath/AgoraRtcKit.framework/AgoraRtcKit

Referenced from: /private/var/containers/Bundle/Application/3F00E210-E2A1-42E7-82D0-D109ABC204F8/vision.app/Frameworks/UnityFramework.framework/UnityFramework

Reason: no suitable image found. Did find:

/private/var/containers/Bundle/Application/3F00E210-E2A1-42E7-82D0-D109ABC204F8/vision.app/Frameworks/UnityFramework.framework/Frameworks/AgoraRtcKit.framework/AgoraRtcKit: code signature in (/private/var/containers/Bundle/Application/3F00E210-E2A1-42E7-82D0-D109ABC204F8/vision.app/Frameworks/UnityFramework.framework/Frameworks/AgoraRtcKit.framework/AgoraRtcKit) not valid for use in process using Library Validation: mapped file has no cdhash, completely unsigned? Code has to be at least ad-hoc signed.

2021-03-10 15:56:01.153659+0800 vision[25902:7355364] Error loading /var/containers/Bundle/Application/3F00E210-E2A1-42E7-82D0-D109ABC204F8/vision.app/Frameworks/UnityFramework.framework/UnityFramework: dlopen(/var/containers/Bundle/Application/3F00E210-E2A1-42E7-82D0-D109ABC204F8/vision.app/Frameworks/UnityFramework.framework/UnityFramework, 265): Library not loaded: @rpath/AgoraRtcKit.framework/AgoraRtcKit

Referenced from: /private/var/containers/Bundle/Application/3F00E210-E2A1-42E7-82D0-D109ABC204F8/vision.app/Frameworks/UnityFramework.framework/UnityFramework

Reason: no suitable image found. Did find:

/private/var/containers/Bundle/Application/3F00E210-E2A1-42E7-82D0-D109ABC204F8/vision.app/Frameworks/UnityFramework.framework/Frameworks/AgoraRtcKit.framework/AgoraRtcKit: code signature in (/private/var/containers/Bundle/Application/3F00E210-E2A1-42E7-82D0-D109ABC204F8/vision.app/Frameworks/UnityFramework.framework/Frameworks/AgoraRtcKit.framework/AgoraRtcKit) not valid for use in process using Library Validation: mapped file has no cdhash, completely unsigned? Code has to be at least ad-hoc signed.

不用Xcode12看下,然后检查下这里的动态库设置

解决了 谢谢解答