# iOS UI Tests

**URL:** <https://discuss.circleci.com/t/ios-ui-tests/2240>\
**Category:** Programming Languages\
**Tags:** ios\
**Created:** [February 20, 2016, 1:52am UTC](https://discuss.circleci.com/t/ios-ui-tests/2240 "2016-02-20T01:52:30Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![jakedunahee](https://avatars.discourse-cdn.com/v4/letter/j/97f17d/32.png) [@jakedunahee](https://discuss.circleci.com/u/jakedunahee)\
**Post date:** [February 20, 2016, 1:52am UTC](https://discuss.circleci.com/t/ios-ui-tests/2240/1 "2016-02-20T01:52:30Z")

</div>

Hi,  
I’m getting the following error when trying to run UI Tests. Each test fails with this error: ‘UI Testing Failure - Failed to get refreshed snapshot’. Any ideas?

machine:  
xcode:  
version: "7.2"  
checkout:  
post:  
- git submodule sync  
- git submodule update --init  
test:  
override:  
- xcodebuild -project Project.xcodeproj  
-sdk iphonesimulator  
-destination ‘platform=iOS Simulator,OS=9.2,name=iPhone 6s’  
-scheme TestApplication  
PLATFORM\_NAME=iphonesimulator  
clean build test | tee $CIRCLE\_ARTIFACTS/xcode\_raw.log |  
xcpretty --color --report junit --output  
post:

Thanks!

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/circleci/original/3X/5/1/511608acda8e85906e15909b57bd0a46c1dbe291.png) [@system](https://discuss.circleci.com/u/system)\
**Post date:** [June 18, 2018, 11:31am UTC](https://discuss.circleci.com/t/ios-ui-tests/2240/2 "2018-06-18T11:31:58Z")

</div>

Closed on June 18, 2018, 11:31am UTC


