{"id":19690954,"url":"https://github.com/insidegui/srd-xcode-templates","last_synced_at":"2025-08-08T02:19:10.654Z","repository":{"id":257602930,"uuid":"772609244","full_name":"insidegui/srd-xcode-templates","owner":"insidegui","description":"A set of Xcode templates for SRD development","archived":false,"fork":false,"pushed_at":"2025-06-25T12:06:21.000Z","size":276,"stargazers_count":5,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-07-30T14:06:19.113Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-2-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/insidegui.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null},"funding":{"github":"insidegui"}},"created_at":"2024-03-15T14:31:07.000Z","updated_at":"2025-06-25T12:06:24.000Z","dependencies_parsed_at":"2024-09-17T17:46:39.038Z","dependency_job_id":"00a62a66-4f93-49eb-b375-8344544ce74c","html_url":"https://github.com/insidegui/srd-xcode-templates","commit_stats":null,"previous_names":["insidegui/srd-xcode-templates"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/insidegui/srd-xcode-templates","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/insidegui%2Fsrd-xcode-templates","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/insidegui%2Fsrd-xcode-templates/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/insidegui%2Fsrd-xcode-templates/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/insidegui%2Fsrd-xcode-templates/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/insidegui","download_url":"https://codeload.github.com/insidegui/srd-xcode-templates/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/insidegui%2Fsrd-xcode-templates/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":269352057,"owners_count":24402715,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-08-08T02:00:09.200Z","response_time":72,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-11T19:07:31.063Z","updated_at":"2025-08-08T02:19:10.646Z","avatar_url":"https://github.com/insidegui.png","language":"Shell","readme":"\u003e Disclaimer: this project is provided for use within the [Apple Security Research Device Program](https://security.apple.com/research-device/), use for any purpose outside of security research is outside the scope of the project, please don't report issues or request features that are not within that scope.\n\n# SRD Xcode Templates\n\nThis repository provides Xcode templates to facilitate development of custom tools for the SRD, with settings that configure the targets for easy deployment with a research cryptex.\n\n- **Command Line Tool**: template for an adhoc-signed iOS cli executable\n- **Launch Daemon**: template for an adhoc-signed iOS launch daemon\n\n## Prerequisites\n\nAll templates are configured to use my custom [research SDK](https://github.com/insidegui/researchsdk), which allows ad-hoc signing and removes a bunch of unavailability annotations for iOS. If you'd like to use the regular iOS SDK, you can change the build settings after creating your project.\n\nSince Xcode 16.3, specifying the custom SDK by identifier no longer works, so the provided install script will attempt to find the research SDK in the Xcode version that's currently selected (via `xcode-select -s`) then configure the templates to use the research SDK at the correct path. The install script may be run again if the location where Xcode is installed changes in order to update the templates with the new SDK path.\n\n## Installation\n\nTo install the templates, just clone the repo and run the `install` script, or manually copy the `Templates/Research` folder into `~/Library/Developer/Xcode/Templates/`.\n\nRestart Xcode after installing the templates.\n\n## Using the templates\n\nTo create a new project with one of the templates, just go to `File \u003e New \u003e Project`, you'll find the templates in the `iOS` section, scroll to the bottom to find the `Research` section.\n\n![screenshot](./screenshot2.jpg)\n\nAll executable templates include the following:\n\n- A preset Objective-C bridging header, which is often required to interface with SPI\n- A basic `Info.plist` configured with the project's details\n- A basic entitlements plist with commonly-used entitlements for SRD tools\n- Configuration for adhoc signing with the above entitlements\n- `Info.plist` section in the binary\n- Set the [research SDK](https://github.com/insidegui/researchsdk) as the base SDK\n\nThe \"Injected Library\" template:\n\n- Configures the target for the `arm64e` architecture, which is required to inject into system processes on modern devices\n- Includes helpers for interposing and swizzling\n- Automatically configures a singleton `os_log` instance that can be used throughout the injected library for debugging","funding_links":["https://github.com/sponsors/insidegui"],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Finsidegui%2Fsrd-xcode-templates","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Finsidegui%2Fsrd-xcode-templates","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Finsidegui%2Fsrd-xcode-templates/lists"}