Posts

Post not yet marked as solved
4 Replies
1.7k Views
When I start a simulator from Xcode 14, I immediately get two diagnosticd processes starting the fans to warm the house. So much (>70% CPU) that the sim is essentially unusable. Looking in Console it looks like apsd is responsible, the culprit seems to be that the certificate store is missing/unsafe. I'm on a 2018 MacBook Pro with touch ID but obviously not Apple Sillicon. I "solved" this by pausing apsd: killall -STOP apsd See log excerpt below. standaard 12:28:19.257217+0200 apsd copyTokenForDomain sandbox.push.apple.com (null) standaard 12:28:19.257874+0200 apsd copyTokenForDomain sandbox.push.apple.com (null) standaard 12:28:19.258404+0200 apsd <APSCourier 0x7fcdfbc04960 development> Sending presence message for deviceToken with token NO on interface: NonCellular standaard 12:28:19.258511+0200 apsd Could not get certificate from simulator with error Error Domain=SimIdentityErrorDomain Code=100 "Connection invalid" UserInfo={NSLocalizedDescription=Connection invalid}! Aborting... standaard 12:28:19.278525+0200 apsd nw_socket_handle_socket_event [C333.1.1:3] Socket received READ_CLOSE event standaard 12:28:19.278621+0200 apsd Connection 333: final read 0:0, complete[Y], final[N] standaard 12:28:19.278685+0200 apsd Connection 333: read-side closed fout 12:28:19.278722+0200 apsd Connection 333: missing error, so heuristics synthesized error(1:53)
Posted Last updated
.