Class-Dump Installation

macos, objective-c

Solution

Unless you're trying to develop it, why screw around? Use `homebrew`. As of today, and modulo a `sudo` here or there, you can install `homebrew` with

ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"

If this doesn't work for you, check the command line at the top of the page on `homebrew`.†

After this, install `class-dump` with

brew install class-dump

Done.

† Ping me in the comments with "command line update needed", and I'll try to keep this in sync. :)

Problem

So this may sound like a really stupid question and I HAVE looked at the how-to from the parent website, but no matter what I do, I cannot get this program to even start to install... I tried entering: cd /opt/local/bin/portslocation/dports/class-dump which returned a "this file/director doesnt exist" error, so i tried to get to it folder by folder. when i got all the way to: cd /opt/local/bin/ i cannot go any further. when i check the contents of the bin directory, the only files i can find are (and i cannot access these apparently either): "daemondo port portf portindex portmirror" i have tried doing this on 2 computers so far to no avail, macports is installed on both like the website said and i am having trouble finding any support for it. please and thank you!!

Original source