Input-mask-ios: Error while using profiler

Created on 11 May 2018  ·  5Comments  ·  Source: RedMadRobot/input-mask-ios

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! 👍🏻

bug circumstances clarification

Most helpful comment

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

All 5 comments

Hey @KompoD!
Thanks for your report.

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

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

@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.

1.
screen shot 2018-05-11 at 21 54 53

2.
screen shot 2018-05-11 at 21 55 11

3.
screen shot 2018-05-11 at 21 55 26

Please, share your results.

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

@KompoD you're welcome.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

beltik picture beltik  ·  6Comments

MrJox picture MrJox  ·  11Comments

LinusGeffarth picture LinusGeffarth  ·  4Comments

DamascenoRafael picture DamascenoRafael  ·  4Comments

osterlind picture osterlind  ·  3Comments