testing - Test Coverage via command line Xcode 5.1 -


i have unit tests in xcode 5.1, ios7.1, when run them via test command within xcode can see gcda , gcdo files generated in appropriate place. when invoke test command via command line gcdo files. must __gcov_flush method needs called generate files (i put logs in flush method see in gui logs not terminal logs). used these questions

i have followed usual advice , set

generate test coverage files: yes instrument program flow: yes 

at project level.

my command:

xcodebuild -workspace "$workspace" -scheme "$scheme" -configuration debug -sdk $iphonesimulator_version only_active_arch=yes  clean build test 

is there reason why work within xcode not via command line?


Comments

Popular posts from this blog

user interface - How to replace the Python logo in a Tkinter-based Python GUI app? -

android - Get AccessToken using signpost OAuth without opening a browser (Two legged Oauth) -

org.mockito.exceptions.misusing.InvalidUseOfMatchersException: mockito -