LoginSignup
1
1

More than 5 years have passed since last update.

mogeneratorをRunScriptに仕込む

Last updated at Posted at 2014-02-20

アプリビルド時に自動的にmogeneratorのモデルクラス生成処理を行う。
target -> app -> BuildPhases -> Run Scriptに以下を追加。

/usr/local/bin/mogenerator \
    --template-var arc=true \
    --model ./project/Model/Model.xcdatamodeld \
    --machine-dir ./project/Model/Internal/ \
    --human-dir ./project/Model/ 
1
1
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1
1