我已经搜索了数百种东西,但没有一件适合我,我取消了Pod的集成并重新安装,从派生数据中删除数据,清理了xcode项目,旧式设置,但对我不起作用。请你能帮我吗?
Details
Unable to install "WWCD"
Domain: com.apple.dt.MobileDeviceErrorDomain
Code: -402620388
--
No code signature found.
Domain: com.apple.dt.MobileDeviceErrorDomain
Code: -402620388
User Info: {
DVTRadarComponentKey = 261622;
MobileDeviceErrorCode = "(0xE800801C)";
"com.apple.dtdevicekit.stacktrace" = (
0 DTDeviceKitBase 0x00000001236ac81a DTDKCreateNSErrorFromAMDErrorCode + 233
1 DTDeviceKitBase 0x00000001236edf70 __90-[DTDKMobileDeviceToken installApplicationBundleAtPath:withOptions:andError:withCallback:]_block_invoke + 155
2 DVTFoundation 0x000000010a827385 DVTInvokeWithStrongOwnership + 73
3 DTDeviceKitBase 0x00000001236edca8 -[DTDKMobileDeviceToken installApplicationBundleAtPath:withOptions:andError:withCallback:] + 1654
4 IDEiOSSupportCore 0x0000000123564e91 __118-[DVTiOSDevice(DVTiPhoneApplicationInstallation) processAppInstallSet:appUninstallSet:installOptions:completionBlock:]_block_invoke.352 + 4165
5 DVTFoundation 0x000000010a95aa10 __DVT_CALLING_CLIENT_BLOCK__ + 7
6 DVTFoundation 0x000000010a95c652 __DVTDispatchAsync_block_invoke + 1194
7 libdispatch.dylib 0x00007fff6a4906c4 _dispatch_call_block_and_release + 12
8 libdispatch.dylib 0x00007fff6a491658 _dispatch_client_callout + 8
9 libdispatch.dylib 0x00007fff6a496c44 _dispatch_lane_serial_drain + 597
10 libdispatch.dylib 0x00007fff6a4975d6 _dispatch_lane_invoke + 363
11 libdispatch.dylib 0x00007fff6a4a0c09 _dispatch_workloop_worker_thread + 596
12 libsystem_pthread.dylib 0x00007fff6a6eba3d _pthread_wqthread + 290
13 libsystem_pthread.dylib 0x00007fff6a6eab77 start_wqthread + 15
);
}
--
System Information
macOS Version 10.15.4 (Build 19E266)
Xcode 11.4 (16134)
最佳答案
围绕以下工作:
无法安装“应用程序”
域:com.apple.dt.MobileDeviceErrorDomain
编码:-402620388
显然,这是Xcode 12中的已知(SR-13343)。它与“SwiftPM binaryTarget依赖关系和代码签名”有关,其中Xcode无法对SwiftPM提供的框架进行签名。
看到这个链接:https://forums.swift.org/t/swiftpm-binarytarget-dependency-and-code-signing/38953
如果您通读了此书,则可以通过在目标的构建阶段添加脚本来找到解决方法的链接:
解决方法:https://pspdfkit.com/guides/ios/current/knowledge-base/library-not-found-swiftpm/
我刚刚将脚本添加到了我的应用中,一切现在都很好!
关于swift - 此错误402620388消息有什么解决方案吗?,我们在Stack Overflow上找到一个类似的问题:https://stackoverflow.com/questions/60862392/