iOS真机测试种可能遇到的问题

 

1. Reason- image not found

用模拟器是没有问题的,不过在真机好像是有问题,不确定是否是所有机型。

崩溃日志

 

这是镜像找不到,而这里是Pods.framework找不到,而引起的必闪问题。

解决办法

老外的一段话:

Okay, fixed. The issue was the Pods.framework was set to required and not optional. It wasn’t being copied to device by the .sh script and so the app crashed. Setting this to optional fixed the issue.

大概意思是说,这个问题是Pods.framework设置成required而不是optional。在运行时,它会被.sh脚本拷贝到设备上,因此导致app崩溃。将required修改为optional就可以fix这个问题了。

在哪里设置?如下图所示:

image

 

posted @ 2016-03-01 11:39  Coder-LiLe  阅读(221)  评论(0编辑  收藏  举报