I need to archive a specific schema from my xcodeproj . For this, I run
xcodebuild archive \ -scheme $SCHEME \ -target $TARGET \ -archivePath $ARCHIVE_PATH
Although I explicitly define the scheme and purpose, the resulting xcarchive contains both goals and the subsequent IPA export call complains about
error: the archive at path '<path>.xcarchive' is not a single-bundle archive ** EXPORT FAILED **
Why xcodebuild create an archive with multiple packages?
source share