My standard workflow, when releasing an app to the App Store, is to press Product > Archive
from Xcode's menubar.
I realize that I never change the Xcode Build Configuration
in my build scheme. I have it set to Debug
during development, but want the version on the App Store to be Release
.
I am hoping and assuming that Product > Archive
automatically uses a Release
build configuration. Can anyone confirm?
Make sure your build is successful Before beginning to archive your build, you need to make sure that the build is successful not only for Debug, for also for Release.
It archives your Xcode project by running the xcodebuild archive command and exports the archive into an . ipa file with the xcodebuild -exportArchive command. This . ipa file can be shared and installed on test devices, or uploaded to App Store Connect.
Yes. By default, the Debug configuration is used for running on the Simulator while the Release is for Archives. I recommend looking at your Schemes.
Product -> Scheme -> Edit Scheme...
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With