Skip to content

fix(macos): add Xcode project configuration#2831

Open
tido64 wants to merge 1 commit into
trunkfrom
tido/macos/config
Open

fix(macos): add Xcode project configuration#2831
tido64 wants to merge 1 commit into
trunkfrom
tido/macos/config

Conversation

@tido64

@tido64 tido64 commented Jun 25, 2026

Copy link
Copy Markdown
Member

Description

This is currently unused by react-native-macos but will be used in the future: microsoft/react-native-macos#2995

Platforms affected

  • Android
  • iOS
  • macOS
  • visionOS
  • Windows

Test plan

n/a

This is currently unused by `react-native-macos` but will be used in the
future: microsoft/react-native-macos#2995
@github-actions github-actions Bot added the platform: macOS This affects macOS label Jun 25, 2026
"source": "example/metro.config.js"
},
"react-native.config.js": "const project = (() => {\\n try {\\n const { configureProjects } = require(\\"react-native-test-app\\");\\n return configureProjects({\\n android: {\\n sourceDir: \\"android\\",\\n },\\n ios: {\\n sourceDir: \\"ios\\",\\n },\\n windows: {\\n sourceDir: \\"windows\\",\\n solutionFile: \\"windows/Test.sln\\",\\n },\\n });\\n } catch (_) {\\n return undefined;\\n }\\n})();\\n\\nmodule.exports = {\\n ...(project ? { project } : undefined),\\n};\\n",
"react-native.config.js": "const project = (() => {\\n try {\\n const { configureProjects } = require(\\"react-native-test-app\\");\\n return configureProjects({\\n android: {\\n sourceDir: \\"android\\",\\n },\\n ios: {\\n sourceDir: \\"ios\\",\\n },\\n macos: {\\n sourceDir: \\"macos\\",\\n },\\n windows: {\\n sourceDir: \\"windows\\",\\n solutionFile: \\"windows/Test.sln\\",\\n },\\n });\\n } catch (_) {\\n return undefined;\\n }\\n})();\\n\\nmodule.exports = {\\n ...(project ? { project } : undefined),\\n};\\n",

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What's up with the \n's ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

platform: macOS This affects macOS

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants