eas submit -p ios --latest using this phase i faced some issue

hi @wodin How are you hope you are good kindly guide me this part

strong textWaiting for submission to complete. You can press Ctrl+C to exit.
:heavy_multiplication_x: Something went wrong when submitting your app to Apple App Store Connect.

We couldn’t figure out what went wrong. See logs to learn more.

[logs] Starting the submit process
[logs] Downloading archive
[logs] Preparing artifact
[logs] Verifying archive
[logs] Creating ascApiJsonKey.json file with ASC credentials
[logs] Submitting iOS app to TestFlight…
[logs] Submitting the app with fastlane pilot
[logs] -------------------
[logs] — Step: pilot —
[logs] -------------------
[logs] Creating authorization token for App Store Connect API
[logs] Ready to upload new build to TestFlight (App: 6444283311)…
[logs] Going to upload updated app to App Store Connect
[logs] This might take a few minutes. Please don’t interrupt the script.
[logs] [altool] 2023-05-08 01:48:36.042 *** Error: The provided entity includes a relationship with an invalid value ‘6444283311’ is not a valid ID for this relationship. (ID: 16445b5b-0491-4701-b94e-5c73dfb82d63) (409)
[logs] [altool] {
[logs]
[logs] [altool] NSLocalizedDescription = “The provided entity includes a relationship with an invalid value”;
[logs]
[logs] [altool] NSLocalizedFailureReason = “‘6444283311’ is not a valid ID for this relationship. (ID: 16445b5b-0491-4701-b94e-5c73dfb82d63)”;
[logs]
[logs] [altool] “original_server_error” = {
[logs]
[logs] [altool] code = “ENTITY_ERROR.RELATIONSHIP.INVALID”;
[logs]
[logs] [altool] detail = “‘6444283311’ is not a valid ID for this relationship.”;
[logs]
[logs] [altool] id = “16445b5b-0491-4701-b94e-5c73dfb82d63”;
[logs] [altool] source = {
[logs]
[logs] [altool] pointer = “/data/relationships/app/data/id”;
[logs]
[logs] [altool] };
[logs]
[logs] [altool] status = 409;
[logs]
[logs] [altool] title = “The provided entity includes a relationship with an invalid value”;
[logs]
[logs] [altool] };
[logs]
[logs] [altool] }
[logs] Application Loader output above ^
[logs] Error uploading ‘/var/folders/h2/gp9wlkv11lg0qj6y2mnqgc_40000gn/T/ae9a7d51-9bac-42b8-b614-d9732b226c9d.ipa’.
[logs] The provided entity includes a relationship with an invalid value ‘6444283311’ is not a valid ID for this relationship. (ID: 16445b5b-0491-4701-b94e-5c73dfb82d63) (409)
[logs] The call to the altool completed with a non-zero exit status: 1. This indicates a failure.
[logs] Could not download/upload from App Store Connect!
[logs] [!] Error uploading ipa file:
[logs] [Application Loader Error Output]: Error uploading ‘/var/folders/h2/gp9wlkv11lg0qj6y2mnqgc_40000gn/T/ae9a7d51-9bac-42b8-b614-d9732b226c9d.ipa’.
[logs] [Application Loader Error Output]: The provided entity includes a relationship with an invalid value ‘6444283311’ is not a valid ID for this relationship. (ID: 16445b5b-0491-4701-b94e-5c73dfb82d63) (409)
[logs] [Application Loader Error Output]: The call to the altool completed with a non-zero exit status: 1. This indicates a failure.
[logs] Fastlane pilot failed
[logs] Failed to submit the app

@wodin please guide me this issue

Hi @awii

Searching for that error leads me to many posts. e.g.: ios - The provided entity includes a relationship with an invalid value - Stack Overflow

What do you have in app.json for expo.version and expo.ios.buildNumber?

thanx @wodin for your reply
my problem is that our apple id is new and our api key that in expo are old so this problem now we delete the expo api key and then eas submit create new api key and he is easily submitted

[logs] [altool] NSLocalizedDescription = “Asset validation failed”;
[logs]
[logs] [altool] NSLocalizedFailureReason = “SDK version issue. This app was built with the iOS 15.5 SDK. All iOS and iPadOS apps submitted to the App Store must be
built with the iOS 16.1 SDK or later, included in Xcode 14.1 or later. (ID: 799a2ae4-b6f9-4a96-b059-7ea91a0ec5b3)”;
[logs]
[logs] [altool] “original_server_error” = {
[logs]
[logs] [altool] code = “STATE_ERROR.VALIDATION_ERROR.90725”;
[logs]
[logs] [altool] detail = “SDK version issue. This app was built with the iOS 15.5 SDK. All iOS and iPadOS apps submitted to the App Store must be built with the iOS 16.1 SDK or later, included in Xcode 14.1 or later.”;
[logs] [altool] id = “799a2ae4-b6f9-4a96-b059-7ea91a0ec5b3”;
[logs]
[logs] [altool] status = 409;
[logs]
[logs] [altool] title = “Asset validation failed”;
[logs]
[logs] [altool] };

@wodin next i face this error