Skip to content

Commit 464a791

Browse files
authored
Provide alternative to enabling static framework (#314)
1 parent 99776e5 commit 464a791

File tree

1 file changed

+22
-0
lines changed

1 file changed

+22
-0
lines changed

docs/docs/docs/getting-started/quick-start.mdx

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -84,6 +84,28 @@ You also need to enable static linking for iOS by adding `"useFrameworks": "stat
8484
}
8585
```
8686

87+
Alternatively, you can avoid enabling static linking (which can cause problems with your existing packages) by adding the following in the `expo-build-properties` plugin.
88+
89+
```diff
90+
{
91+
"expo": {
92+
"plugins": [
93+
"react-native-bottom-tabs",
94+
+ [
95+
+ "expo-build-properties",
96+
+ {
97+
+ "ios": {
98+
+ "extraPods": [
99+
+ { name: "SDWebImage", modular_headers: true }, // Work around for not enabling static framework, required for react-native-bottom-tabs
100+
+ { name: "SDWebImageSVGCoder", modular_headers: true }
101+
+ ]
102+
+ }
103+
+ }
104+
+ ]
105+
+ ]
106+
}
107+
}
108+
```
87109

88110
:::warning
89111

0 commit comments

Comments
 (0)