socket communication error

Hi everyone! I'm developing a smart shutter motor control application for a custom electric shutter motor. I'm creating the application in MAUI using Visual Studio Code. Almost everything works except for the initial setup of the motor, during which the phone needs to connect to the shutter motor's AP and send about 500 bytes via TCP socket. The TCP socket solution works when I upload the application with HOT RELOAD, but it doesn't work when I distribute it via TestFlight. I've tried using both the TcpClient class and the Socket class, but neither works under TestFlight.

iOS 17.5.1 .net 8 It works on android, windows...

Do you have any ideas? Thank you in advance.

A good first step is to determine whether this is a build issue or an environment issue. I explain how to do this in Isolating Code Signing Problems from Build Problems.

Of course, that’s assuming you’re using Xcode. If you’re not, you should ask your tools vendor how to achieve the same result with their tools.

Share and Enjoy

Quinn “The Eskimo!” @ Developer Technical Support @ Apple
let myEmail = "eskimo" + "1" + "@" + "apple.com"

socket communication error
 
 
Q