Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

XCode Continuous Integration

I use new XCode Continuous Integration service running on Mac OS X 10.9. with using Mac OS X Server.

So I created new bot with testing target: Run tests on All Simulators (Without any devices)

After integration I receive such an error:

Integration failed. The bot was unable to find or use one of the devices on which it is configured to integrate.

How can this problem be solved? I do not want to connect any devices to server for integration testing.

Thanks in advance,

like image 856
B.S. Avatar asked Nov 12 '22 19:11

B.S.


1 Answers

Does the app you're testing support all devices? Try setting up the bot for "Specific Devices" and choose a simulator you have built to. Also make sure current code changes are pushed to the repository the Xcode server pulls from.

EDIT 11/19/13

  1. On your server machine, make sure you have the latest Xcode release installed (currently 5.0.2).

  2. Open Xcode and configure the Preferences, in Downloads, to install the command line tools, and be sure you have downloaded/installed a Simulator you want to test against. If you're building for iOS 6.1, for example, you'll need to install the simulator.

  3. In your Mac OS X Server Xcode admin panel, in the "Builds" section, make sure you choose that Xcode app version. The server will use that Xcode app to do the builds.

  4. When you edit the bot settings, where you configure which devices to test with, choose "Specific Devices" and choose a simulator you have successfully built to on your development machine, for example, choose the iPad Retina (6.1), or whatever your app supports.

If a specific simulator device does not appear in the list of Selected Devices, the simulator is probably not installed on your server machine. See step 2 above.

(Hope this helps)

like image 81
seeker12 Avatar answered Nov 15 '22 07:11

seeker12