Comments (14)
@KrauseFx it works, thanks!
from fastlane.
Thanks for your detailed report and sorry for not coming back earlier.
You can remove the first system('floatsign')
, right?
The problem you described is caused because of
https://github.com/KrauseFx/CredentialsManager/blob/master/lib/credentials_manager/password_manager.rb#L30
self.username ||= ENV["DELIVER_USER"] || id_to_use || AppfileConfig.try_fetch_value(:apple_id) || load_from_keychain[0]
I'll update it to use the parameter first.
from fastlane.
Here we go: fastlane-old/credentials_manager@9d11249
Please download the CredentialsManager
as zip and run sudo bundle install
and sudo rake install
and try again.
from fastlane.
Please try the latest version https://github.com/KrauseFx/fastlane/releases/tag/0.1.2 👍
from fastlane.
I've added the first system('floatsign')
just in case the .ipa
was not made with the most up to date profile. Combined with sigh :skip_install
flag this could easily be the case.
As for the issue, it doesn't seem to be fixed yet. It works good when using sigh
from command line, but from fastlane
it's still the same.
I think it happens because here the user
is empty when the lib is called from fastlane
:
https://github.com/KrauseFx/sigh/blob/master/lib/sigh/developer_center.rb#L71
Password manager is only initialized with value from SIGH_USERNAME
when using standalone sigh
command, not the lib:
https://github.com/KrauseFx/sigh/blob/master/bin/sigh#L67
from fastlane.
Having the same problem. Would be glad to have a solution for this 👍
from fastlane.
I have found an easy way to reproduce it with this lane (.ipa
file is already present in the directory and Deliverfile
simply points to that file):
lane :external do
sigh :skip_install
deliver :beta
end
At first sigh
asks me for Developer's Portal account, but then fails to login to iTunesConnect because it doesn't ask it again but uses the previous account.
EDIT: Same happens if SIGH_USERNAME
and DELIVER_USER
are configured with different emails. If I comment out sigh
everything completes successfully.
from fastlane.
👍 I'm also a member of multiple teams with a single email on the Member Centre on developer.apple.com. And I use different emails for each of the related iTC accounts on itunesconnect.apple.com (out of necessity as iTC doesn't support multiple accounts under one email address).
Would be nice if fastlane would support this use case!
from fastlane.
@lmirosevic as far as I know, you can always add a ENV["DELIVER_USER"] = "[email protected]"
before each of the steps.
from fastlane.
This can probably be closed. There is ENV['DELIVER_USER']
and the email
property in the Deliverfile that would let you select a (different) iTC account.
from fastlane.
This is still an issue. Even when changing the DELIVER_USER
and DELIVER_PASSWORD
before calling deliver, it still uses the login session from when I call sigh
lane :demo do
increment_build_number
ipa({
clean: false,
workspace: ENV['WORKSPACE'],
configuration: 'AdHoc',
scheme: ENV['SCHEME']
})
ENV['DELIVER_USER']='developer.apple.com email'
ENV['DELIVER_PASSWORD']='developer.apple.com password'
sigh(
force: false,
output_path: "./fastlane/profiles",
adhoc: true
)
ENV['DELIVER_USER']='itunes connect email'
ENV['DELIVER_PASSWORD']='itunes connect password'
deliver(beta: true)
slack(message: "Demo app successfully deployed!")
end
Please advise if I am missing something.
from fastlane.
@t2 Have you tried using:
sigh(username: 'developer.apple.com email')
from fastlane.
@KrauseFx I did:
sigh(username: 'email', password: 'password')
throws
You passed invalid parameters to 'sigh'.
sign(username: 'email')
throws
``send_login_request': #Faraday::Response:0x000001020d9be0 (Spaceship::Client::InvalidUserCredentialsError)`
from fastlane.
This works now, add this to your Appfile
. Let me know how that works 👍
from fastlane.
Related Issues (20)
- ARCHIVE FAILED The following build commands failed: ...(in target 'React-rncore' from project 'Pods') HOT 10
- Unable to deploy iOS app to apple app store using fastlane HOT 1
- failed to authenticate with fastlane API key with Azure pipeline HOT 2
- Exit status: 65 HOT 1
- Apple changed AppStatus 'Ready for Sales' to 'Ready for Distribution' HOT 2
- `match init` assumes a default branch of `master` when using git storage, which is no longer the Github default HOT 1
- upload_to_app_store does not upload release_notes.txt. No error thrown. All other metadata files are uploaded HOT 1
- Unable to upload to app store " Could not find action, lane or variable 'id'" HOT 1
- No ipa or pkg file given while uploading to app store HOT 7
- [spaceship] incomplete support for tvOS platform HOT 2
- Fastlane could not find action or lane 'get_certificates' HOT 1
- The version number has been previously used.
- `fastlane build_app` is trying to access Development provisioning profiles when run for `appstore` only with Github Actions HOT 5
- Fastlane run_tests fails when attempting to get runtimes
- Generated error ENV HOT 2
- Fastlane `2.219.0` was published without changes. HOT 2
- "ar-SA - Invalid request" when uploading metadata to Play Store with a locale it does not support HOT 1
- gym export_options : {method} resolves into empty string HOT 2
- Documentation for iOS screenshots on Xcode is outdated.
- TestFairy Action Fails with NoMethodError for key? Method on String
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from fastlane.