Skip to content
This repository has been archived by the owner on Nov 22, 2020. It is now read-only.

Fixed warnings that come up when opening AppStore link #141

Merged
merged 1 commit into from
Jul 27, 2016
Merged

Fixed warnings that come up when opening AppStore link #141

merged 1 commit into from
Jul 27, 2016

Conversation

ilijapuaca
Copy link
Contributor

Pressing the 'Update' button that opens up AppStore shows these warnings:

_BSMachError: (os/kern) invalid capability (20)
_BSMachError: (os/kern) invalid name (15)

This simple fix makes sure alert action is handled on main thread which in return doesn't show any warnings. Relevant stackoverflow answer: http://stackoverflow.com/a/33639650/2734193

Pressing the 'Update' button that opens up AppStore shows these warnings:

```
_BSMachError: (os/kern) invalid capability (20)
_BSMachError: (os/kern) invalid name (15)
```

This simple fix makes sure alert action is handled on main thread which in return doesn't show any warnings. Relevant stackoverflow answer: http://stackoverflow.com/a/33639650/2734193
@ArtSabintsev
Copy link
Owner

Interesting. I didn't realize it wasn't running on the UI thread. I'll do some poking around before accepting the PR. Will get back to you soon.

Thanks!

@ArtSabintsev
Copy link
Owner

Looks good 👍
Merging - it'll be in the next release (later tonight).

@ArtSabintsev ArtSabintsev merged commit 104763d into ArtSabintsev:master Jul 27, 2016
@ArtSabintsev
Copy link
Owner

It's available in Harpy v4.0.4 (via CocoaPods and Carthage)

It's also available on http://github.com/ArtSabintsev/Siren

I gave you credit in both repos in their respective CONTRIBUTORS.md files.

Thanks again!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants