Post

Replies

Boosts

Views

Activity

Is it possible to open .dmg or .xip in my Mac OS app?
I have a requirement to download and install a required package before starting the actual task in a MAC application. and the downloaded package is coming from the private server through https API, I tried to run mount process for the file but it fails for .dmg formate. let task = Process.launchedProcess(launchPath: "/usr/bin/hdiutil", arguments: ["attach", "-verbose", "-debug", "-mountroot", "/dev/disk2","<path of downloaded file>"]) task.waitUntilExit() It says hdiutil: attach failed - Device not configured So I thought of asking the backend developer to provide .XIP, would that be a solution? Because I think that won't give any signing or permission issue. Any Suggestion?
7
0
2.4k
Aug ’20