Application Crashing at runtime

Asked

Viewed 46 times

0

I created three apps on Swift, they were working normally, but from a while they stopped and I can’t identify the error. I’ve done a lot of research and I can’t seem to figure it out. They work in the emulator, but when I try to install in the iPhone, they break and generate the log below:

Can someone help me?!

Hugs.

Incident Identifier: 43291A73-37F3-404A-9BF4-ED2172C3EA6A
CrashReporter Key:   94379fae224c5080d8d8b86dd97daf1c4330192b
Hardware Model:      iPhone5,2
Process:             Alimentar [370]
Path:                /private/var/containers/Bundle/Application/266AC723-76C1-4F53-A03D-AB3BF8C244EE/Alimentar.app/Alimentar
Identifier:          com.prevencao.Alimentar
Version:             1 (1.0)
Code Type:           ARM (Native)
Parent Process:      launchd [1]

Date/Time:           2016-03-24 10:11:21.21 -0300
Launch Time:         2016-03-24 10:11:21.21 -0300
OS Version:          iOS 9.3 (13E233)
Report Version:      105

Exception Type:  EXC_BREAKPOINT (SIGTRAP)
Exception Codes: 0x0000000000000001, 0x00000000e7ffdefe
Triggered by Thread:  0

Filtered syslog:
None found

Dyld Error Message:
Dyld Message: Library not loaded: @rpath/libswiftAVFoundation.dylib
  Referenced from: /var/containers/Bundle/Application/266AC723-76C1-4F53-A03D-AB3BF8C244EE/Alimentar.app/Alimentar
  Reason: no suitable image found.  Did find:
    /private/var/containers/Bundle/Application/266AC723-76C1-4F53-A03D-AB3BF8C244EE/Alimentar.app/Frameworks/libswiftAVFoundation.dylib: mmap() errno=1 validating first page of '/private/var/containers/Bundle/Application/266AC723-76C1-4F53-A03D-AB3BF8C244EE/Alimentar.app/Frameworks/libswiftAVFoundation.dylib'
  Dyld Version: 390.7

Binary Images:
0x9d000 - 0xc0fff Alimentar armv7  <fd5d8051614e3f918feec46e0e661023> /var/containers/Bundle/Application/266AC723-76C1-4F53-A03D-AB3BF8C244EE/Alimentar.app/Alimentar
0x1fe20000 - 0x1fe47fff dyld armv7s  <d96d5b718d2b3c3bad7f17d4e8a3f049> /usr/lib/dyld
  • It seems that it is something related to avfoundation. Try to do a clean and then rebuild the App. Please post the code that generates the error/crash and the line that happens. Tries to add break points to your code to identify where your code is running. Tries to isolate the problem by creating a new project.

  • Leo Dabus thanks so much for the help, I tried to do Clean, but it did not help the problem persists. I will try to debug, as you said, but I am not experienced in programming, maybe I need help debugging. You help me?

  • As I have already said the best and create a new project and test the code Voce thinks Wue is giving the problem separate from the rest. Most of the time when I could not identify the problem recreating the project always solved.

  • Thanks Leo Dabus, I’ll do it.

No answers

Browser other questions tagged

You are not signed in. Login or sign up in order to post.