You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 3ef471e
Browse filesBrowse the repository at this point in the historyBrowse files
@@ -23,7 +23,7 @@ Use when: you write a PR title or body, add a Changeset, or backport a change. N
23
23
24
24
## Rules
25
25
26
-
-**process.pull-requests.conventional-title:** Write PR titles as Conventional Commits, such as `fix(textinput): handle focus correctly`. CI lints the title with `@rnx-kit/commitlint-lite`.
26
+
-**process.pull-requests.conventional-title:** Write PR titles as Conventional Commits, such as `fix(textinput): handle focus correctly`. When adding a scope, prefer a component or feature; `macos` is redundant in this fork. CI lints the title with `@rnx-kit/commitlint-lite`.
27
27
-**process.pull-requests.fill-template:** Fill in the template's `## Summary:` and `## Test Plan:` sections. The Test Plan lists each exact command you ran with its result, plus screenshots for UI changes.
28
28
-**process.pull-requests.changesets-for-stable:** Add a Changeset with `yarn change` only when the PR targets a `*-stable` branch. PRs into `main` don't need one.
@@ -22,33 +21,33 @@ Use when: you build or run RNTester-macOS, or you need to prove a native macOS c
22
21
23
22
## Rules
24
23
25
-
-**testing.rntester-macos.build-like-ci:**Install Pods with `RCT_NEW_ARCH_ENABLED=1` and build through `.ado/scripts/xcodebuild.sh`, as CI does. Report the exact commands you ran and their result.
26
-
-**testing.rntester-macos.open-workspace:**Open`packages/rn-tester/RNTesterPods.xcworkspace`, not the `.xcodeproj`. CocoaPods generates the workspace.
24
+
-**testing.rntester-macos.build-like-ci:**Follow the [RNTester build workflow](../../../.github/workflows/microsoft-build-rntester.yml) for the current runner, toolchain versions, dependency setup, and build commands. If building with CocoaPods, install Pods with `RCT_NEW_ARCH_ENABLED=1`. Report the exact commands you ran and their result.
25
+
-**testing.rntester-macos.open-workspace:**If building with CocoaPods, open`packages/rn-tester/RNTesterPods.xcworkspace`, not the `.xcodeproj`. CocoaPods generates the workspace.
27
26
28
27
## Procedure
29
28
29
+
For CI-equivalent steps, use the [RNTester build workflow](../../../.github/workflows/microsoft-build-rntester.yml).
yarn start # Metro, in a second terminal, before you launch the app
37
36
```
38
37
38
+
Start Metro in a second terminal before launching the app.
39
+
39
40
## Facts
40
41
41
-
- CI builds three schemes on a `macos-26` runner: `RNTester-macOS` (`macosx`), `RNTester` (`iphonesimulator`), and `RNTester-visionOS` (`xrsimulator`). It builds them but runs no native tests.
42
-
- Each scheme builds with static libraries and with `USE_FRAMEWORKS=dynamic`. Dynamic builds are still in progress and don't fail the check.
43
-
- The wrapper passes `CODE_SIGNING_ALLOWED=NO`, writes derived data next to the workspace, and installs `xcbeautify` with Homebrew if it's missing. Set `USE_CCACHE=1` to build through ccache.
44
-
- The Podfile needs cmake and installs it with Homebrew if it's missing. It builds for iOS, macOS, and visionOS.
42
+
- The [RNTester build workflow](../../../.github/workflows/microsoft-build-rntester.yml) is the source of truth for the CI runner, schemes, SDKs, and build configuration.
43
+
- When using CocoaPods, the Podfile requires cmake and installs it with Homebrew if it's missing and Homebrew is available. It builds for iOS, macOS, and visionOS.
45
44
- The macOS example list re-exports the iOS list, so an example added to the iOS list also appears on macOS.
46
45
47
46
## Pitfalls
48
47
49
-
-After you change native dependencies or switch branches, run `pod install` again before building.
48
+
-When building with CocoaPods, run `pod install` again after changing native dependencies or switching branches.
50
49
- A green macOS build doesn't prove iOS or visionOS still compile. When you change shared Apple code, build the `RNTester` scheme with `iphonesimulator` too.
51
50
52
51
## Verify
53
52
54
-
The wrapper exits 0 when the build succeeds, and the app launches with Metro running.
53
+
The build succeeds, and the app launches with Metro running.
0 commit comments