我是 React Native 开发者,我尝试在手机和模拟器上启动新应用。
在我的手机上,我收到此错误 => 单击详细信息后无法安装“MyApp”。
Details
Unable to install "MyApp"
Domain: com.apple.dt.MobileDeviceErrorDomain
Code: -402653179
--
Could not write to the device.
Domain: com.apple.dt.MobileDeviceErrorDomain
Code: -402653179
User Info: {
DVTRadarComponentKey = 261622;
MobileDeviceErrorCode = "(0xE8000005)";
"com.apple.dtdevicekit.stacktrace" = (
0 DTDeviceKitBase 0x000000012adfdc8f DTDKCreateNSErrorFromAMDErrorCode + 220
1 DTDeviceKitBase 0x000000012ae3c241 __90-[DTDKMobileDeviceToken installApplicationBundleAtPath:withOptions:andError:withCallback:]_block_invoke + 155
2 DVTFoundation 0x0000000109d8164b DVTInvokeWithStrongOwnership + 71
3 DTDeviceKitBase 0x000000012ae3bf82 -[DTDKMobileDeviceToken installApplicationBundleAtPath:withOptions:andError:withCallback:] + 1440
4 IDEiOSSupportCore 0x000000012acaca10 __118-[DVTiOSDevice(DVTiPhoneApplicationInstallation) processAppInstallSet:appUninstallSet:installOptions:completionBlock:]_block_invoke.292 + 3513
5 DVTFoundation 0x0000000109eb017e __DVT_CALLING_CLIENT_BLOCK__ + 7
6 DVTFoundation 0x0000000109eb1da0 __DVTDispatchAsync_block_invoke + 1191
7 libdispatch.dylib 0x00007fff204135dd _dispatch_call_block_and_release + 12
8 libdispatch.dylib 0x00007fff204147c7 _dispatch_client_callout + 8
9 libdispatch.dylib 0x00007fff2041a5fe _dispatch_lane_serial_drain + 606
10 libdispatch.dylib 0x00007fff2041b0cb _dispatch_lane_invoke + 375
11 libdispatch.dylib 0x00007fff20424c5d _dispatch_workloop_worker_thread + 819
12 libsystem_pthread.dylib 0x00007fff205bc499 _pthread_wqthread + 314
13 libsystem_pthread.dylib 0x00007fff205bb467 start_wqthread + 15
);
}
--
当我尝试在模拟器上启动应用程序时,我遇到了同样的错误,但细节不同=>
Please try again later.
invalid symlink at /Users/chocolat/Library/Developer/CoreSimulator/Devices/82855CE8-7144-4C94-A8E4-70EDE31EAB06/data/Library/Caches/com.apple.mobile.installd.staging/temp.W5x1y0/extracted/MyApp.app/assets/App/Assets/Images/test/Lien vers test.png
详细模拟器错误=>
Details
Unable To Install “MyApp”
Domain: IXUserPresentableErrorDomain
Code: 1
Failure Reason: Please try again later.
Recovery Suggestion: invalid symlink at /Users/chocolat/Library/Developer/CoreSimulator/Devices/82855CE8-7144-4C94-A8E4-70EDE31EAB06/data/Library/Caches/com.apple.mobile.installd.staging/temp.W5x1y0/extracted/MyApp.app/assets/App/Assets/Images/test/Lien vers test.png
--
invalid symlink at /Users/chocolat/Library/Developer/CoreSimulator/Devices/82855CE8-7144-4C94-A8E4-70EDE31EAB06/data/Library/Caches/com.apple.mobile.installd.staging/temp.W5x1y0/extracted/MyApp.app/assets/App/Assets/Images/test/Lien vers test.png
Domain: MIInstallerErrorDomain
Code: 70
User Info: {
FunctionName = "-[MIFileManager validateSymlinksInURLDoNotEscapeURL:error:]_block_invoke";
LegacyErrorString = InvalidSymlink;
SourceFileLine = 1042;
}
--
有人可以帮助我吗? 最好的
系统信息
macOS Version 11.2.3 (Build 20D91)
Xcode 12.4 (17801) (Build 12D4e)
Timestamp: 2021-04-14T14:26:36+02:00