LoginSignup
18
9

More than 3 years have passed since last update.

プロジェクト名を後から変更する手順

Posted at

プロジェクト名を後から変更する手順

Xcodeが一気に置換してくれると嬉しいのですが、手作業が必要なので、手順を以下にメモします。

  1. Xcodeを開き、プロジェクトを選択。File inspectorの名前を新しい名前に変更する。
  2. スキーム名の変更をするため、スキーム編集画面からスキーム名を選択し、新しい名前に書き換える。名前をクリックして待っていると編集できる状態になる。
  3. Xcodeを再起動し、フォルダ名を手順1と同じ要領で変更していく。Locationのパスが正しいか注意する。なお、git mv 旧名称 新名称を実行すると、gitがファイル名変更を認識できるようになる。
  4. ターゲットのBuild Settingのplist指定のパスを書き換える。同様に、Product Bundle Identifierのパスも書き換える。

参考

18
9
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
18
9