与加载的库检测到 UUID 不匹配 [英] UUID mismatch detected with the loaded library

查看:23
本文介绍了与加载的库检测到 UUID 不匹配的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当我尝试在 iPhone 上构建和运行我的应用程序时,我在控制台收到UUID 不匹配"警告.

I get a "UUID mismatch" warning at the console when I try to build and run my app on my iPhone.

警告:检测到 UUID 不匹配加载的库 - 在磁盘上是:/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS2.1.sdk/usr/lib/liblockdown.dylib=uuid-mismatch-with-loaded-file,file="/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS2.1.sdk/usr/lib/liblockdown.dylib

warning: UUID mismatch detected with the loaded library - on disk is: /Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS2.1.sdk/usr/lib/liblockdown.dylib =uuid-mismatch-with-loaded-file,file="/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS2.1.sdk/usr/lib/liblockdown.dylib

有人遇到过这个问题并设法解决了警告吗?

Anyone has this issue and managed to resolve the warning ?

推荐答案

卸载并重新安装设备上的 iOS 和 SDK 并没有为我解决这个问题.我能够解决这个问题的唯一方法是删除 4.2.1 iOS 版本的 DeviceSupport 文件,可以在以下位置找到:

Uninstalling and reinstalling both the iOS on the device and the SDK did not fix this for me. The only way I was able to get around this issue was by deleting the DeviceSupport files for the 4.2.1 iOS version, which can be found at:

/Developer/Platforms/iPhoneOS.platform/DeviceSupport/

删除文件并重新启动 Xcode 后,我插入我的设备,并提示我从设备本身恢复符号文件 - 大约需要 5 分钟,之后,一切都恢复正常.

After deleting the files and restarting Xcode, I plugged in my device and was prompted to restore the symbol files from the device itself - it took about 5 minutes and after this, everything was back to working perfectly.

这篇关于与加载的库检测到 UUID 不匹配的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆