Skip to content

Commit a4e72c8

Browse files
docs: improve brownfield docs (#318)
* typo * docs: clarify brownfield steps * Update ios.md --------- Co-authored-by: Michał Pierzchała <[email protected]>
1 parent 07d7668 commit a4e72c8

File tree

1 file changed

+10
-7
lines changed
  • website/docs/docs/brownfield

1 file changed

+10
-7
lines changed

website/docs/docs/brownfield/ios.md

Lines changed: 10 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -12,15 +12,15 @@ To add React Native to your iOS app, we'll package your React Native code into a
1212
![Framework Target](/brownfield_framework_target.png)
1313
1. Give your framework a unique name. You'll use this name when adding it to your main app
1414
1. Right-click the framework folder and select `Convert to Group`. CocoaPods doesn't work properly with references.
15-
![The menu that appears when user right clicks on the generated framework folder](/brownfield_convert_to_group.png)
15+
![The menu that appears when user right clicks on the generated framework folder](/brownfield_convert_to_group.png). Perform this step for both `<FrameworkName>` and `<FrameworkName>Tests` folders.
1616
1. Set these build settings for your framework:
1717

18-
| Build Setting | Value | What it does |
19-
| ------------------------------- | ----- | ------------------------------------------------------------------------------------------------- |
20-
| Build Libraries for Distibution | YES | Creates a module interface for Swift. Also checks if the framework works with your Xcode version. |
21-
| User Script Sandboxing | NO | Lets scripts modify files, which we need to create the JavaScript bundle. |
22-
| Skip Install | NO | Makes sure Xcode creates the framework files we need. |
23-
| Enable Module Verifier | NO | Skips testing the framework during build, which makes builds faster. |
18+
| Build Setting | Value | What it does |
19+
| -------------------------------- | ----- | ------------------------------------------------------------------------------------------------- |
20+
| Build Libraries for Distribution | YES | Creates a module interface for Swift. Also checks if the framework works with your Xcode version. |
21+
| User Script Sandboxing | NO | Lets scripts modify files, which we need to create the JavaScript bundle. |
22+
| Skip Install | NO | Makes sure Xcode creates the framework files we need. |
23+
| Enable Module Verifier | NO | Skips testing the framework during build, which makes builds faster. |
2424

2525
## 2. Set Up CocoaPods:
2626

@@ -59,6 +59,9 @@ To add React Native to your iOS app, we'll package your React Native code into a
5959
## 5. Create the XCFramework:
6060

6161
1. Add `@rnef/plugin-brownfield-ios` to your project
62+
```
63+
npm install -D @rnef/plugin-brownfield-ios
64+
```
6265
1. Add this to your `rnef.config.mjs`:
6366

6467
```js title="rnef.config.mjs"

0 commit comments

Comments
 (0)