-
Notifications
You must be signed in to change notification settings - Fork 273
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
8725084
commit a3b65f1
Showing
2 changed files
with
6 additions
and
31 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,30 +1,20 @@ | ||
# iOS Device Config | ||
|
||
A wrapper around idb to communicate with iOS devices. | ||
A wrapper around `simctl` and XCTest to communicate with iOS devices. | ||
|
||
## Prerequisites | ||
|
||
### idb | ||
To test on iOS devices you need to install [Facebook's idb tool](https://fbidb.io/). | ||
|
||
### Xcode | ||
Install Xcode 13 (command line tools are not enough, install the full IDE). | ||
|
||
Install the latest Xcode (Command Line Tools are not enough, install the full IDE). | ||
|
||
### IntelliJ setup | ||
If you are working with this module, update your IntelliJ config (Help -> Edit Custom Properties) by including the following lines: | ||
|
||
If you are working with this subproject, update your IntelliJ config (Help -> Edit Custom Properties) by including the following lines: | ||
|
||
``` | ||
# Needed for working with idb.proto definition | ||
idea.max.intellisense.filesize=4000 | ||
``` | ||
|
||
Restart the IDE | ||
|
||
## Testing on iOS devices | ||
|
||
1. List the devices with `idb_companion --list 1` | ||
2. Pick a simulator from the list and note its UDID | ||
3. Launch the simulator with `idb_companion --boot {udid}` | ||
4. Connect to the simulator with `idb_companion --udid {udid}` | ||
|
||
You are good to go! | ||
Then restart the IDE. |