Installations
npm install xcode
Releases
Unable to fetch releases
Developer
apache
Developer Guide
Module System
CommonJS
Min. Node Version
>=10.0.0
Typescript Support
No
Node Version
14.2.0
NPM Version
6.14.4
Statistics
196 Stars
404 Commits
98 Forks
20 Watching
12 Branches
73 Contributors
Updated on 25 Nov 2024
Languages
JavaScript (98.28%)
PEG.js (1.5%)
Makefile (0.22%)
Total Downloads
Cumulative downloads
Total Downloads
359,387,215
Last day
-4.2%
328,767
Compared to previous day
Last week
2.8%
1,764,098
Compared to previous week
Last month
12.5%
7,151,320
Compared to previous month
Last year
18.5%
71,256,013
Compared to previous year
Daily Downloads
Weekly Downloads
Monthly Downloads
Yearly Downloads
Dependencies
2
cordova-node-xcode
Parser utility for xcodeproj project files
Allows you to edit xcodeproject files and write them back out.
based on donated code from alunny / node-xcode
Example
1// API is a bit wonky right now 2var xcode = require('xcode'), 3 fs = require('fs'), 4 projectPath = 'myproject.xcodeproj/project.pbxproj', 5 myProj = xcode.project(projectPath); 6 7// parsing is async, in a different process 8myProj.parse(function (err) { 9 myProj.addHeaderFile('foo.h'); 10 myProj.addSourceFile('foo.m'); 11 myProj.addFramework('FooKit.framework'); 12 13 fs.writeFileSync(projectPath, myProj.writeSync()); 14 console.log('new project written'); 15});
Working on the parser
If there's a problem parsing, you will want to edit the grammar under
lib/parser/pbxproj.pegjs
. You can test it online with the PEGjs online thingy
at https://pegjs.org/online - I have had some mixed results though.
Tests under the test/parser
directory will compile the parser from the
grammar. Other tests will use the prebuilt parser (lib/parser/pbxproj.js
).
To rebuild the parser js file after editing the grammar, run:
npm run pegjs
(and be sure to restore the Apache license notice in
lib/parser/pbxproj.js
before committing)
License
Apache V2
No vulnerabilities found.
Reason
no dangerous workflow patterns detected
Reason
no binaries found in the repo
Reason
license file detected
Details
- Info: project has a license file: LICENSE:0
- Info: FSF or OSI recognized license: Apache License 2.0: LICENSE:0
Reason
security policy file detected
Details
- Info: security policy file detected: github.com/apache/.github/.github/SECURITY.md:1
- Info: Found linked content: github.com/apache/.github/.github/SECURITY.md:1
- Info: Found disclosure, vulnerability, and/or timelines in security policy: github.com/apache/.github/.github/SECURITY.md:1
- Info: Found text in security policy: github.com/apache/.github/.github/SECURITY.md:1
Reason
Found 16/27 approved changesets -- score normalized to 5
Reason
8 existing vulnerabilities detected
Details
- Warn: Project is vulnerable to: GHSA-3xgq-45jj-v275
- Warn: Project is vulnerable to: GHSA-h6ch-v84p-w6p9
- Warn: Project is vulnerable to: GHSA-phwq-j96m-2c2q
- Warn: Project is vulnerable to: GHSA-ghr5-ch3p-vcr6
- Warn: Project is vulnerable to: GHSA-9c47-m6qq-7p4h
- Warn: Project is vulnerable to: GHSA-p8p7-x288-28g6
- Warn: Project is vulnerable to: GHSA-c2qf-rxjj-qqgw
- Warn: Project is vulnerable to: GHSA-72xf-g2v4-qvf3
Reason
0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0
Reason
detected GitHub workflow tokens with excessive permissions
Details
- Warn: no topLevel permission defined: .github/workflows/ci.yml:1
- Info: no jobLevel write permissions found
Reason
dependency not pinned by hash detected -- score normalized to 0
Details
- Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/ci.yml:32: update your workflow using https://app.stepsecurity.io/secureworkflow/apache/cordova-node-xcode/ci.yml/master?enable=pin
- Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/ci.yml:35: update your workflow using https://app.stepsecurity.io/secureworkflow/apache/cordova-node-xcode/ci.yml/master?enable=pin
- Warn: third-party GitHubAction not pinned by hash: .github/workflows/ci.yml:49: update your workflow using https://app.stepsecurity.io/secureworkflow/apache/cordova-node-xcode/ci.yml/master?enable=pin
- Info: 0 out of 2 GitHub-owned GitHubAction dependencies pinned
- Info: 0 out of 1 third-party GitHubAction dependencies pinned
Reason
no effort to earn an OpenSSF best practices badge detected
Reason
project is not fuzzed
Details
- Warn: no fuzzer integrations found
Reason
branch protection not enabled on development/release branches
Details
- Warn: branch protection not enabled for branch 'master'
Reason
SAST tool is not run on all commits -- score normalized to 0
Details
- Warn: 0 commits out of 21 are checked with a SAST tool
Score
3.8
/10
Last Scanned on 2024-11-25
The Open Source Security Foundation is a cross-industry collaboration to improve the security of open source software (OSS). The Scorecard provides security health metrics for open source projects.
Learn More