Search code examples
iosxcodexamarinipaxcarchive

Can a xcarchive file be created from a ipa file?


If you have an ipa file (e.g. generated through Jenkins), can you create an archive out of it? Is there a possibility to do that in Xamarin Studio/Xcode after the ipa file has been created?

Or is the only way generating a new ipa/xcarchive file in Xamarin Studio/Xcode? Perhaps the xcarchive can be build on the command line with the ipa file path as input parameter?

There is command, which can create a xcarchive file

xcodebuild -scheme myscheme archive -archivePath /path/to/AppName.xcarchive

but what is the project source for this?


Solution

  • No. The xcarchive includes dSYM information that is not included in the ipa-file.

    The archive command uses the archive action in the scheme specified on the command line. The project is either guessed by xcodebuild or specified as a command line parameter.