0
1

More than 1 year has passed since last update.

iOS強化月間 - iOSアプリ開発の知見を共有しよう -

【Xcode】Build Configurationごとにアプリ名を変更する方法

Last updated at Posted at 2023-09-13

Build Configrationとは

projectをクリックして出てくるDebug, 'Debug-Staging'等を指す👇
スクリーンショット 2023-09-13 15.05.58.png

アプリ名が変わる原理

Info.plist内の<key>CFBundleDisplayName</key>直下の<string>句がアプリ名に当たり、これを各Build Configrationに設定する

Build Configurationごとにアプリ名を変更する方法

プロジェクトの設定項目 > Build Settings FilterはAll|Combinedを開く

検索窓にPackagingと入れる

Info.plist Fileの項目を開くと、各Build Configrationに対応するInfo.plistを選択できるようになっているので、必要な種類のInfo.plistを作成して割り当てるスクリーンショット 2023-09-13 15.15.01.png

アプリ名が変わらない場合

Flutterの場合

ターミナルからflutter cleanの実行

iOS Nativeの場合

Clean Build Folderの実行

ご参考になれば幸いです!

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