Use iOS SDK, there is a PackageApplication tool that can be used with xcrun, but this does not seem to be applicable to the OS X SDK.
I also want to do this, so I hope to get more diagnostics from the distribution process, This is for the infamous 100021 operating system error code that I am failing now.
In the Finder, right-click the archive, and then click “Show Package Contents”. In the terminal, Use CD.
Is it possible to switch from .xcarchive package to .app package without using Xcode Organizer? I want to create an automatic build and get the final .app file that I can distribute. Using xcodebuild with the archive target is great for getting the .xcarchive file, but not for the final application.
Use iOS SDK, there is a PackageApplication tool that can be used with xcrun, but this does not seem to be applicable to the OS X SDK.
I also want to do this, so I hope to get more diagnostics from the distribution process, This is the notorious 100021 operating system error code that I am failing now.
Have you seen the .xcarchive package? It is just a folder. Your .app target should be located in the Products subfolder.
In the Finder, right-click the archive, and then click “Show Package Contents”. In the terminal, Use CD.