Xcode 6在iOS 7设备上运行Swift app并崩溃,控制台显示log otherApps

时间:2014-07-22 21:21:13

标签: swift xcode6

环境

Xcode6-BETA4

描述

刚创建单视图控制器模板iOS App,并在iOS 7设备(iPhone 5)上运行 它刚刚崩溃..

2014-07-22 13:29:00.211 TimeTracker-iPhone[16701:60b] otherApps (
"com.ketchapp.2048",
"com.google.ios.youtube"
)

调试堆栈就像这样停止

Thread 1Queue : com.apple.main-thread (serial)
#0  0x2be7b0c4 in dyld_fatal_error ()
#1  0x2be7bf16 in dyld::halt(char const*) ()
#2  0x2be7d578 in dyld::bindLazySymbol(mach_header const*, unsigned long*) ()
#3  0x2be87fc8 in stub_binding_helper_interface ()
#4  0x0007f0a0 in __arclite_objc_getClass(char const*) at /SourceCache/arclite_iOS/arclite-46/source/arclite.mm:1113
#5  0x0007ec8c in install_bigger_allocateClassPair() [inlined] at /SourceCache/arclite_iOS/arclite-46/source/arclite.mm:1182
#6  0x0007ec70 in __ARCLite__load() at /SourceCache/arclite_iOS/arclite-46/source/arclite.mm:1254
#7  0x39e88266 in call_load_methods ()
#8  0x39e88968 in load_images ()
#9  0x2be7bbbe in dyld::notifySingle(dyld_image_states, ImageLoader const*) ()
#10 0x2be84ce8 in ImageLoader::recursiveInitialization(ImageLoader::LinkContext const&, unsigned int, ImageLoader::InitializerTimingList&) ()
#11 0x2be84b54 in ImageLoader::runInitializers(ImageLoader::LinkContext const&, ImageLoader::InitializerTimingList&) ()
#12 0x2be7bd3c in dyld::initializeMainExecutable() ()
#13 0x2be7eab8 in dyld::_main(macho_header const*, unsigned long, int, char const**, char const**, char const**, unsigned long*) ()
#14 0x2be7b22e in dyldbootstrap::start(macho_header const*, int, char const**, long, macho_header const*, unsigned long*) ()

现在无法发布图片以获取限制

有什么想法吗?

BTW,app在模拟器(7,7.1)上运行良好

2 个答案:

答案 0 :(得分:0)

同样的问题影响了我。问题是我在同一个地方开始一个同名的新项目之前删除了之前的失败尝试。

如果响铃,请尝试通过清空回收站完全删除旧项目,然后在新位置以新名称开始新项目。

答案 1 :(得分:0)

最后,我想我找到了根本原因,我的手机已经越狱,并且已经安装了两个名为AdBlock和AdBlockNetwork的应用程序,在我删除它们之后,现在正在工作......可能会向作者发送一张错误票:)< / p>