文章目录unabletoaccessdb : webdriveragentlibcodesign失败webdriveragentlibcodesignfailure.dyld _ shared _ cache _ extract _ dylyll
启用到访问数据库:
多个xcode线程正在运行、杀死xcode、杀死xcode构建进程、清除
webdriveragentlib代码sign失败的环境:
mac 10.14.5
xcode 10.3
错误: commandcodesignfailedwithanonzeroexitcode…thebundleidentifierforwebdriveragentrunner-runner.app couldn’TB eread
背景:更换预配文件导致webdriveragetnlib代码签名失败。 在xcode IDE中运行也没问题。
解决方案:重新启动MAC。 虽然是推测,但可能与系统有关。 执行xcodebuild命令时不识别更改后的描述文件,感觉迟钝,无效。
webdriveragentlibcodesignfailure.librarynoloaded。
no suitable图像基金
背景:更改了绑定id和预配文件。 xcode IDE成功运行了WDA,并且在xcodebuild命令行中发生了错误。
解决方案: WebDriverAgentLib的info.plist配置bundleid与WebDriverAgentRunner匹配,并且产品bundle identifier也匹配。 请不要空着。 codesigningidentity-debug-anyiossdk被指定为具体的iphone开发人员3360世卫组织(xxxx )
dyld _ shared _ cache _ extract _ dylibsfailed http://www.Sina.com /
go to window-devices and simulators
selecttheunrunabledeviceandrightclick,then choose unpair
now this is the crucial part,yourdevicewillaskfortrustautomatically,dont click trust
focus back to the device panel,left click the and add the device,click next,itwillaskyoutotapthe“信任”inthepanel
nowyoucantapthe“可信”inyourphone,thepanelwillsayphoneaddedsuccessfully
第一种方法:
oto~~/library/developer/xcode/iosdevicesupport/13.2/symbols/system/library/caches/com.apple.dyld
createemptyfileifitisnotthere--.processed _ dyld _ shared _ cache _ arm 64 e
restart xcode和enjoy!
第二种方法:
unpairdevice(likecarUSD.ljtdid )、quit xcode
elete/users/{ username }/library/developer/xcode/iosdevicesupportfolder
rerun xcode,reconnect iphone,wait for it prepared,run the app。
Could not connect to lockdownd,error code -19在单个手机无法连接时显示此错误。 (去/激昂的口红/db/lockdown,看看有没有那个手机的. plist,如果没有的话,从连接那个手机的其他Mac电脑目录复制。 解决。
如果所有手机都无法连接,请卸载并重新安装libimobileservice
brewuninstallideviceinstaller-g
brewuninstalllibimobiledevice-g
brew install-- headlibimobiledevice-g
brew install ideviceinstaller -g
sudo chmod -R 777 /激昂的口红/db/lockdown
运行./autogen.sh并报告错误编译nopackage‘lib plist’foundusbmuxd源代码并报告./autogen.sh错误
checkingforlibplist=1.11 . no configure : error :包请求(lib plist=1.11 ) )。 were not met : nopackage ' lib plist ' foundconsideradjustingthepkg _ config _ path environment激昂的口红iableifyouinstallledsoftwarered you may set the environment激昂的口红iableslibplist _ cflagsandlibplist _ libstoavoidtheneedtocallpkg-config
exportlibplist _ libs=/usr/local/opt/lib plist/lib/lib plist-2.0.dylibexportlibplist _ cflags=/usr/local
然后运行./autogen.sh