Skip to content

Commit f37dfff

Browse files
authored
Update CrashlyticsTutorial.md
fix typo
1 parent 8d49633 commit f37dfff

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

website/docs/CrashlyticsTutorial.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ Undefined symbols for architecture x86_64:
7676
_co_touchlab_crashkios_crashlytics_FIRCLSExceptionRecordNSException_wrapper0 in result.o
7777
ld: symbol(s) not found for architecture x86_64
7878
```
79-
This is because on iOS only the definitions for Crashlytics are added when comiling the Kotlin code and building the framework. The binary (the actual Crashlytics library) isn't added until later when you build the iOS app. When building a dynamic framework, the Kotlin compile expects to be able to resolve everything, so you'll see the above error because Crashlytics isn't there yet.
79+
This is because on iOS only the definitions for Crashlytics are added when compiling the Kotlin code and building the framework. The binary (the actual Crashlytics library) isn't added until later when you build the iOS app. When building a dynamic framework, the Kotlin compile expects to be able to resolve everything, so you'll see the above error because Crashlytics isn't there yet.
8080

8181
To workaround this, we need to tell the compiler that these symbols are find and will be there later. Doing it manually is a bit messy so you can just add our gradle plugin to handle it
8282
```kotlin
@@ -108,4 +108,4 @@ CrashKiOS-crashlytics also provides shared code wrappers for sending logs and c
108108
```kotlin
109109
CrashlyticsKotlin.logMessage("Some message")
110110
CrashlyticsKotlin.setCustomValue("someKey", "someValue")
111-
```
111+
```

0 commit comments

Comments
 (0)