Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up

IdbClient is kotlin-like client, created to connect and control Apple devices and simulators

License

NotificationsYou must be signed in to change notification settings

SergKhram/IdbClient

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Maven CentralLicense

It is the way to get access to the idb programmatically, using kotlin. You can control Apple devices and simulators fromyour code with this client, which creates a connection to them by grpc. All you need to set up is to install the idb companion(https://fbidb.io/docs/installation) on your Mac and run it. You can use idb client connection from any architecture.

Functionality

We provide commands' wrappers to functionality of idb companion(you can check the full list herehttps://fbidb.io/docs/commands)

How to

  1. Import library from maven:
<dependency>  <groupId>io.github.sergkhram</groupId>  <artifactId>idbclient</artifactId>  <version>0.0.5-RELEASE</version></dependency>
  1. Create idbClient:
val idb = IOSDebugBridgeClient()
  1. Connect companion:
val udid = idb.connectToCompanion(TcpAddress("127.0.0.1", 10882))
  1. Execute request:
val result = idb.execute(    LogRequest(        predicate = {false},         timeout = Duration.ofSeconds(10)    ),    udid)result.forEach(::println)

LICENSE

Licensed under the Apache License, Version 2.0 (the "License");you may not use this file except in compliance with the License.You may obtain a copy of the License at   http://www.apache.org/licenses/LICENSE-2.0Unless required by applicable law or agreed to in writing, softwaredistributed under the License is distributed on an "AS IS" BASIS,WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.See the License for the specific language governing permissions andlimitations under the License.

About

IdbClient is kotlin-like client, created to connect and control Apple devices and simulators

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages


[8]ページ先頭

©2009-2025 Movatter.jp