org.openqa.selenium.SessionNotCreatedException: A new session could not be created. (Original error: We don't have write access to /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator7.1.sdk/Applications/MobileSafari.app, please re-run authorize as bixiaopeng) (WARNING: The server did not provide any stacktrace information) Command duration or timeout: 308 milliseconds Build info: version: '2.41.0', revision: '3192d8a6c4449dc285928ba024779344f5423c58', time: '2014-03-27 11:29:39' ---------com.intellij.rt.execution.junit.JUnitStarter.prepareStreamsAndStart(JUnitStarter.java:202) at com.intellij.rt.execution.junit.JUnitStarter.main(JUnitStarter.java:65) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at com.intellij.rt.execution.application.AppMain.main(AppMain.java:120) Process finished with exit code 255
Appium 运行iOS用例报错:We don't have write access to /Applications/Xcode.app..
-
最佳答案
- #1
相关推荐
- Appium iOS WebDriverAgent安装时注意(解决appium 报错code 65 问题)
- Appium TS1 - Command failed: error: cannot bind to socket
- Appium A new session could not be created. (Original error: Instruments crashed on startup 问题?
- Appium几个坑的解决经验分享
- Appium 通过INSPECTOR,发现有多个元素的名字都是一样的怎么办?
- error: Failed to start an Appium session, err was: Error: Command failed: dyld: Library not loaded ?
- Appium switch_to.context测试,老是报错,没有context这个attribute问题?
- 怎么启动APPIUM,以保证它与APPIUM SERVER通信?
stady(回复于:2018-03-30 09:03:01)
问题原因:又是权限问题
解决办法:更改Xcode.app的权限
sudo chown -R [username] Xcode.app
Password:
再次运行:
OK