IOS Simulator session timed out

倖福魔咒の 提交于 2019-12-13 00:45:38

问题


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.


回答1:


Found the answer:

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

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.

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



来源:https://stackoverflow.com/questions/19521720/ios-simulator-session-timed-out

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!