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)
- Fastlane is not reading macros from Package.Swift (SPM)
- fastlane sigh download_all and "Error parsing provisioning profile at path..."
- fastlane match HOT 4
- bundler: command not found: fastlane
- Individual API Key not supported HOT 3
- fastlane deliver init is not working in CLI
- JEG2/highline should be updated to avoid warning of abbrev missing in standard lib for ruby 3.3.0
- How to get raw exit code from Fastlane HOT 1
- Match import to s3 Crash on encrypting. HOT 2
- Provisioning profile expiration comparison compares Time and DateTime
- AvailableTerritories is deprecated and fastlane is not upgraded to new api endpoints HOT 2
- Match managing provisioning profiles for DriverKit
- curb-1.0.0/lib/curl/easy.rb - Failed to read/open file
- `match` behaves differently in v2.220.0: `wrong final block length` HOT 9
- Can't upload build to Test Flight; [!] undefined method `refresh!' HOT 1
- A parameter has an invalid value - 'prices' is not a valid relationship name HOT 6
- I run the command 'fastlane match development'. and i got the following error: Looking for related GitHub issues on fastlane/fastlane... Found no similar issues. To create a new issue, please visit: https://github.com/fastlane/fastlane/issues/new Run fastlane env to append the fastlane environment to your issue [!] The request could not be completed because: This request is forbidden for security reasons - You currently don't have access to this membership resource. Contact your team's Account Holder, or an Admin.
- Build_for_testing fails sporadically with error 'Could not find or use auto-linked framework' HOT 2
- Can fastlane support filling in Chinaβs ICP registration number?
- [match] provisioning profile generated via match blocks release installation on TestFlight (or on device)
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.