Post

Replies

Boosts

Views

Created

SwiftUI Link: [open] LAUNCH: Launch failure with -10652
I have a simple Link view: Link("Help", destination: URL(string: "https://linkToMyAppHelpPage.xyz")!) When I tap the Link in my app, I get this message in Xcode's Debugger console: [open] LAUNCH: Launch failure with -10652/ <FSNode 0x600002e51880> { isDir = y, path = '/Applications/Firefox.app' } The link opens correctly in Firefox. I don't understand what this message means. Is it just log noise or am I doing something wrong? I noticed it does not happen when Firefox (or the preferred browser) is not yet open.
0
0
429
Oct ’23
Bonjour NWListener with changing domain name
Hi! I have to say I'm not experienced with network programming. Meanwhile, I'm happy my macOs app is doing mostly what it should with Network framework. What I noticed though is that, observing with DNS-SD, all other Bonjour Services on my system show the domain name "Felixs-iMac.local" whereas my app has something like c0d52654-4459-4373-a42d-778805c5107a.local with the string before .local changing on each run. I also noticed that the third party app that I connect my app to locally is not "remembering" my app after restarting. I can set manually "Remote Address" in that app to localhost or 127.0.0.1 and it reconnects next time. I wonder if this is related. How can I have my listener show up with a persitent host/domain name (not sure with terminology here..) so other apps can re-connect? Here's my code for the listener: // advertise Bonjour let udpOption = NWProtocolUDP.Options() let params = NWParameters(dtls: nil, udp: udpOption) if bonjour { params.includePeerToPeer = true } // create the listener listener = try! NWListener(using: params, on: 9001) // Bonjour service if bonjour { listener?.service = NWListener.Service(name: "ControlPilot", type: "_osc._udp", domain: nil, txtRecord: nil) }
2
0
1.3k
Feb ’22
Strings Catalog location in project structure
I was wondering if there are any technical rules where to store the xcstrings file(s) in the Xcode project? Is the source folder most common? From my observations it seems the xcstrings file could be anywhere inside the project folder hierarchy and they still take part in string extraction.
Replies
1
Boosts
0
Views
222
Activity
Oct ’25
SwiftUI Link: [open] LAUNCH: Launch failure with -10652
I have a simple Link view: Link("Help", destination: URL(string: "https://linkToMyAppHelpPage.xyz")!) When I tap the Link in my app, I get this message in Xcode's Debugger console: [open] LAUNCH: Launch failure with -10652/ <FSNode 0x600002e51880> { isDir = y, path = '/Applications/Firefox.app' } The link opens correctly in Firefox. I don't understand what this message means. Is it just log noise or am I doing something wrong? I noticed it does not happen when Firefox (or the preferred browser) is not yet open.
Replies
0
Boosts
0
Views
429
Activity
Oct ’23
Bonjour NWListener with changing domain name
Hi! I have to say I'm not experienced with network programming. Meanwhile, I'm happy my macOs app is doing mostly what it should with Network framework. What I noticed though is that, observing with DNS-SD, all other Bonjour Services on my system show the domain name "Felixs-iMac.local" whereas my app has something like c0d52654-4459-4373-a42d-778805c5107a.local with the string before .local changing on each run. I also noticed that the third party app that I connect my app to locally is not "remembering" my app after restarting. I can set manually "Remote Address" in that app to localhost or 127.0.0.1 and it reconnects next time. I wonder if this is related. How can I have my listener show up with a persitent host/domain name (not sure with terminology here..) so other apps can re-connect? Here's my code for the listener: // advertise Bonjour let udpOption = NWProtocolUDP.Options() let params = NWParameters(dtls: nil, udp: udpOption) if bonjour { params.includePeerToPeer = true } // create the listener listener = try! NWListener(using: params, on: 9001) // Bonjour service if bonjour { listener?.service = NWListener.Service(name: "ControlPilot", type: "_osc._udp", domain: nil, txtRecord: nil) }
Replies
2
Boosts
0
Views
1.3k
Activity
Feb ’22