-
Notifications
You must be signed in to change notification settings - Fork 83
Getting error "The version number has been previously used." #113
Comments
What's the version number of the plist of your ipa? Probably the same of a version you already deployed to Apple, right? You have to increment the version number in your ipa file. |
So I should use " increment_version_number " ?
|
Yes, you can just use |
This is an iTunes Connect requirement, as it doesn't allow TestFlight uploads for apps already being in the store, so you need to increment the version number. |
Same problem. |
@iOSAppMaker Have you tried incrementing the the version number? |
Yes ofcource. |
@vpolouchkine Why should I have to regenerate it every time anyway?? Isn't that itself an error?? |
See #113 (comment) |
Sorry, I didn't get it, what?? |
Were you asking why you need to increment the version number? That's an iTC requirement, as Felix posted in his comment above. |
I think you misunderstood, no I didn't ask why the number has to be incremented. I was saying it keeps asking me to do it, even after it was already incremented. |
Ah, gotcha. |
@iOSAppMaker Would you mind posting your Fastfile and the full log? |
Fastfile (the lane I use currently is updateAllS):
|
@vpolouchkine This used to work before. I didn't change anything, except updated all using "sudo gem fastlane update". Mine was 3-4 version backward in most thing like gym, cert, deliver, fastlane_core, fastlane, snapshot, etc. |
Error log from CLI:
|
This might be a path problem. I had edited the path reading format in the previous version. The new one is reading from the new format, so let me check that. |
thanks for your help so far @iOSAppMaker - looking forward to hearing what you find out! |
The problem was with my Fastfile itself. The path to IPA passed was the old one. So naturally, it was asking me to increment build number. |
@aziz-boudi4 were you experiencing the same issue? can we close this? |
Sometimes I need to update app description or what's new after app release. I launch deliver with --skip_screenshots option and basically it should just update what's new and description or, even better, check changes and update only changed info. And throw exception if I changed screenshot or keywords. But it exits with error "The version number has been previously used." and I'll update my metadata manually. Huh |
thanks for letting us know you are having that issue @molind, right now this is not supported, so we will definitely mark it as a feature request and close the issue for now. |
This issue was migrated to fastlane/fastlane#3522. Please post all further comments there.
|
Hello Felix,
I made all the modifications as stated in the "Migration Guide", and all the previous errors disappeared.
But now I keep having this error with "Spaceship" about
The version number has been previously used.
could you please point out what I'm doing wrong, thank you.
here is a copy of my "deliverfile" :
here is a copy of the trace :
The text was updated successfully, but these errors were encountered: