简体   繁体   中英

how to setup appium for iOS simulator?

I was trying to setup appium for iOS automated testing, but I keep getting this error while running ./reset.sh

does anyone know how to fix the issue?

Running "setConfigVer:ios" (setConfigVer) task
Config file exists, updating it
{"git-sha":"1c004673dcc4a2af7357aff4be72a2da7f9f86bc","ios":{"version":"1.2.3"}}
Done, without errors.
* Installing ios-sim-locale
cp: build/ios-sim-locale: Permission denied
---- FAILURE: reset.sh exited with status 1 ----

Because it is a "Permission denied" error,

try: sudo ./reset.sh --ios ?

I found the issue, for some reason the build folder inside my repo, had the wrong permissions. I simply removed it (it's an empty folder) and mkdir a new one with the same name.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM