Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error while using profiler #35

Closed
KompoD opened this issue May 11, 2018 · 5 comments
Closed

Error while using profiler #35

KompoD opened this issue May 11, 2018 · 5 comments

Comments

@KompoD
Copy link

KompoD commented May 11, 2018

Hey guys!
I recently tested my app and while try to profile memory leaks I got error in FormatSanitizer.swift in func getFormatBlocks(_ string: String) -> [String] block.
2018-05-11 12 43 17

Error message is Main Thread Checker: UI API called on a background thread: -[UIView retainCount] PID: 1884, TID: 190199, Thread name: (none), Queue name: com.apple.keyboard.xpc, QoS: 25
Please check this :)

P.S. Thanks for awesome library! 👍🏻

@taflanidi
Copy link
Collaborator

Hey @KompoD!
Thanks for your report.

I'll try to reproduce your issue. Meanwhile, how often do you get this error?

@KompoD
Copy link
Author

KompoD commented May 11, 2018

@taflanidi I just started typing first symbol in masked textfield and catch this error.

@taflanidi
Copy link
Collaborator

@KompoD,
Alright, I've reproduced your issue, and it seems I've found a potential solution.

Could you try profiling your project with a "Blank" profiler template by adding necessary instruments? See below.

screen shot 2018-05-11 at 21 54 53

screen shot 2018-05-11 at 21 55 11

screen shot 2018-05-11 at 21 55 26

Please, share your results.

@KompoD
Copy link
Author

KompoD commented May 21, 2018

@taflanidi, using Blank I have no errors. It's magic :)
P.S. Sorry for late answer.

@taflanidi
Copy link
Collaborator

@KompoD you're welcome.

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

No branches or pull requests

2 participants