I want to ask whether there is a framework of Cocoa to create and manipulate ISO disk image. Actually, I want to find one Cocoa alternative for .NET DiscUtils(http://discutils.codeplex.com/).
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
If you want to create ISO images on the Mac, you can call
hdiutil. Seeman hdiutil.Start by putting your files in a temporary directory, say,
/tmp/xyz/volume. (Usemkdtemp). Then run:This will create a “CDR Master” image. You can then convert it to ISO:
You can then delete the temporary directory.
Now, I know that this isn’t a “framework” per se. Instead you’re calling external programs to do the work for you. You’ll need to learn how to use
fork/exec,popen,NSTask, or one of the other variants.As an alternative, you could build a copy of
mkisofsand place that inside your application bundle. The interface tomkisofsis somewhat nicer for creating ISO images, it’s just not bundled with Mac OS X the wayhdiutilis.