Extracting iOS Runtime Headers and Building a Private API Library with RuntimeBrowser
This guide explains how to update an iOS private library to the latest 15.0 runtime headers by preparing the development environment, cloning and compiling RuntimeBrowser, accessing its built‑in file server, and exporting the file list with wget for constructing a private API library.
Background: The author needed to update an iOS private library originally built for iOS 13.5, but the latest Runtime Headers (iOS 15.0) were unavailable, only version 14.7 could be found.
Preparation: Use macOS >= 11.3, Xcode 13.1, and an iPad running iOS 15.0 as the test device; update the system and Xcode to ensure compatibility with RuntimeBrowser and real‑device compilation.
Steps:
Download the RuntimeBrowser project from GitHub .
Open the OCRuntime.xcodeproj inside the iOS folder, replace the signing team with your own developer account, and build.
Select the connected iPad (or substitute iPad for iPhone) and run the app.
After launch, open the About page to find the embedded web server URL (e.g., http://IP:10000/tree/ ) and browse the file list in a browser.
Export the file list to a local folder using the following command (run on the same LAN and disable any proxy software): wget -P 本地文件夹 -r -t50 http://x.x.x.x:10000/tree/
The export typically takes about 50 minutes; the resulting file list can then be used to assemble the private iOS library without searching GitHub for individual headers.
360 Quality & Efficiency
360 Quality & Efficiency focuses on seamlessly integrating quality and efficiency in R&D, sharing 360’s internal best practices with industry peers to foster collaboration among Chinese enterprises and drive greater efficiency value.
How this landed with the community
Was this worth your time?
0 Comments
Thoughtful readers leave field notes, pushback, and hard-won operational detail here.