Application crash on startup

My application worked fine, and suddenly I now crash when starting with iOS 8 and the previous OS.

The crash log is as follows:

iPhone kernel[0] <Notice>: xpcproxy[566] Container: /private/var/mobile/Containers/Data/Application/xxxxxx-xxxx-xxxxx-xxxxxxxx (sandbox)

iPhone ReportCrash[567] <Error>: task_set_exception_ports(B07, 400, D03, 0, 0) failed with error (4: (os/kern) invalid argument)

iPhone ReportCrash[567] <Notice>: ReportCrash acting against PID 566

iPhone ReportCrash[567] <Notice>: Formulating crash report for process app_name[566]

iPhone locationd[63] <Notice>: Gesture EnabledForTopCLient: 0, EnabledInDaemonSettings: 0

iPhone com.apple.xpc.launchd[1] (UIKitApplication:com.xxxxx[0xc36c][566]) <Notice>: Service exited due to signal: Trace/BPT trap: 5

iPhone SpringBoard[43] <Warning>: Application 'UIKitApplication:com.xxxxx[0xc36c]' crashed.

iPhone assertiond[57] <Warning>: Could not set priority of <BKNewProcess: 0x16624ab0; com.xxxxx; pid: 566> to 2, priority: No such process

iPhone assertiond[57] <Warning>: Could not set priority of <BKNewProcess: 0x16624ab0; com.xxxxx; pid: 566> to 4096, priority: No such process

I already wondered about this problem, but did not get any exact solution. Please help me as I need to solve this problem as soon as possible. Any help would certainly be appreciated.

Thanks in advance.!!..

+5
source share
2 answers

I had a similar problem.

iPhone ReportCrash [567]: task_set_exception_ports (B07, 400, D03, 0, 0) failed with an error (4: (os / kern) invalid argument)

I tried this to solve my problem and it worked fine.

Go to Project > Build Settings > Search in Swift Compiler > in Optimization Level > set Debug and Release to None [-Onone]

Good luck.

+1
source

I got this crash in the following scenario: there was a shortcut on the Main Story label and its link was in one of the controllers. But in the View controller class, the IBOutlet UILable was not created, but in the story panel I tried to connect it to UILable (which was not connected properly).

Solving the above, the problem is fixed.

0
source

Source: https://habr.com/ru/post/1205660/


All Articles