0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 1 year has passed since last update.

xcodegenの使い方(その一:入門)

Last updated at Posted at 2022-05-11

ダウンロード

brew xcodegen

使用(コマンドを実行してプロジェクトファイルを作成)

xcodegen generate

project.ymlの定義

<>で囲んだものは書き換えが必要、自分のプロジェクトに応じて書き換えてください

name: <project_name>
configFiles:
  Debug: configs/debug.xcconfig
  Release: configs/release.xcconfig

options:
  deploymentTarget:
    iOS: 14.1

packages:
  <package_name>:
    url: <the_url_of_git>
    version: <version>
  ...

空きのプロジェクトを作成する時:

実はnameのフィールドを入れることで作成出来てしまます

name: <project_name>

この一行だけのymlファイルを作成してxcodegen generateを実行すれば出来てしまいます!

以上、入門はできました。

0
0
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
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?