Detox Instruments is a complex project, comprised of several components. Before opening the project make sure your environment meets the following requirements:
- macOS 11
- Xcode 13
The project uses Git submodules for its first- and third-party dependency needs. The easiest way to clone the project is by using the --recurse-submodules -j8 arguments:
git clone --recurse-submodules -j8 https://github.com/LeoNatan/DetoxInstruments.gitIf you’ve already cloned the repo, you can initialize all submodules recursively:
git submodule update --init --recursiveThe project is separated into three main components, which have their own project files:
- Profiler Framework—
Profiler/DTXProfiler.xcodeprojiOS framework for profiling and recording various device metrics and events - Detox Instruments—
DetoxInstruments/DetoxInstruments.xcodeprojmacOS project for the main Detox Instruments app, providing live profiling capabilities, device management, recording documents opening, viewing and data export, and Requests Playgrounds - Shim Profiler Framework—
ProfilerShim/DTXProfilerShim.xcodeprojiOS framework, providing an empty implementation of the Profiler framework, intended as a replacement during build time when the Profiler framework integration is not desired