Post

Replies

Boosts

Views

Activity

MetricKit: responsibility for processing Payloads?
Having read several posts on MetricKit and I'm very confused! I understand that: didReceive(_ payloads: [MXMetricPayload]) gets called with payloads containing performance data. However as a developer do I need todo anything with this data or can I just leave it up-to Apple for processing? How does this data find its way to Apples servers for download to Xcode organiser? There is obviously a big bit of the story that I am missing!
1
0
612
Dec ’20
[tcp] nw_proto_tcp_route_init [C1.1:1] no mtu received
I have simple iOS App running on an iPad using Network.Framework, NWConnection and NWEndpoint to setup a TCP connection to a Microchip RN-171. It all worked fine until iOS 14 when I started to occasionally get this error: [tcp] nw_proto_tcp_route_init [C1.1:1] no mtu received at which point the connection just locks up with no further data flow in either direction is possible with respect to iOS. Looking at the RN-171 data sheet I see that the default value for mtu is 1524 so I am assuming that during the negotiation between the RN-171 and iOS this value should be set and some change in iOS 14 means that this value doesn't always get to iOS. Any ideas what the root cause might be and how to fix it?
3
0
1.7k
Dec ’20
Create ML : error handling "Data Source Missing"
I have just started using Create ML and discovered it to be unstable and obviously not fully tested. I created object training data using IBM Cloud Annotation which imported fine and create a model. I then gave Create ML testing data. However then, in error, I renamed the directory containing the test data. Create ML then entered into, what appears to-be, a loop continuously flashing up a dialogue saying Test Data "Data Source Missing" and there appears to be no way to exist this state other than by closing Create ML. No whenever I open Create ML and navigate to Evaluation > Testing the "Data Source Missing" dialogue starts flashing. So I now have a Create ML project that appears useless. For this project there is no way to choose test data! Any ideas? I should probably raise a bug report.
3
0
887
Dec ’20
macOS serial port programming in swift
Appologies if not using the correct forum for this question? however it is closest I could find.have been disappointed with the lack of Apple documention supporting serial port programming. The best I've found is thiswebsite. Are there recommend swift libraries/frameworks for interacting with serial devices via USB? perhaps with some examples.Hopefully
8
0
9.4k
Apr ’19