nodejs / nodejs/node-gyp

How to generate xcode project .xcodeproj with rebuild command

Open
#2,263 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Python
Stars
10.7k
Forks
1.9k
Avg merge
1d 4h
Merged PRs (30d)
5

Description

I know command node-gyp configure -- -f xcode can generate .xcodeproj file but I'm not sure how to do the same with rebuild command.

I'm asking this because I'd like to build electron native module alone following guide
https://www.electronjs.org/docs/tutorial/using-native-node-modules#manually-building-for-electron
but it turns out the build folder does not have .xcodeproj

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the node-gyp rebuild command and compare it with node-gyp configure -- -f xcode. Reproduce the build described in the Electron native Node modules guide and inspect whether the build folder contains an .xcodeproj file. Done means documenting or clarifying how to generate that project when rebuilding an Electron native module.

Written by the indexing model from the issue text.

Assessment

Tech stack
electron, macos, node.js
Domain
build-system
Issue type
Documentation
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.