{"id":19773950,"url":"https://github.com/badoo/ios-device-server","last_synced_at":"2025-08-11T02:04:47.409Z","repository":{"id":37334652,"uuid":"133063088","full_name":"badoo/ios-device-server","owner":"badoo","description":"A server to manage remote iOS simulators and devices for parallel testing","archived":false,"fork":false,"pushed_at":"2025-08-08T23:18:58.000Z","size":1952,"stargazers_count":47,"open_issues_count":3,"forks_count":11,"subscribers_count":14,"default_branch":"dev","last_synced_at":"2025-08-09T01:10:40.357Z","etag":null,"topics":["ios","test-automation"],"latest_commit_sha":null,"homepage":"","language":"Kotlin","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/badoo.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2018-05-11T16:25:41.000Z","updated_at":"2025-03-11T15:26:54.000Z","dependencies_parsed_at":"2023-01-29T00:31:32.727Z","dependency_job_id":"c10129c0-7ef6-4c7b-86f2-d1594df85e22","html_url":"https://github.com/badoo/ios-device-server","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/badoo/ios-device-server","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/badoo%2Fios-device-server","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/badoo%2Fios-device-server/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/badoo%2Fios-device-server/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/badoo%2Fios-device-server/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/badoo","download_url":"https://codeload.github.com/badoo/ios-device-server/tar.gz/refs/heads/dev","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/badoo%2Fios-device-server/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":269819032,"owners_count":24480087,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-08-11T02:00:10.019Z","response_time":75,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["ios","test-automation"],"created_at":"2024-11-12T05:11:35.222Z","updated_at":"2025-08-11T02:04:47.383Z","avatar_url":"https://github.com/badoo.png","language":"Kotlin","funding_links":[],"categories":[],"sub_categories":[],"readme":"# iOS Remote Device Server [![Build Status](https://travis-ci.org/badoo/ios-device-server.svg?branch=master)](https://travis-ci.org/badoo/ios-device-server)\n\nA server for managing, booting, and controlling simulators and devices on remote host machines.\n\n## Features\n- Enables control of simulators and devices connected to remote host machines\n- Enables tests to run using remote simulators and devices\n- Enables custom actions on simulators like clearing safari cookies or fast reset of a simulator\n- Hides away satisfying desired capabilities, i.e. based on requested model or os will choose an appropriate host to create a simulator\n\n## Requirements\n### Java\n* [Download](http://google.com/#q=download+java+se) and install Java SDK 10\n* set environment variable JAVA_HOME\n```bash\nexport JAVA_HOME=$(/usr/libexec/java_home -v 10 -F)\n```\n\n### Dependencies\n\nDevice Server uses fbsimctl, libimobiledevice and other tools under the hood.\n\nTo install dependencies run:\n\n```bash\nbrew update\nbrew bundle\n```\n\n#### Simulators\n\nIt might take some time to build dependencies used for physical devices. You can skip it by running following instead:\n\n```bash\nbrew update\nbrew bundle --file=\"homebrew/Brewfile\"\n```\n\n#### Devices\n\nSome of the dependencies needed for physical devices have outdated stable releases and have to be installed from the latest head.\n\nAfter installing Brewfile you might still need to run\n\n```bash\nbrew upgrade usbmuxd libimobiledevice --fetch-HEAD\n```\n\n## Usage\n\nBuild and run Device Server\n```bash\n./bootstrap.sh\ncd device-server\n./run_device_server.sh\n``` \n\nAllocate Device\n```bash\ncurl -X POST -d '{\"model\":\"iPhone 6\", \"headless\":false}' http://localhost:4567/devices\n```\n\nQuery Device Server\n```bash\ncurl http://localhost:4567/status\ncurl http://localhost:4567/devices\n```\n\nRelease device by reference\n```bash\ncurl -X DELETE http://localhost:4567/devices/${DEVICE_REF}\n```\n\nRuby sample\n```ruby\nrequire 'ios-device-server-client/remote_device'\n\nserver_url = 'http://localhost:4567'\n\nprovider = IosDeviceServerClient::DeviceProvider.new(server_url)\n\nrv = provider.create(model: 'iPhone 6', os: 'iOS 11.4', headless: false)\nremote_device = IosDeviceServerClient::RemoteDevice.new(server_url, rv['ref'])\n\nbegin\n  remote_device.await(timeout: 30)\n  remote_device.open_url('https://github.com/badoo/ios-device-server')\n  readline\nensure\n  remote_device.release\nend\n```\n\n\n- [ ] command line utility will be published soon\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbadoo%2Fios-device-server","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbadoo%2Fios-device-server","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbadoo%2Fios-device-server/lists"}