Post

Replies

Boosts

Views

Activity

Reply to Apache/Tomcat install on Monterey on M1 MacBookPro, and code signing
Try signing in a different location like ~/Downloads/ then copy back to /usr/local/libexec/apache2/ codesign --verbose --sign "Apple Development: A. Malcolm Warren (FV8Y5HRUQ8)" ~/Downloads/mod_jk.so Then update your apache config to include an authority on LoadModule: LoadModule /usr/local/libexec/apache2/mod_jk.so "Apple Development: A. Malcolm Warren (FV8Y5HRUQ8)" sudo apachectl configtest should then show something like: AH06662: Allowing module loading process to continue for module at /usr/local/libexec/apache2/mod_jk.so because module signature matches authority "Apple Development: A. Malcolm Warren (FV8Y5HRUQ8)" specified in LoadModule directive
Topic: Code Signing SubTopic: General Tags:
Jan ’22
Reply to Transparent window in SwiftUI macOS application
Repost with corrections. Try something like this: struct VisualEffect: NSViewRepresentable {    func makeNSView(context: Self.Context) -> NSView { return NSVisualEffectView() }    func updateNSView(_ nsView: NSView, context: Context) { } } .background(VisualEffect()) For pure transparent try something like class TransparentWindowView: NSView {   override func viewDidMoveToWindow() {     window?.backgroundColor = .clear     super.viewDidMoveToWindow()   } } struct TransparentWindow: NSViewRepresentable {    func makeNSView(context: Self.Context) -> NSView { return TransparentWindowView() }    func updateNSView(_ nsView: NSView, context: Context) { } } .background(TransparentWindow())
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Nov ’21
Reply to Transparent window in SwiftUI macOS application
Try something like this: struct VisualEffect: NSViewRepresentable {    func makeNSView(context: Self.Context) -> NSView { return NSVisualEffectView() } } .background(VisualEffect) For pure transparent try something like class TransparentWindowView: NSView {   override func viewDidMoveToWindow() {     window?.backgroundColor = .clear     super.viewDidMoveToWindow()   } } struct TransparentWIndow: NSViewRepresentable    func makeNSView(context: Self.Context) -> NSView { return TransparentWindowView() } .background(TransparentWIndow)
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Nov ’21
Reply to How does one access a file inside of a XCTestCase class?
Try using a custom working directory set to $(PROJECT_DIR) in the scheme run options. If your tests don't use the run action's arguments and environment variables then you can still manually set the working directory by editing the scheme using a text editor (close Xcode first). eg project.xcodeproj/xcshareddata/xcschemes/tests.xcscheme <LaunchAction buildConfiguration = "Debug" useCustomWorkingDirectory = "YES" customWorkingDirectory = "$(PROJECT_DIR)"
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Nov ’21