title: How to generate .ipa file from command line with watchkit app
body: <p>I have a jenkins instance that does a release build using xcodebuild. I then have a script (on Jenkins) to create the .ipa file using xcrun. this worked fine for us until now. Now we have a watchkit app and the .ipa file that is created from this process is not the same as the one that is created if you do an archive build and export it from Xcode.</p>
  
  <p>The exported .ipa from Xcode has a 'Payload' folder, a 'Symbols' folder (probably optional) and a 'WatchKitSupport' folder. The ipa generated from the xcrun doesnt have the 'Symbols' or the 'WatchKitSupport' folder. See more about the structure here : <a href="https://stackoverflow.com/a/29400301/327386">https://stackoverflow.com/a/29400301/327386</a></p>
  
  <p>I saw this post on SO : <a href="https://stackoverflow.com/a/19856005/327386">https://stackoverflow.com/a/19856005/327386</a> that has commands to archive and export the .ipa build (similar to the Xcode process) but even that didn't create the new folders in question.</p>
  
  <p>Does anyone know if there is a way to use the command line tools to create an .ipa file that is equivalent to the one created by Xcode? I didn't find any official documentation on this</p>