Replies: 13 comments 25 replies
-
Anyone solve this? |
Beta Was this translation helpful? Give feedback.
-
Same problem. Seems to be a pilot error in 2.211.0 version. 2.204.0 works correctly. |
Beta Was this translation helpful? Give feedback.
-
Same issue while trying to upload a macos build on testflight on fastlane 2.210.1 |
Beta Was this translation helpful? Give feedback.
-
Hi, i had the same problem, i am using ionic i resolve this by updating |
Beta Was this translation helpful? Give feedback.
-
Has anyone got an update on this? I'm experiencing this issue, and I can't imagine such a glaring problem with the pipeline has no fix. (Using fastlane 2.212.2) |
Beta Was this translation helpful? Give feedback.
-
The issue is that there are multiple ways to apply versioning to one's project. In our case, with Apple Generic Versioning, you can't just update CURRENT_PROJECT_VERSION. There are other spots in the project that 'update' the version. This is really about making a fix for some changes Apple has made. In our codebase, the "correct" way for us to bump the project version is to close the Xcode project, then run.
from the terminal. (I presume agvtool is AppleGenericVersioningTOOL) I think if one were to work on a fix, they should look into how Apple is doing versioning now as there are multiple ways they do this. In our case we use Apple Generic Versioning and then as you see, the agvtool. |
Beta Was this translation helpful? Give feedback.
-
Failing again today using |
Beta Was this translation helpful? Give feedback.
-
This issue is once again happening when using Xcode 15, whereas it worked fine for us using Xcode 14.3.1. We’ve opened Feedback ticket FB13168491, feel free to submit your own referencing ours. |
Beta Was this translation helpful? Give feedback.
-
for me, with Xcode 15.0.1 adding the direct path to the ipa file as a parameter to pilot worked for me. Otherwise the file it was using was an older version in a random temp directory. |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
Thank you so much for your assistance! Office ally Your help made a significant difference, and I truly appreciate it |
Beta Was this translation helpful? Give feedback.
-
version was indicated in two files, info.plist and project.pbxproj , my issue was on my fastlane increment_build_number skipped the plist file, it was set using Flutter_Build_Number variable , if we're going to use fastlane, don't skip plist file |
Beta Was this translation helpful? Give feedback.
-
I see this error too (which is not happening every time, but only to a large-size IPA upload). |
Beta Was this translation helpful? Give feedback.
-
hello.
I have a problem uploading to testflight, please help me.
Currently, my app version 1.0.7 has been released.
I uploaded version 1.1.1(1) to testflight through fastlane.
The result of fastlane is failure.
However, it is actually uploaded to testflight.
How did it happen?...
MyApp Setting (in Xcode)
version : 1.1.1
Build : 1
My Fastfile
platform :ios do
desc "Push a new beta build to TestFlight"
lane :beta do
increment_build_number(xcodeproj: "ComeHear.xcodeproj")
build_app(
scheme: "ComeHear",
export_method: "app-store",
export_options: {
provisioningProfiles: {
"com.pane.ComeHear" => "ComeHear_fastLane"
}
})
pilot(api_key_path: "fastlane/key.json")
upload_to_testflight
end
end
My Result
[17:21:09]: [altool] 2022-10-14 17:21:09.917 *** Error: The provided entity includes an attribute with a value that has already been used The bundle version must be higher than the previously uploaded version: ‘2’. (ID: 11f3776f-4e27-4828-bbd5-a1ed6b8ba641) (-19232)
[17:21:09]: [altool] {
[17:21:09]: [altool] NSLocalizedDescription = "The provided entity includes an attribute with a value that has already been used";
[17:21:09]: [altool] NSLocalizedFailureReason = "The bundle version must be higher than the previously uploaded version: \U20182\U2019. (ID: 11f3776f-4e27-4828-bbd5-a1ed6b8ba641)";
[17:21:09]: [altool] "original_server_error" = {
[17:21:09]: [altool] code = "ENTITY_ERROR.ATTRIBUTE.INVALID.DUPLICATE";
[17:21:09]: [altool] detail = "The bundle version must be higher than the previously uploaded version.";
[17:21:09]: [altool] id = "11f3776f-4e27-4828-bbd5-a1ed6b8ba641";
[17:21:09]: [altool] meta = {
[17:21:09]: [altool] previousBundleVersion = 2;
[17:21:09]: [altool] };
[17:21:09]: [altool] source = {
[17:21:09]: [altool] pointer = "/data/attributes/cfBundleVersion";
[17:21:09]: [altool] };
[17:21:09]: [altool] status = 409;
[17:21:09]: [altool] title = "The provided entity includes an attribute with a value that has already been used";
[17:21:09]: [altool] };
[17:21:09]: [altool] previousBundleVersion = 2;
[17:21:09]: [altool] }
[17:21:09]: Application Loader output above ^
[17:21:09]: Error uploading '/var/folders/fl/05lzx9790qz_g90v1t2v1pmr0000gn/T/a3b1c74b-1225-4852-9bfb-a75ab943dd90.ipa'.
[17:21:09]: The provided entity includes an attribute with a value that has already been used The bundle version must be higher than the previously uploaded version: ‘2’. (ID: 11f3776f-4e27-4828-bbd5-a1ed6b8ba641) (-19232)
[17:21:09]: The call to the altool completed with a non-zero exit status: 1. This indicates a failure.
[17:21:09]: Could not download/upload from App Store Connect!
+--------------------+------------------------------------------------------------------------------------------------+
| Lane Context |
+--------------------+------------------------------------------------------------------------------------------------+
| DEFAULT_PLATFORM | ios |
| PLATFORM_NAME | ios |
| LANE_NAME | ios beta |
| BUILD_NUMBER | 2 |
| IPA_OUTPUT_PATH | /Users/pane/Desktop/ComeHear/ComeHear.ipa |
| XCODEBUILD_ARCHIVE | /Users/pane/Library/Developer/Xcode/Archives/2022-10-14/ComeHear 2022-10-14 17.15.47.xcarchive |
| DSYM_OUTPUT_PATH | /Users/pane/Desktop/ComeHear/ComeHear.app.dSYM.zip |
+--------------------+------------------------------------------------------------------------------------------------+
[17:21:09]: Error uploading ipa file:
[Application Loader Error Output]: Error uploading '/var/folders/fl/05lzx9790qz_g90v1t2v1pmr0000gn/T/a3b1c74b-1225-4852-9bfb-a75ab943dd90.ipa'.
[Application Loader Error Output]: The provided entity includes an attribute with a value that has already been used The bundle version must be higher than the previously uploaded version: ‘2’. (ID: 11f3776f-4e27-4828-bbd5-a1ed6b8ba641) (-19232)
[Application Loader Error Output]: The call to the altool completed with a non-zero exit status: 1. This indicates a failure.
+------+------------------------+-------------+
| fastlane summary |
+------+------------------------+-------------+
| Step | Action | Time (in s) |
+------+------------------------+-------------+
| 1 | default_platform | 0 |
| 2 | increment_build_number | 0 |
| 3 | build_app | 45 |
| 4 | pilot | 276 |
| 💥 | upload_to_testflight | 7 |
+------+------------------------+-------------+
[17:21:09]: fastlane finished with errors
[!] Error uploading ipa file:
[Application Loader Error Output]: Error uploading '/var/folders/fl/05lzx9790qz_g90v1t2v1pmr0000gn/T/a3b1c74b-1225-4852-9bfb-a75ab943dd90.ipa'.
[Application Loader Error Output]: The provided entity includes an attribute with a value that has already been used The bundle version must be higher than the previously uploaded version: ‘2’. (ID: 11f3776f-4e27-4828-bbd5-a1ed6b8ba641) (-19232)
[Application Loader Error Output]: The call to the altool completed with a non-zero exit status: 1. This indicates a failure.
Beta Was this translation helpful? Give feedback.
All reactions