公司的一个项目,有一段时间没用了,今天一打开就闪退,ios端这边几乎都这样,请问是什么原因?
用xcode 运行没问题,不奔溃,用第三方工具也收集不到奔溃报告
天蓬老师2017-04-17 15:47:53
No one knows your specific reason for not posting crash records.
Such a situation is generally a problem with API data processing. One of our projects had such a situation before, and it crashed due to special data under special circumstances.
建议你用Xcode打开你们公司的项目运行,查看Crash描述做对应的修改。
PHP中文网2017-04-17 15:47:53
There are two possibilities for this,
1. The logic is different
It may be that the logic in the release environment is different from that in the debug environment. You can try to modify it here to run it with the same config as your online environment to see if there are any problems.
2. It may be that the dirty data delivered by the server has been stored locally, causing the cache to be loaded from the local during startup, causing a crash. The reason why local debugging does not appear in this case is that dirty data cannot be reproduced. For this kind of problem, you need to crash files everywhere, then symbolize them to see where the crash is, then find out the cause and fix it. Or back up the app and document directory of the device that crashed. Cover it into the directory of your own emulator APP. It should be possible to reproduce.
Recommended part-time jobs for engineers, click on my avatar for details