1***@qq.com
1***@qq.com
  • 发布:2024-12-06 17:21
  • 更新:2024-12-06 17:26
  • 阅读:42

自定义集成/制作DCloudUTSExtAPI,加入主工程后,无法找到KSCrash.framework,用官方Demo制作DCloudUTSExtAPI也不行

分类:uni-app x

报错信息:
dyld[1861]: Library not loaded: @rpath/KSCrash.framework/KSCrash
Referenced from: <9E50C804-0DB6-356C-BF38-CEAF4C5B1C7F> /private/var/containers/Bundle/Application/18D404B4-739C-4EB4-976C-791CAC4E67F1/UniAppXText.app/Frameworks/DCloudUTSExtAPI.framework/DCloudUTSExtAPI
Reason: tried: '/usr/lib/swift/KSCrash.framework/KSCrash' (no such file, not in dyld cache), '/private/preboot/Cryptexes/OS/usr/lib/swift/KSCrash.framework/KSCrash' (no such file), '/private/var/containers/Bundle/Application/18D404B4-739C-4EB4-976C-791CAC4E67F1/UniAppXText.app/Frameworks/KSCrash.framework/KSCrash' (no such file), '/private/var/containers/Bundle/Application/18D404B4-739C-4EB4-976C-791CAC4E67F1/UniAppXText.app/Frameworks/DCloudUTSExtAPI.framework/Frameworks/KSCrash.framework/KSCrash' (no such file), '/usr/lib/swift/KSCrash.framework/KSCrash' (no such file, not in dyld cache), '/private/preboot/Cryptexes/OS/usr/lib/swift/KSCrash.framework/KSCrash' (no such file), '/private/var/containers/Bundle/Application/18D404B4-739C-4EB4-976C-791CAC4E67F1/UniAppXText.app/Frameworks/KSCrash.framework/KSCrash' (no such file), '/private/var/containers/Bundle/Application/18D404B4-739C-4EB4-976C-791CAC4E67F1/UniAppXText.app/KSCrash.framework/KSCrash' (no such file), '/private/var/containers/Bundle/Application/18D404B4-739C-4EB4-976C-791CAC4E67F1/UniAppXText.app/Frameworks/KSCrash.framework/KSCrash' (no such file), '/private/var/containers/Bundle/Application/18D404B4-739C-4EB4-976C-791CAC4E67F1/UniAppXText.app/KSCrash.framework/KSCrash' (no such file), '/private/var/containers/Bundle/Application/18D404B4-739C-4EB4-976C-791CAC4E67F1/UniAppXText.app/Frameworks/KSCrash.framework/KSCrash' (no such file)

是否是KSCrash.xcframework有问题,不加入这个库就没有问题

2024-12-06 17:21 负责人:DCloud_iOS_WZT 分享
已邀请:
DCloud_iOS_WZT

DCloud_iOS_WZT

KSCrash是动态库 主工程也需要引入

  • 1***@qq.com

    您好 您之前处理过ios端的createInnerAudioContext无法销毁onTimeUpdate的事件 安卓端也是同样会有这种情况 您方便看下吗 十分感谢您

    2024-12-09 02:04

要回复问题请先登录注册