xcode 找不到 CFBundle CertUIFramework.axbundle 的可执行文件
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/18888059/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me):
StackOverFlow
Cannot find executable for CFBundle CertUIFramework.axbundle
提问by carbonr
Just updated to Xcode 5 and this is the first error its throwing on the logger for all my apps. Can't seem to understand why this is happening.
刚刚更新到 Xcode 5,这是我所有应用程序在记录器上抛出的第一个错误。似乎无法理解为什么会发生这种情况。
2013-09-19 10:46:54.341 MyApp[1156:a0b] Cannot find executable
for CFBundle 0x8a7c7a0 </Applications/Xcode.app/Contents/Developer/Platforms/
iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator7.0.sdk/
System/Library/AccessibilityBundles/CertUIFramework.axbundle> (not loaded)
Edit (11-11-2013):To everyone reading, once I waiting for a solid working solution to accept and close. The highest voted answer works until you re-open the project only.
编辑(11-11-2013):致所有阅读的人,一旦我等待一个可靠的工作解决方案接受并关闭。在您重新打开项目之前,投票最高的答案有效。
Edit (30-09-2014):I can see this has been sorted since XCode 6 has been released! Finally
编辑(30-09-2014):我可以看到自从 XCode 6 发布以来,这已经被排序了!最后
回答by StuartM
Final Edit-
最终编辑-
Temporary workaround: click iOS Simulator > Reset Content and Settings... and run again.
This error message may reappear at random. For me, it happens when I launch a different application. There are several threads in Apple dev forumsand in StackOverflow about this problem, but none have a definitive answer. This seems to be a SDK error to be fixed in the next Xcode version.
Updated: October 3.
临时解决方法:单击 iOS 模拟器 > 重置内容和设置...并再次运行。
此错误消息可能会随机重新出现。对我来说,它发生在我启动不同的应用程序时。在Apple 开发论坛和 StackOverflow 中有几个关于这个问题的主题,但没有一个有明确的答案。这似乎是要在下一个 Xcode 版本中修复的 SDK 错误。
更新时间:10 月 3 日。
CREDIT - Please check this answer - Xcode 5 Error CertUIFramework.axbundle
信用 - 请检查这个答案 - Xcode 5 错误 CertUIFramework.axbundle
Further Edit
Although this was potentially the issue resolution at the time. I believe some of the newer answers below relating to the better touch tool are in fact the correct resolutions.
进一步编辑
虽然这可能是当时的问题解决方案。我相信下面与更好的触摸工具相关的一些较新的答案实际上是正确的分辨率。
回答by GazB
After reading Kirill's answer I did some digging as I didn't want to disable BetterTouchTool for everything just the "iOS Simulator" and you can. Open the "iOS Simulator" and will it as the active app go to the BTT drop-down menu from the top bar (of that screen if you have more than one) and select "Disable BTT for Current App". It will turn to a play icon when it's disabled. Make sure the app name on the bar is still "iOS Simulator" as mine jumped to "Finder" a few times when I clicked the top bar!
阅读 Kirill 的回答后,我做了一些挖掘,因为我不想仅对“iOS 模拟器”禁用 BetterTouchTool,而您可以。打开“iOS 模拟器”并将其作为活动应用程序从顶部栏(如果您有多个屏幕,则从该屏幕)转到 BTT 下拉菜单,然后选择“为当前应用程序禁用 BTT”。当它被禁用时,它会变成一个播放图标。确保栏上的应用程序名称仍然是“iOS Simulator”,因为当我单击顶部栏时,我的几次跳转到“Finder”!
Now re-set the simulator (if it doesn't work) and rebuild. You shouldn't get the error! :) Don't forget to clear the error if it's still there. ;)
现在重新设置模拟器(如果它不起作用)并重建。你不应该得到错误!:) 如果错误仍然存在,请不要忘记清除错误。;)
BTT seems to remember what apps it's disabled for (or at least it does when you close and re-open the app that's disabled I haven't tried a system re-boot yet).
BTT 似乎记得它被禁用的应用程序(或者至少当你关闭并重新打开被禁用的应用程序时它会记住我还没有尝试重新启动系统)。
回答by Tunvir Rahman Tusher
Its easy. Go iOS simulator and reset content and setting.
这很简单。转到 iOS 模拟器并重置内容和设置。
Thanks
谢谢
回答by Nagaraj
If you are using XCode-5 then just reset the simulator "Reset Content and Settings" and run once again
如果您使用的是 XCode-5,则只需重置模拟器“重置内容和设置”并再次运行
回答by Pahnev
So I was having this error too in Xcode 5 and 5.1. I wanted to figure out if it's Xcode bug or something else, so I did a fresh install of Mavericks 10.9.2 and Xcode 5.1. Everything seemed fine after multiple tests.
所以我在 Xcode 5 和 5.1 中也有这个错误。我想弄清楚是 Xcode 错误还是其他什么原因,所以我重新安装了 Mavericks 10.9.2 和 Xcode 5.1。经过多次测试,一切似乎都很好。
Here is where the problem began. I put the apps and settings that I mostly use and the error came back. So I deleted everything and started adding everything one by one. After couple days I had bingo! The problem is with BetterSnapTool and BetterTouchTool
这就是问题开始的地方。我放了我最常用的应用程序和设置,错误又回来了。所以我删除了所有内容并开始一一添加所有内容。几天后,我有了宾果游戏!问题在于 BetterSnapTool 和 BetterTouchTool
Update 12.12.2014
2014 年 12 月 12 日更新
Just started using Xcode 6.1 and noticed that this bug seems to be gone at least with Xcode 6.1 simulators and BTT 0.9985 versions.
刚开始使用 Xcode 6.1 并注意到这个错误似乎至少在 Xcode 6.1 模拟器和 BTT 0.9985 版本中消失了。
Update:As GasB pointed out, it is possible to disable BTT for certain apps. So just disable it for iOS Simulator. You just have to remember not to use gestures while using the simulator as that triggers the error message.
更新:正如 GasB 所指出的,可以为某些应用程序禁用 BTT。所以只需为 iOS 模拟器禁用它。您只需要记住在使用模拟器时不要使用手势,因为这会触发错误消息。
Simple solution:
简单的解决方案:
Remove the ticks in preference pane, reset simulator and do clean build. The error message will disappear.
.
删除首选项窗格中的勾号,重置模拟器并进行清理构建。错误信息将消失。
.
回答by MichaelO
I had the same problem and solved it setting the 'Localization native development region' to match my systems region. In my case from 'en' to 'de'. The referenced files are stored in localized versions in your filesystem. So this setting is used to identify the needed version.
我遇到了同样的问题并解决了它设置“本地化本地开发区域”以匹配我的系统区域。就我而言,从“en”到“de”。引用的文件存储在文件系统中的本地化版本中。因此,此设置用于标识所需的版本。
You can find that setting in your project settings at 'Info' -> 'Custom iOS Target Properties'.
您可以在“信息”->“自定义 iOS 目标属性”的项目设置中找到该设置。
回答by alloy
Resetting the simulator ‘fixes' it because it turns the accessibility support off. You can normally achieve the same by simply disabling the ‘Accessibility Inspector' in the ‘Settings' app.
重置模拟器“修复”它,因为它关闭了辅助功能支持。您通常可以通过简单地禁用“设置”应用程序中的“辅助功能检查器”来实现相同的目的。
If, however, you need it enabled, particularly hate this error message, and are feeling adventurous then you can use the following monkey patches to silence the error: https://gist.github.com/alloy/9277316. (Be sure to NOT include this in your release builds.)
但是,如果您需要启用它,特别讨厌此错误消息,并且喜欢冒险,那么您可以使用以下猴子补丁来消除错误:https: //gist.github.com/alloy/9277316。(请确保不要将其包含在您的发布版本中。)
回答by aorcsik
The application Moom is also causing this issue, and I couldn't find a way to disable it for just the iOS Simulator. So for now I disabled it's accessibility features.
应用程序 Moom 也导致了此问题,我找不到仅针对 iOS 模拟器禁用它的方法。所以现在我禁用了它的辅助功能。
回答by user2892348
I had this problem with Xcode 5 in ML 10.8.5
我在 ML 10.8.5 中的 Xcode 5 遇到了这个问题
I re-installed Mountain Lion (in a Parallels' VM), then update ML to 10.8.5.
我重新安装了 Mountain Lion(在 Parallels 的虚拟机中),然后将 ML 更新到 10.8.5。
Then installrd Xcode 5, and it's worked fine.
然后安装 Xcode 5,它运行良好。
I think that the error is caused by a third SW installed in ML.
我认为该错误是由安装在 ML 中的第三个软件引起的。
回答by Martin Velchevski
I'm on Mavericks (10.9.3) and encountered the same error in xCode(5.1.1).
我在 Mavericks (10.9.3) 上并在 xCode(5.1.1) 中遇到了同样的错误。
I tried anything - reinstalling xCode from both AppStore and dmg. Resetting the emulator resulted in the same error and deleting the Simulator SDK folder gave no results too.
我尝试了任何方法 - 从 AppStore 和 dmg 重新安装 xCode。重置模拟器导致同样的错误,删除模拟器 SDK 文件夹也没有结果。
The issue on my end was indeed Moom as mentioned by @aorcsik! Disabling it's accessibility, followed by clean (cmd+shift+k) in xCode cleared the error.
正如@aorcsik 所说,我的问题确实是 Moom!禁用它的可访问性,然后在 xCode 中使用 clean (cmd+shift+k) 清除了错误。