使用XCode 7部署的运行应用程序崩溃 [英] Run app deployed with XCode 7 gives a crash

查看:78
本文介绍了使用XCode 7部署的运行应用程序崩溃的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我用xcode 6开发应用程序。
然后连接设备,然后运行带有调试功能的应用程序。
之后,我可以断开设备与xcode的连接,然后再次运行应用程序。

I develop app in xcode 6. And then device connected i run app with debug. After i can disconnect device from xcode and again run app. And it's runs.

但是今天开始出现一些问题,
i运行带有xcode 7中运行按钮的应用程序->应用程序正常运行,并且运行良好。

But today begins some problems i run app with run button in xcode 7 -> app run normally, and work good.

我从Mac断开设备的连接后,尝试按设备上的应用程序图标运行应用程序并崩溃了

After i disconnect device from my mac, and try run app by press app icon on device and got crash

Exception Type:  EXC_CRASH (SIGABRT)
Exception Codes: 0x0000000000000000, 0x0000000000000000
Triggered by Thread:  0

Thread 0 name:  Dispatch queue: com.apple.main-thread
Thread 0 Crashed:
0   libsystem_kernel.dylib          0x0000000197747270 __pthread_kill + 8
1   libsystem_pthread.dylib         0x00000001977e516c pthread_kill + 108
2   libsystem_c.dylib               0x00000001976beb14 abort + 108
3   ...g_rt.asan_ios_dynamic.dylib  0x00000001019d56d0 0x101984000 + 333520
4   ...g_rt.asan_ios_dynamic.dylib  0x00000001019c955c 0x101984000 + 283996
5   ...g_rt.asan_ios_dynamic.dylib  0x00000001019ccf28 0x101984000 + 298792
6   ...g_rt.asan_ios_dynamic.dylib  0x00000001019c9640 0x101984000 + 284224
7   ...g_rt.asan_ios_dynamic.dylib  0x00000001019cd0e8 0x101984000 + 299240
8   ...g_rt.asan_ios_dynamic.dylib  0x00000001019bef50 0x101984000 + 241488
9   ...g_rt.asan_ios_dynamic.dylib  0x00000001019c8d18 0x101984000 + 281880
10  dyld                            0x0000000120095234 ImageLoaderMachO::doModInitFunctions(ImageLoader::LinkContext const&) + 256
11  dyld                            0x00000001200953ec ImageLoaderMachO::doInitialization(ImageLoader::LinkContext const&) + 32
12  dyld                            0x0000000120091688 ImageLoader::recursiveInitialization(ImageLoader::LinkContext const&, unsigned int, ImageLoader::InitializerTimingList&, ImageLoader::UninitedUpwards&) + 328
13  dyld                            0x000000012009161c ImageLoader::recursiveInitialization(ImageLoader::LinkContext const&, unsigned int, ImageLoader::InitializerTimingList&, ImageLoader::UninitedUpwards&) + 220
14  dyld                            0x00000001200914d8 ImageLoader::processInitializers(ImageLoader::LinkContext const&, unsigned int, ImageLoader::InitializerTimingList&, ImageLoader::UninitedUpwards&) + 136
15  dyld                            0x00000001200917a0 ImageLoader::runInitializers(ImageLoader::LinkContext const&, ImageLoader::InitializerTimingList&) + 80
16  dyld                            0x0000000120086150 dyld::initializeMainExecutable() + 196
17  dyld                            0x00000001200898bc dyld::_main(macho_header const*, unsigned long, int, char const**, char const**, char const**, unsigned long*) + 2664
18  dyld                            0x0000000120085040 _dyld_start + 64

如何理解哪个库导致崩溃?

How to understand what library gives a crash?

ObjectiveC上的项目,使用CoreData,RestKit, MagicalRecord,FacebookSDK,GoogleSDK,VKSdk,Fabric(Crashlytics和T witter)

Project on ObjectiveC, use CoreData, RestKit, MagicalRecord, FacebookSDK, GoogleSDK, VKSdk, Fabric (Crashlytics and Twitter)

推荐答案

是的,它被称为:欢迎使用Apple。

Yeah, it's calls: "Welcome from Apple".

您怎么知道XCode 7赋予了使用AddressSenitizer的新机会!

How you know XCode 7 give use new opportunity AddressSenitizer!

因此请记住禁用,如果您要在没有连接设备的情况下运行应用程序来调试XCode模式。

So remember DISABLE it's if you want run app without connected device to debug XCode mode.

这篇关于使用XCode 7部署的运行应用程序崩溃的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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