Use same CFBundleVersion and CFBundleShortVersionString in all targets

前端 未结 7 2141
南旧
南旧 2020-12-31 08:31

I received the following email from Apple when I submit an app update:

We have discovered one or more issues with your recent delivery for \"Project

7条回答
  •  猫巷女王i
    2020-12-31 08:51

    Xcode 11+

    1) Go to project settings, choose PROJECT (above targets), go to Build Settings
    2) Press Add User-Defined Setting and add APP_BUILD and APP_VERSION
    3) In your targets go to Info and replace Bundle version to $(APP_BUILD) and Bundle version string to $(APP_VERSION) in all targets and extensions where you need to sync.
    4) Woila! You should change bundle versions only in one place - in Build Settings of your PROJECT.

提交回复
热议问题