首页 > 其他分享 >Xcode真机调试之unable to install

Xcode真机调试之unable to install

时间:2023-12-29 15:55:36浏览次数:28  
标签:Xcode libdispatch dispatch unable 调试 install dylib com block

 

当连接真机运行,xcode出现unable to launch xxx,此时我们可以点击detail来查看详情。


Details
Unable to install "XXX"
Domain: com.apple.dt.MobileDeviceErrorDomain
Code: -402653103
--
Could not inspect the application package.
Domain: com.apple.dt.MobileDeviceErrorDomain
Code: -402653103
User Info: {
DVTRadarComponentKey = 282703;
MobileDeviceErrorCode = "(0xE8000051)";
"com.apple.dtdevicekit.stacktrace" = (
0 DTDeviceKitBase 0x000000012459bc8f DTDKCreateNSErrorFromAMDErrorCode + 220
1 DTDeviceKitBase 0x00000001245da241 __90-[DTDKMobileDeviceToken installApplicationBundleAtPath:withOptions:andError:withCallback:]_block_invoke + 155
2 DVTFoundation 0x00000001073b464b DVTInvokeWithStrongOwnership + 71
3 DTDeviceKitBase 0x00000001245d9f82 -[DTDKMobileDeviceToken installApplicationBundleAtPath:withOptions:andError:withCallback:] + 1440
4 IDEiOSSupportCore 0x000000012444aa10 __118-[DVTiOSDevice(DVTiPhoneApplicationInstallation) processAppInstallSet:appUninstallSet:installOptions:completionBlock:]_block_invoke.292 + 3513
5 DVTFoundation 0x00000001074e317e DVT_CALLING_CLIENT_BLOCK + 7
6 DVTFoundation 0x00000001074e4da0 __DVTDispatchAsync_block_invoke + 1191
7 libdispatch.dylib 0x00007fff2018d623 _dispatch_call_block_and_release + 12
8 libdispatch.dylib 0x00007fff2018e806 _dispatch_client_callout + 8
9 libdispatch.dylib 0x00007fff201945ea _dispatch_lane_serial_drain + 606
10 libdispatch.dylib 0x00007fff201950ad _dispatch_lane_invoke + 366
11 libdispatch.dylib 0x00007fff2019ec0d _dispatch_workloop_worker_thread + 811
12 libsystem_pthread.dylib 0x00007fff2033545d _pthread_wqthread + 314
13 libsystem_pthread.dylib 0x00007fff2033442f start_wqthread + 15
);
}
--
System Information
macOS Version 11.5 (Build 20G70)
Xcode 12.3 (17715) (Build 12C33)
Timestamp: 2021-08-02T15:41:16+08:00

代码错误
错误代码 可能错误原因
402653103: 错把静态库加载成动态库
402653415: 免费app达到最大数目
402652994: 设备装有相同bundle id的应用
402653150: iOS设备要用xcode12来调试
402653170: 测试设备运行内存不足,退出部分或者所有后台应用试试
402620395: 用dis证书来dev调试
402620375 打包macOS版本低于11,需要更新macOS版本或者设置--generate-entitlement-der(调用codesign之前调用或者在xcode->OTHER_CODE_SIGN_FLAGS设置)



参考作者:清宵寒夜
链接:https://www.jianshu.com/p/1e776dface06

 

标签:Xcode,libdispatch,dispatch,unable,调试,install,dylib,com,block
From: https://www.cnblogs.com/qingzZ/p/17935081.html

相关文章

  • Xcode 15 正式版发布(百度网盘下载) - Apple 平台 IDE
    Xcode15正式版发布(百度网盘下载)-Apple平台IDE发布日期:September18,2023,北京时间9月19日凌晨Xcode15Release(15A240d)-Apple平台IDEIDEforiOS/iPadOS/macOS/watchOS/tvOS/visonOS作者主页:sysin.orgvisonOS支持已更新。Xcode15使您能够为所有Apple平台开发......
  • Xcode 15 Release Candidate (15A240d) 发布 - Apple 平台 IDE
    Xcode15ReleaseCandidate(15A240d)发布-Apple平台IDEIDEforiOS/iPadOS/macOS/watchOS/tvOS/visonOS作者主页:sysin.orgvisonOS支持已更新。Xcode15使您能够为所有Apple平台开发、测试和分发应用程序。通过增强的代码完成、交互式预览和实时动画,更快地编写和设计您的......
  • MacOS - Xcode 报referenced from:
    Xcode升级10之后项目错误:==================================================================================================================Link//Users/moyea/Desktop/NewSVN/BD34/BDPlayer/build/Release/Leawo\Blu-ray\Player.app/Contents/MacOS/LeawoBlu-rayP......
  • MacOS - Xcode新建C++项目导入QT库
    在项目BuildPhases>LinkBinaryWithLibraries点击+点击AddOther...选择QT安装路径下的framework在文件中使用#include<>导入QT,例如#include<QtWidgets>,如果报错,那么需要在BuildSettings>HeaderSearchPaths中添加你的QT安装路径下相应的framework路径,例如:/usr/l......
  • cocoaPod 执行 pod install 时出现警告:The `XX [Release]` target overrides the `CLA
    最近执行Podinstall安装命令时,控制台输出警告信息:[!]The`XXX[Debug]`targetoverridesthe`CLANG_ALLOW_NON_MODULAR_INCLUDES_IN_FRAMEWORK_MODULES`buildsettingdefinedin`Pods/TargetSupportFiles/Pods-XXX/Pods-XXX.debug.xcconfig'.Thiscanleadtop......
  • swagger报错Unable to render this definition
    问题描述:访问swagger时,报错endofthestreamoradocumentseparatorisexpected,UnabletorenderthisdefinitionTheprovideddefinitiondoesnotspecifyavalidversionfield.PleaseindicateavalidSwaggerorOpenAPIversionfield.Supportedversionfields......
  • 完美解决SqlServer2012启动报错(cannot find one or more components.Please reinstall
    原因:默认安装在C:\ProgramFiles(x86)\MicrosoftVisualStudio10.0文件夹,以支持sqlserver2012.(我之前不小心把这个文件夹删除了)。解决方案:下载了visualstudio2010Isolatedshell完美解决问题,下载后安装就能正常运行SqlServer2012了,其他SqlServer版本请下载visualstudio......
  • 问题1:Ubuntu执行`sudo apt install XXX`报错出现Failed to Fetch
    报错问题:解决方案:1.查看自己Ubuntu的版本:lsb_release-a(LSB是LinuxStandardBase(Linux标准库)的缩写, lsb_release命令 用来与具体Linux发行版相关的Linux标准库信息)获取版本号之后进入:https://mirrors.tuna.tsinghua.edu.cn/help/ubuntu/2.进入网址......
  • ZIMP - Install migrate CLI
     zzh@ZZHPC:~/Downloads$curl-Lhttps://packagecloud.io/golang-migrate/migrate/gpgkey|sudoapt-keyadd-%Total%Received%XferdAverageSpeedTimeTimeTimeCurrentDloadUploadTotalSpent......
  • [Jenkins] FATAL: Unable to produce a script file
    错误10:17:34FATAL:Unabletoproduceascriptfile10:17:34Also:hudson.remoting.Channel$CallSiteStackTrace:Remotecalltoxxxxxxx10:17:34 athudson.remoting.Channel.attachCallSiteStackTrace(Channel.java:1784)10:17:34 athudson.remoting.UserRequ......