Skip to content

Commit 12d5cd1

Browse files
authored
Readme: add rosetta build troubleshooting (google#387)
1 parent d33433d commit 12d5cd1

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

README.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -210,6 +210,15 @@ Make sure you're using latest version of ios-webkit-debug-proxy
210210
- Check that webinspector switch is enabled (Settings -> Safari -> Advanced -> Web Inspector)
211211
- Most likely simulator's web inspector daemon listens on ipv6 interface, check that you have `::1 localhost` line in `/etc/hosts`
212212

213+
##### Building under Rosetta (OS X)
214+
215+
libimobildevice formulae [depends on](https://github.com/Homebrew/homebrew-core/blob/d6c416caf0622f2aac47742bca679c3510d0b1d9/Formula/libimobiledevice.rb#L30) [email protected], which is key-only and requires the following env paths for the build
216+
217+
```console
218+
export PKG_CONFIG_PATH="/usr/local/opt/[email protected]/lib/pkgconfig"
219+
export LDFLAGS="-L/usr/local/opt/[email protected]/lib"
220+
export CPPFLAGS="-I/usr/local/opt/[email protected]/include"
221+
```
213222

214223
##### If no luck so far...
215224
Lastly, always try replugging in the USB cable.

0 commit comments

Comments
 (0)