README.md 1.25 KB
Newer Older
June's avatar
June committed
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
# iOS Tools for Windows

This project provides a Windows binary distribution of [libimobiledevice](https://github.com/libimobiledevice/libimobiledevice) and it's associated tools.

With these tools, you can deploy and run `.ipa` files from the command line on Windows, as well as stream logs and inspect devices.

## Prerequisites

You will need a copy of the iPhone Developer Disk, which can be obtained in one of 3 ways:

- Locate XCode on a Mac, and copy the DMG out of the application package.
- Download the XCode archive from the Apple Developer site, and extract the DMG out of the application.
- Download the DMG files directly from https://github.com/Yatko/iOS-device-support-files.

Once you have the DMG and signature for your target device, run:

```
ideviceimagemounter <PATH TO DMG>
```

## Deploying an IPA file

To deploy an IPA file, use:

```
ideviceinstaller --install <PATH TO IPA>
```

## Running an application

To run an application, use:

```
idevicedebug run <BUNDLE ID>
```

Note that this will not give you most logs from the application, so separately you should also do:

```
idevicesyslog --process <PROCESS ID>
```

An example, with each command being run in it's own window:

```
idevicedebug run com.example.MyApp
idevicesyslog --process MyApp
```