Post

Replies

Boosts

Views

Activity

Reply to `NSWorkspace.open` cannot deal with `xcodeproj`
Finally found the answer, you can use the legacy API, which works flawlessly. LSOpenCFURLRef(url as CFURL, nil)
Topic: UI Frameworks SubTopic: AppKit Tags:
Replies
Boosts
Views
Activity
Aug ’25
Reply to `NSWorkspace.open` cannot deal with `xcodeproj`
ChatGPT found a way to deal with this using deprecated symbols: try NSWorkspace.shared.open([path.url], withAppBundleIdentifier: "com.apple.dt.Xcode", options: .default, additionalEventParamDescriptor: nil, launchIdentifiers: nil) I suppose there is something wrong with the latest APIs.
Topic: UI Frameworks SubTopic: AppKit Tags:
Replies
Boosts
Views
Activity
Feb ’24