skip to Main Content

Xcode – SwiftUI's keyboardShortcut is not working if Button has a buttonStyle

My code: Button(action: { AudioServicesPlaySystemSound(1026) isActive.toggle() }){ HStack{ Image(systemName: "trash") Text("delete") } } .foregroundColor(.red) .font(.body) .keyboardShortcut("b",modifiers: []) in this stage keyboardShortcut is working but when I add buttonStyle keyboardShortcut is not working code with buttonStyle: Button(action: { AudioServicesPlaySystemSound(1026) isActive.toggle() }){…

VIEW QUESTION

Xcode – Getting this error on macOS Monterey: Code signing "AppAuth.framework" failed

An screenshot of the error is here It happens when trying to upload the app to Apple Connect from Xcode after achieving. Here are the logs: IDEDistributionPipeline.log 2021-06-18 05:59:30 +0000 Running /usr/bin/codesign '-vvv' '--force' '--sign' '93D0804B68D64BEB32D3E27D45905B528D468CAE' '--entitlements' '/var/folders/l9/lc4s2hls2vg03bs4g3bct1d00000gn/T/XcodeDistPipeline.~~~1slhOn/entitlements~~~OmmxKx' '--preserve-metadata=identifier,flags,runtime' '/var/folders/l9/lc4s2hls2vg03bs4g3bct1d00000gn/T/XcodeDistPipeline.~~~1slhOn/Root/Payload/Belen.app/Frameworks/AppAuth.framework'…

VIEW QUESTION
Back To Top
Search