Questions tagged [xctool]

xctool is a replacement for Apple's xcodebuild that makes it easier to build and test iOS and Mac projects.

xctool is a replacement for 's that makes it easier to build and test and projects.

xctool is drop-in replacement for xcodebuild that adds a few extra features:

  • Runs the same tests as Xcode.app.
  • Structured output of build and test results.
  • Human-friendly, ANSI-colored output.
  • Faster, parallelized test runs.

For a fully-featured version, the Command Line Tools should be installed. xctool's commands and options are mostly a superset of xcodebuild's. In most cases,xcodebuild can just be swapped with xctool and things will run as expected but with more attractive output.

You should be using this tag if your question is related to the use of xctool for iOS and Mac projects.

53 questions
0
votes
1 answer

Testing without simulator using xctool

I'm trying to run unit tests without the simulator using xctool. I set the 'Host Application' to None in the test target's General tab, following the directions from this comment . When I run xctool -project MyProject.xcodeproj/ -scheme MyProject…
elce
  • 264
  • 4
  • 16
0
votes
1 answer

Running xctool run-tests without building tests on machine

I would like to run my tests using xctool without having to build the tests on the machine prior. Basically, I want to build the tests on one machine, transfer them to several other machines and run them in parallel from there. So I need to know…
mattman88
  • 475
  • 1
  • 8
  • 22
0
votes
1 answer

Invalid Code Signing Entitlements on ITC after code signing with xctool and xcodebuild in build scripts

I'm writing some build scripts for a continuous-integration situation where the code will be deployed on another machine, and needs to be able to build and correctly sign an Xcode Project, followed my a scripted upload to ITC. So far I was able to…
Miro
  • 5,307
  • 2
  • 39
  • 64
0
votes
1 answer

xctool: how can I choose the iphone6 simulator?

I am running test using xctool, and I would like to be able to choose the simulator. I am using the following line: xctool -workspace MyProject.xcworkspace -scheme MyProject test -reporter junit:test-results.xml -reporter teamcity -sdk…
lmiguelvargasf
  • 63,191
  • 45
  • 217
  • 228
0
votes
0 answers

Xcode 6.3.2 manual build and sign gives error on installation: Application signature not valid

When I´m running my automatic (command line) build, sign and upload script for my app, an error occurs when installing the app: 'Application signature not valid'. It worked perfect for years before and stopped working 2 weeks ago (maybe due to Xcode…
stk
  • 6,311
  • 11
  • 42
  • 58
0
votes
1 answer

Test failing when run with XCTool with logicTestBucketSize

I have a project with over 1000 unit test and was thinking to speed up the build by using the xctool's parallelise option. So i turned that on and set logicTestBucketSize to 50. The test run, but some are failing which are not failing when not using…
otusweb
  • 1,638
  • 1
  • 19
  • 30
0
votes
1 answer

how can I specifiy xctool parameters in travis.yaml?

For compiling my objective-c project I need to be able to specify xctool parameters configuration and destination. How can I do this in .travis.yml?
Arnaud
  • 621
  • 2
  • 5
  • 12
0
votes
0 answers

-[TEST_BUNDLE FAILED_TO_START] xctool CocoaPods testing failure

I'm running into a very peculiar issue with testing a new cocoapods repo on Travis-Ci. The build is verified to work on my machine, and the only external deps are specta, and expecta. The build keeps failing with the following errors. [Info]…
1 2 3
4