{"id":51289444,"url":"https://github.com/kohlschutter/xcesp","last_synced_at":"2026-06-30T09:02:07.910Z","repository":{"id":363328867,"uuid":"1262817790","full_name":"kohlschutter/xcesp","owner":"kohlschutter","description":"ESP-IDF development with Xcode","archived":false,"fork":false,"pushed_at":"2026-06-08T12:26:02.000Z","size":243,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-06-08T13:24:15.895Z","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":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/kohlschutter.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"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,"notice":"NOTICE","maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2026-06-08T10:55:04.000Z","updated_at":"2026-06-08T12:26:06.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/kohlschutter/xcesp","commit_stats":null,"previous_names":["kohlschutter/xcesp"],"tags_count":null,"template":false,"template_full_name":null,"purl":"pkg:github/kohlschutter/xcesp","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kohlschutter%2Fxcesp","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kohlschutter%2Fxcesp/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kohlschutter%2Fxcesp/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kohlschutter%2Fxcesp/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/kohlschutter","download_url":"https://codeload.github.com/kohlschutter/xcesp/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kohlschutter%2Fxcesp/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34959509,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-30T02:00:05.919Z","response_time":92,"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":"2026-06-30T09:02:07.201Z","updated_at":"2026-06-30T09:02:07.899Z","avatar_url":"https://github.com/kohlschutter.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"### xcesp: ESP-IDF development with Xcode\n\n# xcesp\n\nxcesp provide shim scripts that allow building ESP-IDF compatible projects from within Xcode,\nusing Espressif's clang toolchain, also supporting Xcode's built-in Apple Intelligence features\n(via Claude, Ollama, etc.)\n\nXcode projects are automatically maintained from existing CMake files.\n\nSee the corresponding [blog post for details](https://kohlschuetter.github.io/blog/posts/2026/06/08/xcode-esp/).\n\n\u003cfigure\u003e\u003cimg src=\"img/xcode.jpg\" width=\"800\" style=\"max-width: 90%\" /\u003e\u003c/figure\u003e\n\n# Mode of operation\n\nThe main \"xcesp\" script is used to setup and maintain an Xcode project for an existing ESP-IDF\nCMake project.\n\nA custom \"Xcode Toolchain\" provides shim scripts for clang/clang++, libtool and lipo, so they\ndo the right thing: while Xcode thinks we're developing for MacOS DriverKit, we actuallly run\nthe very same clang incantations `idf.py` would do. \n\n# Installation and usage\n\nIn order to use xcesp, you need to run the installer script, which adds `xcesp` to the PATH, and\nsets up symbolic links for the toolchain and ESP-IDF SDK.\n\n    ./xcesp-install\n\nYou will need [ESP-IDF 6.0](https://github.com/espressif/esp-idf) or later installed on your system, with IDF_PATH set up correctly during install.\n\nTo open or create an Xcode project for a given ESP-IDF project, just `cd` to that project directory\nand run `xcesp. For example,\n\n    cd $IDF_PATH/examples/get-started/blink\n    \n    # If `sdkconfig` does not yet exist, configure the ESP target device first\n    xcesp --set-target esp32s2\n    \n    # otherwise just run without arguments (this can also be used to simply open the Xcode project later on)\n    #xcesp\n\nAn Xcode window should open with \"__idf_main\"/\"My Mac (DriverKit) as the Scheme and Device Target.\nYour main code can be found under `__idf_main`; use Xcodes `Filter` pane at the bottom  of the page to quickly find it.\n\nAll xcesp/Xcode related artifacts are stored under `build-xcesp` folder next to ESP-IDF's standard\n`build` folder. Run `xcesp -f` to forcibly rebuild that folder (which is usually not necessary, but still...)\n\n`xcesp` has several other command-line options (visible via `xcesp --help`):\n\n    Syntax: xcesp [--help|OPTIONS] [\u003cpath-to-IDF-project\u003e]\n    \n    OPTIONS:\n            --set-target TARGET Set the ESP device target (invokes idf.py set-target)\n            -t TARGET\n    \n            --menuconfig        Run idf.py menuconfig before setting up the Xcode project\n            -m\n    \n            --force             Create the \"build-xcesp\" directory from scratch.\n            -f                  In combination with \"--set-target\", also deletes the \"build\" directory\n    \n            --flash             Flashes the binary to the device (using idf.py)\n    \n            --xcbuild           Build the project using xcodebuild\n            -x\n    \n            --watch             Display serial output from the device (using idf.py monitor)\n            -w                  Exit with CTRL-]\n    \n            --no-open           Do not automatically open the Xcode project\n            -O\n    \n            --open              Automatically open the Xcode project, even if we wouldn't\n            -o                  (e.g., when specifying --monitor, --flash, --xcbuild)\n    \n            --scheme SCHEME     Use SCHEME as the build scheme for xcodebuild\n            -s                  (default: ALL_BUILD)\n    \n            --same-derived-data Use the same DerivedData folder for interactive Xcode and xcodebuild\n    \n            --idf COMMAND       Run the specific idf command\n            -i COMMAND\n\n\n# Legal Notices\n\nCopyright 2026 Christian Kohlschütter\n\nSPDX-License-Identifier: Apache-2.0\u003cbr /\u003e\nSee NOTICE and LICENSE for license details.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkohlschutter%2Fxcesp","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkohlschutter%2Fxcesp","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkohlschutter%2Fxcesp/lists"}