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
Copy file name to clipboardExpand all lines: example/README.md
+129-1Lines changed: 129 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -108,6 +108,94 @@ To fix, run the following in the _example app directory_:
108
108
bundle install
109
109
```
110
110
111
+
## Error: `Signing for 'ReactNativeSdkExample' requires a development team. Select a development team in the Signing & Capabilities Editor`
112
+
113
+
- Open XCode
114
+
- Go to 'Signing & Capabilities'
115
+
- Choose a team
116
+
- Stop your application, then rerun
117
+
118
+
If you are still experiencing issues, try deleting `ios/.xcode.env.local`
119
+
120
+
## Error: `/Library/Ruby/Gems/XYZ does not have write permissions` or `/usr/local/lib does not have write permissions`
121
+
122
+
This is a common issue with using ruby on Macs. You can modify the read/write
123
+
access of the computers Ruby folder, but a better (and safer) way is to use
124
+
`rbenv` and [`homebrew`](https://brew.sh/) by doing the following:
125
+
126
+
1.**Install/update homebrew**
127
+
If you have homebrew, update it by running: `brew update && brew upgrade`.
128
+
If you do not have homebrew, follow the [installation
129
+
instructions](https://brew.sh/).
130
+
131
+
2.**Install `rbenv` and `ruby-build`**
132
+
```bash
133
+
# Uninstall ruby (you can try skipping this step if you have concerns)
134
+
brew uninstall --ignore-dependencies ruby
135
+
# Install `rbenv` and `ruby-build`
136
+
brew install rbenv ruby-build
137
+
# Install the correct ruby version, eg: 3.3.6
138
+
rbenv install 3.3.6
139
+
# Default to using this ruby version
140
+
rbenv global 3.3.6
141
+
```
142
+
143
+
3.**Tell your computer to use `rbenv`**
144
+
Add the following to the top of your `.zshrc` or `.bash_profile`:
145
+
```zsh
146
+
eval"$(rbenv init -)"
147
+
```
148
+
149
+
4.**Reload `.zshrc` or `.bash_profile`**
150
+
Run the following in your terminal:
151
+
```bash
152
+
# If using zsh
153
+
source~/.zshrc
154
+
# If using bash
155
+
source~/.bash_profile
156
+
```
157
+
158
+
5.**Check that the correct ruby version is loading**
159
+
Run the following in your terminal:
160
+
```bash
161
+
ruby --version
162
+
```
163
+
If working, it should say `3.3.6`
164
+
165
+
## Error: `bad interpreter: No such file or directory` on `pod install`
166
+
Reinstall cocoapods by doing the following:
167
+
```bash
168
+
# Uninstall current version of cocoapods
169
+
brew uninstall cocoapods
170
+
# Install a fresh version of cocoapods
171
+
brew install cocoapods
172
+
# Recreate link to cocoapods
173
+
brew unlink cocoapods && brew link cocoapods
174
+
```
175
+
176
+
Run `pod install` again, and it should work.
177
+
178
+
## Error: `com.android.builder.errors.EvalIssueException: SDK location not found. Define a valid SDK location with an ANDROID_HOME environment variable or by setting the sdk.dir path in your projects local properties file`
179
+
180
+
This means that the project cannot find the location of your Android SDK.
181
+
182
+
There are two ways to fix this:
183
+
184
+
### 1. Add `ANDROID_HOME` to your *.zshrc* or *.bashrc* file.
0 commit comments