iOS Simulator会话超时 [英] IOS Simulator session timed out

查看:58
本文介绍了iOS Simulator会话超时的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试从终端运行UIAutomation,并导致模拟器会话超时".我不知道发生了什么事.

I am trying to run UIAutomation from terminal and getting "simulator session timed out". I have no idea whats going on.

我尽了我所能想到的一切.

I have tried everything on earth i could think of.

推荐答案

找到了答案:

这是由于要构建应用程序的文件夹的许可.

Its due to permission of the folder where the app was getting built.

因此,ios模拟器在用户上下文中运行,我正在使用sudo(具有root权限)构建应用程序.因此,由于有权限,ios模拟器无法访问内部版本.

So, the ios simulator is running in user context and i was building the app using sudo (in root permissions). So, the ios simulator did not have access to the build because of the permissions.

因此,现在,我将整个文件夹设置为所有人,或者使用finder并以其登录状态登录用户.

So, now i set the entire folder to everyone or loggedin user permissions using finder and its working great.

这篇关于iOS Simulator会话超时的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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