Post

Replies

Boosts

Views

Activity

Apple timeserver for codesign not available?
Attempting to use codesign yesterday or today is giving "A server with the specified hostname could not be found." codesign --timestamp=none works, but the result can't be notarized. The Apple system status page is showing a problem with Xcode Cloud. Could this be related? Does anybody know the name or address that codesign is attempting to access? Is there any workaround, e.g. use of a different timestamp service? Thanks in advance for any suggestions.
1
0
646
Jan ’23
SwiftUI drag .simultaneousGesture not working on macOS?
I'm trying to use a button with .simultaneousGesture with a DragGesture to detect button down and button up (instead of just the click):             .simultaneousGesture(                 DragGesture(minimumDistance: 0)                     .onChanged({ _ in                         print("onChanged")                         isPressed = true                     })                     .onEnded({ _ in                         print("onEnded")                         isPressed = false                     })             ) This works nicely on iOS, but neither onChanged nor onEnded is ever invoked on macOS. Is there a way to make this work on macOS? Or an alternative SwiftUI way to detect mouse down / mouse up on a button?
0
0
613
Nov ’22