Open adarshurs opened 1 month ago
We faced some issues. The app was built on an M1 chip.
I'm really sorry that I can't help you there. I have never used the framework on a Mac and currently have no resources to investigate here. Furthermore I think that modern apps should use NWConnection
instead of my package for UDP broadcasts although I can't give you any details since I never used this.
` broadcastConnection = try UDPBroadcastConnection( port: 35602, handler: { (response: (ipAddress: String, port: Int, response: [UInt8])) -> Void in print("Received from (response.ipAddress):(response.port):\n\n(response.response)") // it's empty }, errorHandler: { (error) in print(error) })
`
Hi, I have been using this library in one of our apps, It's been working fine, recently I updated the app, everything worked good in Debug Mode but after releasing the app to the App Store, our app users started complaining that it's not working. Upon investigating I found out that ipAddress parameter in the handler is empty when app is running on Release Mode. Could anyone please look into this? @gunterhager , @kenji21
Edit : Just for clarity, everything else is working fine, it broadcasts the message and receive responses from the devices available but just ipAddress field is returning empty in Release mode
Edit 2 : I just found out, this issue happens when the app is built on M series chip of Macs, everything works fine on Intel chip macs
Thank you