Skip to content

Commit 9183073

Browse files
authored
docs: add Xcode 26.2 and EAS Build requirements (#371)
- Add Xcode 26.2 as strongly recommended prerequisite - Add EAS Build configuration section with iOS build image requirements - Add troubleshooting section for Xcode and EAS build issues
1 parent dd6c33e commit 9183073

3 files changed

Lines changed: 81 additions & 0 deletions

File tree

README.md

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@ The true native bottom sheet experience for your React Native Apps. 💩
3131

3232
- React Native >= 0.76 (Expo SDK 52+)
3333
- New Architecture enabled (default in RN 0.76+)
34+
- Xcode 26.2 (strongly recommended for better library functionality)
3435

3536
### Expo
3637

@@ -45,6 +46,27 @@ yarn add @lodev09/react-native-true-sheet
4546
cd ios && pod install
4647
```
4748

49+
### EAS Build (iOS)
50+
51+
When using [EAS Build](https://docs.expo.dev/build/introduction/) to build your iOS app, you must configure your `eas.json` to use a build image that includes Xcode 26.2. Use `"image": "latest"` or choose from the [available build images](https://docs.expo.dev/build-reference/infrastructure/#ios-server-images):
52+
53+
```json
54+
{
55+
"build": {
56+
"production": {
57+
"ios": {
58+
"image": "latest"
59+
}
60+
},
61+
"development": {
62+
"ios": {
63+
"image": "latest"
64+
}
65+
}
66+
}
67+
}
68+
```
69+
4870
## Documentation
4971

5072
- [Example](example)

docs/docs/install.mdx

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ keywords: [bottom sheet installation, bottom sheet yarn, bottom sheet npm, ios b
1010

1111
- React Native >= 0.76 (Expo SDK 52+)
1212
- New Architecture enabled (default in RN 0.76+)
13+
- Xcode 26.2 (strongly recommended for better library functionality)
1314

1415
:::info
1516
This package is not compatible with [Expo Go](https://docs.expo.dev/get-started/expo-go/). Use this with [Expo CNG](https://docs.expo.dev/workflow/continuous-native-generation/) instead.
@@ -32,3 +33,24 @@ Then install the native dependencies:
3233
```sh
3334
cd ios && pod install
3435
```
36+
37+
## EAS Build (iOS)
38+
39+
When using [EAS Build](https://docs.expo.dev/build/introduction/) to build your iOS app, you must configure your `eas.json` to use a build image that includes Xcode 26.2. Use `"image": "latest"` or choose from the [available build images](https://docs.expo.dev/build-reference/infrastructure/#ios-server-images):
40+
41+
```json
42+
{
43+
"build": {
44+
"production": {
45+
"ios": {
46+
"image": "latest"
47+
}
48+
},
49+
"development": {
50+
"ios": {
51+
"image": "latest"
52+
}
53+
}
54+
}
55+
}
56+
```

docs/docs/troubleshooting.mdx

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -94,3 +94,40 @@ A fix has been submitted to React Native. See [PR #55005](https://github.com/fac
9494
## Weird layout render
9595

9696
The sheet does not have control over how React Native renders components and may lead to rendering issues. To resolve this, try to minimize the use of `flex=1` in your content styles. Instead, use fixed `height` or employ `flexGrow`, `flexBasis`, etc., to manage your layout requirements.
97+
98+
## Build Failures with Xcode or EAS
99+
100+
If you encounter build failures when building your iOS app, it may be due to an incorrect Xcode version or EAS build configuration.
101+
102+
### Xcode Version
103+
104+
The package works better with **Xcode 26.2**. If you're building locally, check your Xcode version:
105+
106+
```sh
107+
xcodebuild -version
108+
```
109+
110+
If you're experiencing issues, we recommend updating to Xcode 26.2.
111+
112+
### EAS Build Configuration
113+
114+
When using [EAS Build](https://docs.expo.dev/build/introduction/), you must configure your `eas.json` to use a build image that includes Xcode 26.2 to build your app. Use `"image": "latest"` or choose from the [available build images](https://docs.expo.dev/build-reference/infrastructure/#ios-server-images):
115+
116+
```json
117+
{
118+
"build": {
119+
"production": {
120+
"ios": {
121+
"image": "latest"
122+
}
123+
},
124+
"development": {
125+
"ios": {
126+
"image": "latest"
127+
}
128+
}
129+
}
130+
}
131+
```
132+
133+
Without this configuration, EAS may use an older build image that doesn't include Xcode 26.2, causing build failures.

0 commit comments

Comments
 (0)