Hi there, you can reliably get the dock position like so:
enum DockPosition {
case bottom
case left
case right
case unknown
}
func getDockPosition() -> DockPosition {
guard let screen = NSScreen.main else { return .bottom }
if screen.visibleFrame.origin.y == 0 {
return screen.visibleFrame.origin.x == 0 ? .right : .left
} else {
return .bottom
}
}
Post
Replies
Boosts
Views
Activity
Following.
I have the same issue in beta 2 of macOS sequoia. I contacted support as directed in Apple's official response, and received a generic useless response which doesn't help me at all. This is extremely frustrating.
@12312312211312313122 thank you - this was the only thing that worked for me and I sure as hell am not installing a virtual machine just to get around Apple's shortfalls.
First off, you need the last stable build of Xcode (as of writing, this is 15.4). Now, you can't run this in Sequoia because it says it's not compatible (this is a lie, and we need this version of Xcode).
To run the app:
Open Terminal
Open Applications folder in Finder
Drag the Xcode app into Terminal so it gets its path
Then add this next to it: /Contents/MacOS/Xcode, so the full command will be something like /Applications/Xcode-12.5.1.app/Contents/MacOS/Xcode
Press enter to run the command
When you've got the build archived through Xcode 15.4 do the following:
From Archives, right click the build, Show in Finder
Right click, Show Package Contents
Products -> Applications -> Right click "App Name", Show Package Contents
Find the Info.plist and open in Xcode
Change BuildMachineOSBuild value to be the latest non-beta MacOS Release, you can find it here: (https://en.wikipedia.org/wiki/MacOS_Sonoma) - e.g 23G93
Save
Distribute normally
With all of these steps, I was able to upload my app to review without a virtual machine, while on a beta version of Sequoia.