skip to Main Content

For some time using Gitlab CI there is a permanent issue:

[17:39:27]: [33m[altool] 2024-05-14 17:39:27.338 *** Error: Asset validation failed SDK version issue. This app was built with the iOS 16.2 SDK. All iOS and iPadOS apps must be built with the iOS 17 SDK or later, included in Xcode 15 or later, in order to be uploaded to App Store Connect or submitted for distribution. (ID: 713999ac-ec13-4b2b-a933-52ec2d927b38) (90725)
[0m
[17:39:27]: [33m[altool]  {
[0m
[17:39:27]: [33m[altool]     NSLocalizedDescription = "Asset validation failed";
[0m
[17:39:27]: [33m[altool]     NSLocalizedFailureReason = "SDK version issue. This app was built with the iOS 16.2 SDK. All iOS and iPadOS apps must be built with the iOS 17 SDK or later, included in Xcode 15 or later, in order to be uploaded to App Store Connect or submitted for distribution. (ID: 713999ac-ec13-4b2b-a933-52ec2d927b38)";
[0m
[17:39:27]: [33m[altool]     "original_server_error" =     {
[0m
[17:39:27]: [33m[altool]         code = "STATE_ERROR.VALIDATION_ERROR.90725";
[0m
[17:39:27]: [33m[altool]         detail = "SDK version issue. This app was built with the iOS 16.2 SDK. All iOS and iPadOS apps must be built with the iOS 17 SDK or later, included in Xcode 15 or later, in order to be uploaded to App Store Connect or submitted for distribution.";
[0m
[17:39:27]: [33m[altool]         id = "713999ac-ec13-4b2b-a933-52ec2d927b38";
[0m
[17:39:27]: [33m[altool]         status = 409;
[0m
[17:39:27]: [33m[altool]         title = "Asset validation failed";
[0m
[17:39:27]: [33m[altool]     };
[0m
[17:39:27]: [33m[altool] }
[0m
[17:39:27]: Application Loader output above ^
[17:39:27]: [31mERROR: WILL RETRY PART 1. Failed with error: Error Domain=NSURLErrorDomain Code=-1003 "A server with the specified hostname could not be found." UserInfo={_kCFStreamErrorCodeKey=8, NSUnderlyingError=0x600002c58600 {Error Domain=kCFErrorDomainCFNetwork Code=-1003 "(null)" UserInfo={_kCFStreamErrorDomainKey=12, _kCFStreamErrorCodeKey=8, _NSURLErrorNWResolutionReportKey=Resolved 0 endpoints in 27ms using udp from cache, _NSURLErrorNWPathKey=satisfied (Path is satisfied), interface: en0, ipv4, dns}}, _NSURLErrorFailingURLSessionTaskErrorKey=LocalUploadTask ., _NSURLErrorRelatedURLSessionTaskErrorKey=(
[0m

Everything is updated to the latest version on my Machine:

  • os 14 (Sonoma)
  • Xcode 15.3

Xcode 15 and iOS 17SDK is the only sdk installed on my Mac

App is designed for ios. I upload everything using Fastlane. Why it says it is build with 16.2? How can I workaround it? I have read a lot about that, tried everything, and it still creates the same error.

2

Answers


  1. Same issue :

    Starting the submit process
    Downloading archive
    Preparing artifact
    Verifying archive
    Creating ascApiJsonKey.json file with ASC credentials
    Submitting iOS app to TestFlight...
    Submitting the app with fastlane pilot
    -------------------
    --- Step: pilot ---
    -------------------
    Creating authorization token for App Store Connect API
    Ready to upload new build to TestFlight (App: 1570124757)...
    Going to upload updated app to App Store Connect
    This might take a few minutes. Please don't interrupt the script.
    [altool] 2024-05-15 08:11:38.459 *** Error: Asset validation failed SDK version issue. This app was built with the iOS 16.2 SDK. All iOS and iPadOS apps must be built with the iOS 17 SDK or later, included in Xcode 15 or later, in order to be uploaded to App Store Connect or submitted for distribution. (ID: d3398027-1191-44aa-ab20-f69f88cf79ae) (90725)
    
    [altool]  {
    [altool]     NSLocalizedDescription = "Asset validation failed";
    
    [altool]     NSLocalizedFailureReason = "SDK version issue. This app was built with the iOS 16.2 SDK. All iOS and iPadOS apps must be built with the iOS 17 SDK or later, included in Xcode 15 or later, in order to be uploaded to App Store Connect or submitted for distribution. (ID: d3398027-1191-44aa-ab20-f69f88cf79ae)";
    
    [altool]     NSUnderlyingError = "Error Domain=IrisAPI Code=-19241 "Asset validation failed" UserInfo={status=409, detail=SDK version issue. This app was built with the iOS 16.2 SDK. All iOS and iPadOS apps must be built with the iOS 17 SDK or later, included in Xcode 15 or later, in order to be uploaded to App Store Connect or submitted for distribution., id=d3398027-1191-44aa-ab20-f69f88cf79ae, code=STATE_ERROR.VALIDATION_ERROR.90725, title=Asset validation failed, NSLocalizedFailureReason=SDK version issue. This app was built with the iOS 16.2 SDK. All iOS and iPadOS apps must be built with the iOS 17 SDK or later, included in Xcode 15 or later, in order to be uploaded to App Store Connect or submitted for distribution., NSLocalizedDescription=Asset validation failed}";
    
    [altool]     "iris-code" = "STATE_ERROR.VALIDATION_ERROR.90725";
    
    [altool] }
    
    Application Loader output above ^
    ERROR: [ContentDelivery.Uploader] Asset validation failed (90725) SDK version issue. This app was built with the iOS 16.2 SDK. All iOS and iPadOS apps must be built with the iOS 17 SDK or later, included in Xcode 15 or later, in order to be uploaded to App Store Connect or submitted for distribution. (ID: d3398027-1191-44aa-ab20-f69f88cf79ae)
    Error uploading '/var/folders/3n/ccx2khns0sq9dq7h2bjxcmf40000gn/T/be2f7d14-aeeb-4a9e-8b1c-f68a9e79aaf9.ipa'.
    Asset validation failed SDK version issue. This app was built with the iOS 16.2 SDK. All iOS and iPadOS apps must be built with the iOS 17 SDK or later, included in Xcode 15 or later, in order to be uploaded to App Store Connect or submitted for distribution. (ID: d3398027-1191-44aa-ab20-f69f88cf79ae) (90725)
    The call to the altool completed with a non-zero exit status: 1. This indicates a failure.
    Could not download/upload from App Store Connect!
    [!] Error uploading ipa file:
    [Application Loader Error Output]: ERROR: [ContentDelivery.Uploader] Asset validation failed (90725) SDK version issue. This app was built with the iOS 16.2 SDK. All iOS and iPadOS apps must be built with the iOS 17 SDK or later, included in Xcode 15 or later, in order to be uploaded to App Store Connect or submitted for distribution. (ID: d3398027-1191-44aa-ab20-f69f88cf79ae)
    [Application Loader Error Output]: Error uploading '/var/folders/3n/ccx2khns0sq9dq7h2bjxcmf40000gn/T/be2f7d14-aeeb-4a9e-8b1c-f68a9e79aaf9.ipa'.
    [Application Loader Error Output]: Asset validation failed SDK version issue. This app was built with the iOS 16.2 SDK. All iOS and iPadOS apps must be built with the iOS 17 SDK or later, included in Xcode 15 or later, in order to be uploaded to App Store Connect or submitted for distribution. (ID: d3398027-1191-44aa-ab20-f69f88cf79ae) (90725)
    [Application Loader Error Output]: The call to the altool completed with a non-zero exit status: 1. This indicates a failure.
    Fastlane pilot failed
    Failed to submit the app to the store
    
    Login or Signup to reply.
  2. I had the same problem on Mos 14 (Sonoma) with xCode version 15.3.
    To solve the problem you just need to update os and xCode. This will solve the problem. Evidently with such errors Apple forces it’s users to update os. As everything was working before new os release.

    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search