fastlane: "exportOptionsPlist error for key 'method': expected one of {}, but found app-store"
I am trying to build my project to send it to testflight, it was working before, but I had my apple developer account expired, after I paid it stoped working.
Command executed
fastlane beta
Complete output when running fastlane, including the stack trace and command used
2019-06-20 07:55:56.388 xcodebuild[5027:533805] [MT] IDEDistributionMethodManager: -[IDEDistributionMethodManager orderedDistributionMethodsForTask:archive:]: Error = Error Domain=IDEDistributionMethodManagerErrorDomain Code=2 "Unknown Distribution Error" UserInfo={NSLocalizedDescription=Unknown Distribution Error}
error: exportArchive: exportOptionsPlist error for key 'method': expected one of {}, but found app-store
Error Domain=IDEFoundationErrorDomain Code=1 "exportOptionsPlist error for key 'method': expected one of {}, but found app-store" UserInfo={NSLocalizedDescription=exportOptionsPlist error for key 'method': expected one of {}, but found app-store}
Environment
✅ fastlane environment ✅
Stack
| Key | Value |
|---|---|
| OS | 10.13.6 |
| Ruby | 2.2.2 |
| Bundler? | true |
| Git | git version 2.8.1 |
| Installation Source | ~/.rvm/gems/ruby-2.2.2/bin/fastlane |
| Host | Mac OS X 10.13.6 (17G65) |
| Ruby Lib Dir | ~/.rvm/rubies/ruby-2.2.2/lib |
| OpenSSL Version | OpenSSL 1.0.2j 26 Sep 2016 |
| Is contained | false |
| Is homebrew | false |
| Is installed via Fabric.app | false |
| Xcode Path | /Applications/Xcode.app/Contents/Developer/ |
| Xcode Version | 10.1 |
System Locale
| Variable | Value | |
|---|---|---|
| LANG | en_US.UTF-8 | ✅ |
| LC_ALL | ||
| LANGUAGE |
fastlane files:
`./fastlane/Fastfile`
# Uncomment the line if you want fastlane to automatically update itself
# update_fastlane
default_platform(:ios)
platform :ios do
lane :beta do
sync_code_signing(
git_url: "xxxxxxxx",
type: "appstore",
app_identifier: "xxxxxxxx",
username: "xxxxxxxx",
keychain_password: "xxxxxx",
force: true,
platform: "ios"
)
disable_automatic_code_signing(path: "kiambote.xcodeproj")
build_app(
scheme: "kiambote",
clean: true,
xcargs: "-allowProvisioningUpdates",
)
increment_build_number
enable_automatic_code_signing(path: "kiambote.xcodeproj")
upload_to_testflight(skip_waiting_for_build_processing: true)
end
end
`./fastlane/Appfile`
# app_identifier("com.nossapps.products.kiambote") # The bundle identifier of your app
# apple_id("nossapps@gmail.com") # Your Apple email address
# For more information about the Appfile, see:
# https://docs.fastlane.tools/advanced/#appfile
fastlane gems
| Gem | Version | Update-Status |
|---|---|---|
| fastlane | 2.125.2 | ✅ Up-To-Date |
Loaded fastlane plugins:
No plugins Loaded
Loaded gems
| Gem | Version |
|---|---|
| executable-hooks | 1.3.2 |
| bundler-unload | 1.0.2 |
| rubygems-bundler | 1.4.4 |
| bundler | 1.15.0 |
| CFPropertyList | 3.0.0 |
| public_suffix | 2.0.5 |
| addressable | 2.6.0 |
| babosa | 1.0.2 |
| colored | 1.2 |
| highline | 1.7.10 |
| commander-fastlane | 4.4.6 |
| dotenv | 2.7.2 |
| emoji_regex | 1.0.1 |
| excon | 0.64.0 |
| multipart-post | 2.0.0 |
| faraday | 0.15.4 |
| unf_ext | 0.0.7.6 |
| unf | 0.1.4 |
| domain_name | 0.5.20180417 |
| http-cookie | 1.0.3 |
| faraday-cookie_jar | 0.0.6 |
| faraday_middleware | 0.13.1 |
| fastimage | 2.1.5 |
| gh_inspector | 1.1.3 |
| jwt | 2.1.0 |
| memoist | 0.16.0 |
| multi_json | 1.13.1 |
| os | 1.0.1 |
| signet | 0.11.0 |
| googleauth | 0.6.7 |
| httpclient | 2.8.3 |
| mime-types-data | 3.2019.0331 |
| mime-types | 3.2.2 |
| declarative | 0.0.10 |
| declarative-option | 0.1.0 |
| uber | 0.1.0 |
| representable | 3.0.4 |
| retriable | 3.1.2 |
| google-api-client | 0.23.9 |
| digest-crc | 0.4.1 |
| google-cloud-env | 1.1.0 |
| google-cloud-core | 1.3.0 |
| google-cloud-storage | 1.16.0 |
| json | 2.2.0 |
| mini_magick | 4.5.1 |
| multi_xml | 0.6.0 |
| plist | 3.5.0 |
| rubyzip | 1.2.3 |
| security | 0.1.3 |
| naturally | 2.2.0 |
| simctl | 1.6.5 |
| slack-notifier | 2.3.2 |
| terminal-notifier | 2.0.0 |
| unicode-display_width | 1.6.0 |
| terminal-table | 1.8.0 |
| tty-screen | 0.7.0 |
| tty-cursor | 0.7.0 |
| tty-spinner | 0.9.1 |
| word_wrap | 1.0.0 |
| atomos | 0.1.3 |
| claide | 1.0.2 |
| colored2 | 3.1.2 |
| nanaimo | 0.2.6 |
| xcodeproj | 1.10.0 |
| rouge | 2.0.7 |
| xcpretty | 0.3.0 |
| xcpretty-travis-formatter | 1.0.0 |
generated on: 2019-06-20
About this issue
- Original URL
- State: closed
- Created 5 years ago
- Reactions: 1
- Comments: 18 (3 by maintainers)
I still see this issue almost daily with the latest version of fastlane.
It seems like this issue might be related to code signing 🚫
Have you seen our new Code Signing Troubleshooting Guide? It will help you resolve the most common code signing issues 👍