When we archive our package using Xcode@5 with default or 14 as xcodeVersion set and push to Testflight using AppStoreRelease@1, apple supply a warning in the confirmation email as follows:
ITMS-90725: SDK version issue - This app was built with the iOS 16.2 SDK. Starting April 29, 2024, all iOS and iPadOS apps must be built with the iOS 17 SDK or later, in order to be uploaded to App Store Connect or submitted for distribution.
Code:
- task: Xcode@5
inputs:
actions: 'archive'
xcWorkspacePath: '$(XC_WORK_SPACE_PATH)'
configuration: 'release'
exportPath: '$(ARCHIVE_PATH)'
sdk: 'iphoneos'
scheme: '$(TF_VAR_SCHEME)'
xcodeVersion: 'default' // or '14' has the same issue
packageApp: true
signingOption: 'manual'
signingIdentity: '$(TF_VAR_APPLE_CERTIFICATE_SIGNING_IDENTITY)'
provisioningProfileUuid: '$(TF_VAR_APPLE_PROV_PROFILE_UUID)'
When we update Xcode@5 to use 15 as xcodeVersion, it gives the error:
##[error]Error: Unable to resolve the developer path for Xcode
15
. Set theXCODE_15_DEVELOPER_DIR
environment variable on the agent machine, or setXcode version
toDefault
orSpecify path
.
We're not using a self hosted agent and we're running it from the cloud with macos-latest. We didn't have to do this for any previous version. Is this how we should proceed in order to make use of xcode 15 or will there be an update to Xcode@5 to cater for xcodeversion 15?
Please change to agent macOS-13
, the default xcode is 15, and it has iOS17.
MacOS-latest
points to macOS-12
, default xcode version is 14, it doesn't have Xcode 15 and iOS17.
You can click the links inside the doc for the agents software details.
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