Doc for developers
Clone code to local
git clone --depth 5 https://github.com/alibaba/tidevice
Project https://github.com/danielpaulus/go-ios is a golang implementation of ios developer tools.
Use this tools to capture and analysis binary data looks better then what I have done before.
git clone https://github.com/danielpaulus/go-ios
cd go-ios
go build
sudo ./go-ios dproxy
- Retrieve Device Public Key from device
- Generate Host Key
For example
hdiutil mount /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport/14.0/DeveloperDiskImage.dmg
tree /Volumes/DeveloperDiskImage
Build WebDriverAgentRunnerUITests-Runner.app
with the following command. .app
should located in /tmp/derivedDataPath/Release-iphoneos
$ xcodebuild build-for-testing -scheme WebDriverAgentRunner -sdk iphoneos -configuration Release -derivedDataPath /tmp/derivedDataPath
$ cd /tmp/derivedDataPath
$ cd Build/Products/Release-iphoneos # path might be different
# Created folder `Payload` and put `.app` into it
# then compressed to zip, change extention name to `.ipa`. That's all.
$ mkdir Payload && mv *.app Payload
$ zip -r WDA.ipa Payload
# test if ipa is fine
$ tidevice parse WDA.ipa
$ tidevice install WDA.ipa # install to device
- https://www.theiphonewiki.com/wiki/Usbmux
- C implementation https://github.com/libimobiledevice
- Python implement of libimobiledevice: https://github.com/iOSForensics/pymobiledevice
- Apple Device Images: https://github.com/iGhibli/iOS-DeviceSupport
- https://github.com/troybowman/dtxmsg
- https://github.com/troybowman/ios_instruments_client
- Binary of libimobiledevice for Windows http://docs.quamotion.mobi/docs/imobiledevice/
- https://pypi.org/project/hexdump/
- https://github.com/danielpaulus/go-ios