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
Running the macOS sample on 10.12.x every time the sample shows an alert it crashes. To repro simply build the sample, run it, and click any of the buttons (presuming there is a proper IAP configuration behind it.)
SwiftyStoreKit_macOSDemo[8253:544747] [General] -[NSAlert beginSheetModalForWindow:completionHandler:] may only be invoked from the main thread. Behavior on other threads is undefined.
Putting the alert on the main thread fixes it but I'm not sure this is the right answer.
Issue summary
macOS sample crashes any time an alert is shown
What did you expect to happen
alert should show
What happened instead
app crashes
The text was updated successfully, but these errors were encountered:
Platform
In app purchase type
Environment
Version
0.9.2
Related issues
Report
Running the macOS sample on 10.12.x every time the sample shows an alert it crashes. To repro simply build the sample, run it, and click any of the buttons (presuming there is a proper IAP configuration behind it.)
SwiftyStoreKit_macOSDemo[8253:544747] [General] -[NSAlert beginSheetModalForWindow:completionHandler:] may only be invoked from the main thread. Behavior on other threads is undefined.
Putting the alert on the main thread fixes it but I'm not sure this is the right answer.
Issue summary
macOS sample crashes any time an alert is shown
What did you expect to happen
alert should show
What happened instead
app crashes
The text was updated successfully, but these errors were encountered: