Configuration dependent value in Info.plist file

前端 未结 3 470
眼角桃花
眼角桃花 2021-02-05 06:24

I have three configurations in my iOS project:

  1. Debug
  2. Adhoc
  3. Release

Now I want to change the name of the App as follows:

3条回答
  •  清歌不尽
    2021-02-05 07:12

    Sure. First you have to create separate Info.plist file each configuration. Then in you Project's build settings find the line where Info.plist is placed, expand that line and choose separate Info.plist file for each configuration you have. Then you can enter desired name in corresponding field in each Info.plist file. That's it :)

提交回复
热议问题