Build Configrationとは
projectをクリックして出てくるDebug
, 'Debug-Staging'等を指す👇
アプリ名が変わる原理
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
を作成して割り当てる
アプリ名が変わらない場合
Flutterの場合
ターミナルからflutter clean
の実行
iOS Nativeの場合
Clean Build Folderの実行
ご参考になれば幸いです!