Skip to content
This repository has been archived by the owner on Oct 2, 2018. It is now read-only.

After failed .ipa upload, fastlane selects prior build and submits for review #210

Closed
owurman opened this issue Feb 14, 2016 · 3 comments
Closed
Labels

Comments

@owurman
Copy link

owurman commented Feb 14, 2016

I used fastlane to update my app to version 3.1.3. The CFBundleVersion was 3.1.3.1. I had to self-reject this one because of a bug which I fixed, then I tried to upload another .ipa with CFBundleVersion 3.1.3.2 with fastlane, which failed.

Rather than detect the failure and stop, fastlane proceeded to select 3.1.3.1 and submit it for review again.

@vpolouchkine
Copy link
Contributor

Can you share your fastlane setup (version and Fastfile)?

@owurman
Copy link
Author

owurman commented Feb 17, 2016

1.59.0

Redacted comments, unused lanes and project name (I'm paranoid, don't really know why). The relative paths might throw you off: I have multiple targets and run fastlane out of their various subdirectories. All of their Fastfiles and Deliverfiles are symbolic links to the main ones, with just some different ENV variables. The failure was caused by the WWDR certificate issue (documented by #100). I think I had fallen back on use_legacy_build_api and that was causing other signing issues, but now I can't remember. It's been removed from the Fastfile since but I've noted where it was.

fastlane_version "1.59.0"

default_platform :ios

platform :ios do

def build_ipa
gym(
workspace: "../../{project}.xcodeproj/project.xcworkspace",
scheme: ENV["SCHEME"],
configuration: "Distribution"
#may have had use_legacy_build_api: true here when initially produced
)
end

lane :update do
ENV["DELIVER_FORCE_OVERWRITE"] = "1"
Dir.chdir('..') {
system('deliver download_metadata')
}
if !system("grep -e "^#{ENV["APP_NAME"]}$" metadata/en-US/name.txt")
abort("name.txt doesn't match Config")
end
system('./increment_build.sh')
sigh
build_ipa()
#deliver(force: true, skip_screenshots: true)
deliver(force: true, skip_screenshots: true, submit_for_review: true)
end

end

@fastlane-bot-helper
Copy link

This issue was migrated to fastlane/fastlane#1824. Please post all further comments there.

fastlane is now a mono repo, you can read more about the change in our blog post. All tools are now available in the fastlane main repo 🚀

@fastlane-old fastlane-old locked and limited conversation to collaborators Mar 11, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

4 participants