Skip to content
This repository has been archived by the owner on Jan 17, 2019. It is now read-only.

No log file created when using Xcode UI Tests #23

Open
plu opened this issue Feb 20, 2017 · 4 comments
Open

No log file created when using Xcode UI Tests #23

plu opened this issue Feb 20, 2017 · 4 comments

Comments

@plu
Copy link
Owner

plu commented Feb 20, 2017

See discussion here:

dc69f3b

@plu
Copy link
Owner Author

plu commented Feb 26, 2017

So far I cannot reproduce the issue. I've created a sample iOS project, using Xcode's UI tests. The log file is created successfully:

$ run-tests --testrun build/Products/UITestSample_iphonesimulator10.2-i386.xctestrun --destination "name=iPhone 5,OS=iOS 10.2" --output out\ put
...

$ ls -la out\ put/UITestSampleUITests/iOS\ 10.2/iPhone\ 5/UITestSampleUITests-Runner.log
-rw-r--r--  1 plu  staff  8339 Feb 26 08:36 out put/UITestSampleUITests/iOS 10.2/iPhone 5/UITestSampleUITests-Runner.log

I'm on mac OS Sierra 10.12.3 (16D32), using Xcode Version 8.2.1 (8C1002).

@davetobin are you on the same mac OS and Xcode version?

@davetobin
Copy link
Contributor

@plu Thanks for checking this out. I'll start with a clean slate when I get a chance and check this out again. I'm on the same Xcode version but OS Sierra 10.12.2 (16C67). I'll update also. You can close this issue if you like and I can reopen with steps to reproduce if it doesn't work for me.

@davetobin
Copy link
Contributor

@plu Having tried this from scratch on Sierra 10.12.3, it seems I am now getting a log file but it's the UITests-Runner.log file as opposed to the AppName.log that I got previously. Do you know if there's a way to get the app log file like before?

@plu
Copy link
Owner Author

plu commented Mar 4, 2017

I need to investigate this. We could go back to the previous way of obtaining logs, but I'd like to avoid that, if possible.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants