TrustKit icon indicating copy to clipboard operation
TrustKit copied to clipboard

Xcode 14.1 warning: This method should not be called on the main thread as it may lead to UI unresponsiveness.

Open JuhaO81 opened this issue 2 years ago • 4 comments

When using TrustKit Xcode 14.1 gives runtime warnings. Even happens with example project as well as our own app.

Screenshot 2022-11-17 at 9 10 13

JuhaO81 avatar Nov 17 '22 07:11 JuhaO81

My team would also appreciate a fix here 🙏

kaden-weber avatar Nov 21 '22 19:11 kaden-weber

Same here. Xcode generated 77 warnings about this.

eryalparslan avatar Jan 03 '23 18:01 eryalparslan

Please recheck -- with Xcode 14.3 and latest code changes, this is working now.

markph0204 avatar May 07 '23 13:05 markph0204

Isn't the issue here that your URLSession has the main queue set as its delegate queue?

nikolaykasyanov avatar Jun 20 '23 13:06 nikolaykasyanov