Skip to content

Commit

Permalink
docs(FAQ): add info re: disabling debugger for test crashes under Xco…
Browse files Browse the repository at this point in the history
…de (#4912)

* Update faqs-and-tips.md

Added solution for this problem: #4014

* add SIGABRT to spellcheck dictionary

Co-authored-by: Mike Hardy <github@mikehardy.net>
  • Loading branch information
Frank1234 and mikehardy committed Feb 18, 2021
1 parent fa3d260 commit 6bf8ee5
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 0 deletions.
1 change: 1 addition & 0 deletions .spellcheck.dict.txt
Original file line number Diff line number Diff line change
Expand Up @@ -118,6 +118,7 @@ SDKs
SDKs.
SHA1
SHA-256
SIGABRT
SMS
src
SVG
Expand Down
12 changes: 12 additions & 0 deletions docs/faqs-and-tips.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,18 @@ This happens to be a known problem with the upstream Analytics SDKs. The Firebas

To use some Firebase services (like auth) in an emulator, you need an Android virtual device with Google Play services installed. Check this [Stack Overflow post](https://stackoverflow.com/a/46246782/2275865) for instructions on creating a new Android virtual device with the necessary APIs installed.

### I'm getting an SIGABRT error in Xcode when faking a crash on iOS. How do I fix this?

When you get an error on this line when faking a crash on iOS:
```
RCT_EXPORT_METHOD(crash) {
if ([RNFBCrashlyticsInitProvider isCrashlyticsCollectionEnabled]) {
assert(NO);
}
}
```
Just disable your debugger in Xcode. 'Project name' -> 'Edit Scheme...' -> 'Run' -> deselect "Debug executable"

# Tips

- Whenever you face a strange issue (or an issue that causes build errors), there are two things you should always consider.
Expand Down

1 comment on commit 6bf8ee5

@vercel
Copy link

@vercel vercel bot commented on 6bf8ee5 Feb 18, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.