{"id":15178556,"url":"https://github.com/apache/cordova-node-xcode","last_synced_at":"2025-05-15T15:04:35.769Z","repository":{"id":19851447,"uuid":"87614951","full_name":"apache/cordova-node-xcode","owner":"apache","description":"Apache cordova","archived":false,"fork":false,"pushed_at":"2024-07-08T13:57:41.000Z","size":1282,"stargazers_count":201,"open_issues_count":45,"forks_count":99,"subscribers_count":21,"default_branch":"master","last_synced_at":"2025-05-08T14:41:56.031Z","etag":null,"topics":["cordova","cplusplus","csharp","java","javascript","library","mobile","nodejs","objective-c"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","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/apache.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","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":"AUTHORS","dei":null,"publiccode":null,"codemeta":null}},"created_at":"2017-04-08T07:00:06.000Z","updated_at":"2025-04-24T05:10:50.000Z","dependencies_parsed_at":"2023-01-11T20:37:54.426Z","dependency_job_id":"66c1ed1e-43ac-4875-9868-598ad9400af8","html_url":"https://github.com/apache/cordova-node-xcode","commit_stats":{"total_commits":328,"total_committers":61,"mean_commits":5.377049180327869,"dds":0.7164634146341464,"last_synced_commit":"c491d3a26f11ae63c566ae50fbd44e844f448724"},"previous_names":[],"tags_count":12,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/apache%2Fcordova-node-xcode","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/apache%2Fcordova-node-xcode/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/apache%2Fcordova-node-xcode/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/apache%2Fcordova-node-xcode/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/apache","download_url":"https://codeload.github.com/apache/cordova-node-xcode/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":253850304,"owners_count":21973661,"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","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":["cordova","cplusplus","csharp","java","javascript","library","mobile","nodejs","objective-c"],"created_at":"2024-09-27T15:05:26.001Z","updated_at":"2025-05-15T15:04:35.751Z","avatar_url":"https://github.com/apache.png","language":"JavaScript","readme":"\u003c!--\n#\n# Licensed to the Apache Software Foundation (ASF) under one\n# or more contributor license agreements.  See the NOTICE file\n# distributed with this work for additional information\n# regarding copyright ownership.  The ASF licenses this file\n# to you under the Apache License, Version 2.0 (the\n# \"License\"); you may not use this file except in compliance\n# with the License.  You may obtain a copy of the License at\n#\n# http://www.apache.org/licenses/LICENSE-2.0\n#\n# Unless required by applicable law or agreed to in writing,\n# software distributed under the License is distributed on an\n# \"AS IS\" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY\n#  KIND, either express or implied.  See the License for the\n# specific language governing permissions and limitations\n# under the License.\n#\n--\u003e\n\n# cordova-node-xcode\n\n[![NPM](https://nodei.co/npm/xcode.png?compact=true)](https://nodei.co/npm/xcode/)\n\n[![Node CI](https://github.com/apache/cordova-node-xcode/workflows/Node%20CI/badge.svg?branch=master)](https://github.com/apache/cordova-node-xcode/actions?query=branch%3Amaster)\n\nParser utility for xcodeproj project files\n\nAllows you to edit xcodeproject files and write them back out.\n\nbased on donated code from [alunny / node-xcode](https://github.com/alunny/node-xcode)\n\n## Example\n\n```js\n// API is a bit wonky right now\nvar xcode = require('xcode'),\n    fs = require('fs'),\n    projectPath = 'myproject.xcodeproj/project.pbxproj',\n    myProj = xcode.project(projectPath);\n\n// parsing is async, in a different process\nmyProj.parse(function (err) {\n    myProj.addHeaderFile('foo.h');\n    myProj.addSourceFile('foo.m');\n    myProj.addFramework('FooKit.framework');\n   \n    fs.writeFileSync(projectPath, myProj.writeSync());\n    console.log('new project written');\n});\n```\n\n## Working on the parser\n\nIf there's a problem parsing, you will want to edit the grammar under\n`lib/parser/pbxproj.pegjs`. You can test it online with the PEGjs online thingy\nat https://pegjs.org/online - I have had some mixed results though.\n\nTests under the `test/parser` directory will compile the parser from the\ngrammar. Other tests will use the prebuilt parser (`lib/parser/pbxproj.js`).\n\nTo rebuild the parser js file after editing the grammar, run:\n\n    npm run pegjs\n\n(and be sure to restore the Apache license notice in\n`lib/parser/pbxproj.js` before committing)\n\n## License\n\nApache V2\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fapache%2Fcordova-node-xcode","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fapache%2Fcordova-node-xcode","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fapache%2Fcordova-node-xcode/lists"}