做录屏播放的时候,会在Xcode的File - new - Target - broadcast upload extension - 输入extension的名字.
这里开发完功能以后正常运行没问题,
但是今天突然出现了一个报错性质的弹窗,提示build success 但是就是不能安装在手机上.
Unable to install ""
Please check your project settings and ensure that a valid product has been built.
Details
Details
Unable to install "zhongyou"
Domain: com.apple.dt.MobileDeviceErrorDomain
Code: -402653081
Recovery Suggestion: Please check your project settings and ensure that a valid product has been built.
--
There was an internal API error.
Domain: com.apple.dt.MobileDeviceErrorDomain
Code: -402653081
User Info: {
DVTRadarComponentKey = 261622;
MobileDeviceErrorCode = "(0xE8000067)";
"com.apple.dtdevicekit.stacktrace" = (
0 DTDeviceKitBase 0x00000001193983b8 DTDKCreateNSErrorFromAMDErrorCode + 220
1 DTDeviceKitBase 0x00000001193d6ae1 __90-[DTDKMobileDeviceToken installApplicationBundleAtPath:withOptions:andError:withCallback:]_block_invoke + 155
2 DVTFoundation 0x0000000103208b7c DVTInvokeWithStrongOwnership + 71
3 DTDeviceKitBase 0x00000001193d6822 -[DTDKMobileDeviceToken installApplicationBundleAtPath:withOptions:andError:withCallback:] + 1440
4 IDEiOSSupportCore 0x0000000119263999 __118-[DVTiOSDevice(DVTiPhoneApplicationInstallation) processAppInstallSet:appUninstallSet:installOptions:completionBlock:]_block_invoke.294 + 3534
5 DVTFoundation 0x000000010333b931 __DVT_CALLING_CLIENT_BLOCK__ + 7
6 DVTFoundation 0x000000010333d55b __DVTDispatchAsync_block_invoke + 1191
7 libdispatch.dylib 0x00007fff204f2603 _dispatch_call_block_and_release + 12
8 libdispatch.dylib 0x00007fff204f37e6 _dispatch_client_callout + 8
9 libdispatch.dylib 0x00007fff204f95ca _dispatch_lane_serial_drain + 606
10 libdispatch.dylib 0x00007fff204fa08d _dispatch_lane_invoke + 366
11 libdispatch.dylib 0x00007fff20503bed _dispatch_workloop_worker_thread + 811
12 libsystem_pthread.dylib 0x00007fff2069a4c0 _pthread_wqthread + 314
13 libsystem_pthread.dylib 0x00007fff20699493 start_wqthread + 15
);
}
--
System Information
macOS Version 11.3.1 (Build 20E241)
Xcode 12.5 (18205) (Build 12E262)
Timestamp: 2021-05-25T09:31:08+08:00
Mac重启,手机重启,更新系统,清理xcode,重装Xcode都不起作用,最后就先删掉那两个extension了,删掉之后可正常运行,未来再排查这种奇怪的因素.