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
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:
Replies
Boosts
Views
Activity
Jan ’22
Reply to SwiftDriverJob-Emit-Module failed building async command line with Xcode 13.2 beta 2 (13C5081f)
Fixed in Xcode 13.2 RC (13C90)
Topic: Programming Languages SubTopic: Swift Tags:
Replies
Boosts
Views
Activity
Dec ’21
Reply to Xcode Server 13.1/13.2b on 12.1 (21C5021h) Fails While Configuring SSL Certificates
FB9732898
Replies
Boosts
Views
Activity
Nov ’21
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:
Replies
Boosts
Views
Activity
Nov ’21
Reply to Anyone else having screen MacAirM1 issues
Single channel inverted colour like red or blue? What mac identifier, external display and colour profile? Try changing your colour profile eg sRGB.
Topic: App & System Services SubTopic: Core OS Tags:
Replies
Boosts
Views
Activity
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:
Replies
Boosts
Views
Activity
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:
Replies
Boosts
Views
Activity
Nov ’21
Reply to Xcode Server initialisation problem
Duplicate of: https://developer.apple.com/forums/thread/693646 :-)
Replies
Boosts
Views
Activity
Nov ’21