pkg.soopen package index

brew / rank 2253

Install mogenerator with Homebrew, MacPorts

Generate Objective-C & Swift classes from your Core Data model. Version 1.32 via Homebrew; verified from local package data. Also installable with macports: sudo port install mogenerator.

install

Additional install commands

macOS

Homebrewverified · 100%
brew install mogenerator

local Homebrew formula metadata

MacPortsverified · 94%
sudo port install mogenerator

MacPorts ports tree · devel/mogenerator/Portfile · source: api.github.com

overview

Package summary

Generate Objective-C & Swift classes from your Core Data model

Commands and aliases

  • mogenerator

history

Project history and usage

mogenerator is Jonathan 'Wolf' Rentzsch's Core Data code generator, with project source copyright notices dating the codebase to 2006-2019. Its core idea is the two-class pattern for each Core Data entity: a generated machine-owned class such as _MyEntity that can be overwritten to match the model, and a human-owned subclass such as MyEntity where app-specific logic lives. That split made it attractive to Objective-C Mac and iOS developers who wanted generated accessors and constants without losing hand-written business logic every time the model changed.

Project history

The project became a notable tool in the Cocoa/Core Data ecosystem. Its README describes the command-line workflow around .xcdatamodel files, and a 2012 Edge Cases episode presented it as a popular open source Core Data code generation tool. In practice, developers ran mogenerator manually, from scripts, or from Xcode build phases to keep generated Objective-C classes synchronized with a Core Data model.

Adoption history

Major milestones tracked in the project's version history include the 2014 v1.28 release adding a --v2 argument for modern defaults and experimental Swift code generation, v1.29 adding a built-in model compiler instead of relying on Xcode's momc, v1.30 making modern Objective-C and Swift defaults while adding bundled Swift 2 templates, and v1.31 adding Swift 3 support. Later releases added support for newer Core Data property types, nullability annotations, Swift fetchRequest generation, and more template metadata.

How it is used

Its package-manager niche is narrow but durable: a macOS developer CLI for legacy and long-lived Core Data projects, adjacent to Xcode's own model tooling but more opinionated about generated code ownership.

security posture

Risk level: green

narrow executable package without higher-risk signals.

Risk classifier

green risk · low confidence · appliance

Why

  • narrow executable package without higher-risk signals

Signals

  • metadata:no-higher-risk-signals

Install behavior

  • No Homebrew bottle metadata was recorded.

Recommended review

Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.

executables

Installed executables

CommandKindExposureNote
mogeneratorexecutableindexed executableDiscovered from the local executable index.

freshness

Version and freshness

These signals separate page generation age, package-manager activity, and upstream release comparison. Version lag is warned only when an evidence URL and comparable versions are present.

page generated2026-08-03
manager version1.32
manager updated
local dataunknown
upstreamnot available
latest detectednot detected
  • okNo freshness warnings were generated.

install metadata

Package metadata

Package keybrew:mogenerator
Version1.32
Package managerHomebrew
Homepagehttps://rentzsch.github.io/mogenerator/
Repositoryhttps://github.com/rentzsch/mogenerator
Bottlenot recorded
Servicenone declared

source database matches

Other package-manager records

Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.

MacPorts95%

mogenerator

sudo port install mogenerator
  • normalized package name match
  • Matched by: Mogenerator
MacPorts ports tree · api.github.com · MacPorts ports tree: devel/mogenerator/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

source trail

Generated from repository data

This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.

Used sources

  • Geiger risk classifier
  • cross-ecosystem install command graph
  • curated package history
  • external package-manager database matches
  • pkg.so package database
  • pkgdb category and tag curation