1

I have multiple targets for my iOS app. I want to archive all the targets simultaneously. I found this link but could not find anything in this link . Is there any way to archive and create different .ipa files simultaneously.

Community
  • 1
  • 1
Bharath Reddy
  • 636
  • 1
  • 5
  • 21
  • command-line tools with separate DerivedData paths. A popular way to script it is using Jenkins. – Cœur Mar 14 '17 at 08:08
  • does this help you http://stackoverflow.com/a/41345948/6689101 – zombie Mar 14 '17 at 08:11
  • thank you guys i will check above solutions – Bharath Reddy Mar 14 '17 at 09:04
  • xcodebuild -list | awk 'p && NF {print \$0";";} /Schemes:/ {p=1}' > schemeList.txt I am getting syntax error for this. Is this changed now? – Bharath Reddy Mar 14 '17 at 09:10
  • @Cœur can you give me some sample or example on how to do it? – Bharath Reddy Mar 14 '17 at 09:19
  • 1
    I definitely recommend Jenkins for automation release/archiving process. It is even useful for test scenario. You can link it with a github repository, and make it scan whatever branch you want in order to start archiving. –  Mar 14 '17 at 09:20

1 Answers1

0

To build all the targets in a project you can add -alltargets to the end of the command

here is an example:

 xcodebuild -exportArchive -alltargets

but please take a look at Documents Library for the required options -exportFormat , -archivePath

zombie
  • 5,069
  • 3
  • 25
  • 54