When building in Xcode Cloud it allows setting a schema but is missing Configuration.
We have: Debug, Release.
configuration: "Debug", scheme: "MyApp"
I noticed in scheme it has several types:
- Build
- Run - Debug
- Test - Debug
- Profile - Release
- Analyze - Debug
- Archive - Release
For XCode to work right what should these be set to? This seems to not be documented. In React Native they recommend "Run to be Release". Is it ok to change that for Xcode Cloud?
Info:
Building an app for distribution in the App Store requires using the Release scheme in Xcode. Apps built for Release will automatically disable the in-app Developer menu, which will prevent your users from inadvertently accessing the menu in production. It will also bundle the JavaScript locally, so you can put the app on a device and test whilst not connected to the computer. To configure your app to be built using the Release scheme, go to Product → Scheme → Edit Scheme. Select the Run tab in the sidebar, then set the Build Configuration dropdown to Release.