0

I have to create many Xcode archive to upload IPA on HockeApp and iTunes Store.

Whenever I have to do it, I have to choose device as 'Generic iOS device' and the item Archive from Product Menu of Xxode.

Is there a way in Xcode to create a shortcut button or extension which can create an archive for me?

Tamás Sengel
  • 55,884
  • 29
  • 169
  • 223
ahmed
  • 540
  • 2
  • 18
  • You should write a script that does it for each archive you need to build. Use the xcode command line tools. See: https://stackoverflow.com/questions/2664885/xcode-build-and-archive-from-command-line – i_am_jorf Nov 07 '17 at 22:44
  • Thanks , but I am looking for a button here. – ahmed Nov 09 '17 at 19:33

1 Answers1

3

You can simply make a key binding to the Archive option.

Go to Xcode/Preferences/Key Bindings and search for Archive to modify its shortcut.

Key Bindings

Tamás Sengel
  • 55,884
  • 29
  • 169
  • 223