Setup sequence
-
01
Check your Xcode version
Record the full version and build number. Check that the required SDKs, simulator runtimes, and minimum OS version are available.
-
02
Import certificates & provisioning profiles
Import only what the current project needs. Include the project and purpose in each name so others can identify its origin when handing it off.
-
03
Check Keychain permissions
Verify that the private key is readable by the target runner account. Test non-interactive signing before automating builds to keep jobs from getting stuck at a permission prompt.
-
04
Select command-line tools
Make sure the selected tools point to the intended Xcode, and record the selection in the project environment notes. After switching versions, rerun dependency and signing checks.
-
05
Validate your first build
Clean up old artifacts, then run tests, archive, and verify signing. Keep the command, exit code, log path, and checksum of the final artifact.