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: README.md
+15
Original file line number
Diff line number
Diff line change
@@ -174,6 +174,8 @@ The `XFSample.iOS` project is an example showcasing how to build an app with PSP
174
174
175
175
# Troubleshooting
176
176
177
+
## Swift Runtime Support
178
+
177
179
Apple started shipping the Swift Runtime with iOS 12.2. To deploy apps using Swift (which includes PSPDFKit) on iOS 12.1 and 12.0, the Swift Runtime needs to be added manually via adding the `Xamarin.iOS.SwiftRuntimeSupport` NuGet dependency: https://www.nuget.org/packages/Xamarin.iOS.SwiftRuntimeSupport
178
180
179
181
However, only doing this will then get your app rejected by the App Store due to the following error:
@@ -194,6 +196,19 @@ Since Xcode properly supports wrapping Swift libraries, we can just submit it fr
194
196
195
197
This is only an issue if you must support iOS < 12.2.
196
198
199
+
## Generating a Stack Trace (Device only)
200
+
201
+
If you experience a crash on your end it's very valuable for us to have as much information as possible to provide you with the best support experience.
202
+
Such valuable information includes a stack trace of the crash. Here's a quick step-by-step guide, showing how to generate a stack trace in Visual Studio 2019:
203
+
204
+
1. In the Terminal app enter the following command: `touch ~/.mtouch-launch-with-lldb`. This will essentially let you use lldb to debug your application when it launches.
205
+
2. Launch your app in debug mode in Visual Studio for Mac.
206
+
3. Open the Application Output window in Visual Studio. It will ask you to execute another command in the Terminal.
207
+
4. Once lldb is set up in the terminal window, you can simply use it like you would in Xcode.
208
+
5. To get a stack trace you need to type `bt all`.
209
+
210
+
If you want to remove lldb from your debug setup again you can simply run `rm ~/.mtouch-launch-with-lldb` in your Terminal.
211
+
197
212
# Contributing
198
213
199
214
Please ensure [you signed our CLA](https://pspdfkit.com/guides/web/current/miscellaneous/contributing/) so we can accept your contributions.
0 commit comments