13

I'm updating my archive process to make it easier to use.

I already created some schemes and build configurations that avoid me to manually update constants between 2 archives, but now I want to go deeper.

When I edit a scheme, the "Archive" section allow us to set an archive name. By default it's set to the scheme name, but I'd like to have it dynamic. For example, I'd like it to be like:

<CFBundleIdentifier>-<CFBundleShortVersionString>-<CFBundleVersion>

Is that even possible? If yes, how?

qtmfld
  • 2,916
  • 2
  • 21
  • 36
Imotep
  • 2,006
  • 2
  • 25
  • 38

1 Answers1

0

As far as I know, it's not possible.

Also if you are planning to upload the app to AppStore, check the apple's AppStore review guideline.

App names in iTunes Connect and as displayed on a device should be similar, so as not to cause confusion

Note:

Instead of changing name in Scheme, you can go to target's Build Settings -> Product name and set the name there.

Midhun MP
  • 103,496
  • 31
  • 153
  • 200
  • I don't want to change the Product name, it's already set. I just want to automatically change the archive name I send to the client for testing, so that he knows which version of the app he's installing. – Imotep Nov 25 '14 at 09:01
  • @Imotep : You can add that in settings app (your app's settings), right ? It can be dynamically generated. I'm doing that for my builds. – Midhun MP Nov 25 '14 at 20:10
  • 4
    yeah I could, but I just want the app version to be in the .ipa name, so that we don't have to install the app to know which version it is. – Imotep Nov 27 '14 at 12:51