Comments (10)
Could you please share your Appfile
? Are you using the for_platform
or for_lane
block?
You're right, cert
shouldn't ask you for the team.
from cert.
My Appfile:
app_identifier "com.company.bundleid" # The bundle identifier of your app
apple_id "[email protected]" # Your Apple email address
# You can uncomment any of the lines below and add your own
# team selection in case you're in multiple teams
team_name "John Doe"
team_id "YYYYYYY"
# you can even provide different app identifiers, Apple IDs and team names per lane:
# https://github.com/KrauseFx/fastlane/blob/master/docs/Advanced.md#the-appfile
This is how I call the cert()
:
platform :ios
# ....
desc "Submit a new Beta Build to Apple TestFlight"
desc "This will also make sure the profile is up to date"
lane :beta do
# snapshot
cert
sigh(adhoc: true)
deliver(beta: true)
# sh "your_script.sh"
# You can also use other beta testing services here
end
end
from cert.
It looks like I can get around this by using:
cert(team_id: 'YYYYYYY')
from cert.
I have the same problem with both cert, sigh and pem. similar appfile to the one above
from cert.
@tskulbru are you using the latest version?
from cert.
@KrauseFx in case this helps, I'm having this same issue with:
sigh 0.10.9
fastlane 1.32.1
pretty much a vanilla appfile:
for_lane :staging do
app_identifier 'xxxxxxx'
apple_id "[email protected]"
team_name "xxxxxx"
team_id "xxxxx"
end
and fastfile:
lane :staging do
cert
sigh({
app_identifier: "xxx.staging"
})
sigh({
app_identifier: "xxx.watchkitapp"
})
sigh({
app_identifier: "xxx.watchkitextension"
})
cocoapods
gym(
scheme: "Staging",
configuration: "Release",
)
deliver(
beta: true
)
end
btw thank you so much for the killer suite of tools that is fastlane
I can confirm that @besi's fix works, however.
from cert.
I'm having this issue as well
Appfile
for_platform :ios do
for_lane :beta do
app_identifier "xxx.xxx.ios.beta"
apple_id "[email protected]"
team_name "XXX XX"
team_id "XXXXXXXXXX"
end
end
Fastfile
fastlane_version "1.32.3"
default_platform :ios
platform :ios do
lane :beta do
cert
end
end
Console output
XXX:XXX xxxx$ fastlane ios beta
[09:04:24]: -------------------------------------------------
[09:04:24]: --- Step: Verifying required fastlane version ---
[09:04:24]: -------------------------------------------------
[09:04:24]: fastlane version valid
[09:04:24]: ------------------------------
[09:04:24]: --- Step: default_platform ---
[09:04:24]: ------------------------------
[09:04:24]: Driving the lane 'ios beta' 🚀
[09:04:24]: ------------------
[09:04:24]: --- Step: cert ---
[09:04:24]: ------------------
+-------------+----------------------------------+
| Summary |
+-------------+----------------------------------+
| development | false |
| username | [email protected] |
| output_path | . |
+-------------+----------------------------------+
[09:04:25]: Starting login with user '[email protected]'
Multiple teams found, please enter the number of the team you want to use:
1) XXXXXXXXXX "XXX XX" (Company/Organization)
2) YYYYYYYYYY "YYY YY" (In-House)
Passing team_id
to cert
works fine
from cert.
@marthinfreij Could you try adding this to your Fastfile
before calling cert
:
team_id "your_team_id"
from cert.
@KrauseFx yep, then it works
from cert.
This issue was migrated to fastlane/fastlane#3116. 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
from cert.
Related Issues (20)
- Error: account_manager.rb:61:in `ask_for_login': uninitialized constant HOT 3
- Could not find the newly generated certificate installed (RuntimeError) if WWDR Intermediate is missing HOT 3
- Can cert just download the existing certificates? HOT 3
- Unable to download Provisioning Profile HOT 2
- Crash 3c85c1f6662e251634e0f52738024c07: cert does not handle 302 response from Apple Server HOT 3
- Find correct development certificate HOT 2
- Error when contacting https://developerservices2.apple.com/services/QH65B2/listTeams.action "Your session has expired. Please log in." HOT 4
- Cert doesn't prevent codesign from prompting to be allowed to sign. HOT 1
- Cert doesn't import certs previously requested from the output path if the P!2 is there. HOT 3
- Option to specify existing Private Key HOT 6
- Couldn't creating a new certificate HOT 13
- Force to download a certificate with fastlane HOT 4
- undefined method `message' HOT 2
- Default behavior with force flag set to false? HOT 3
- Unable to specify a specific certificate to use HOT 1
- Could not find the newly generated certificate installed HOT 4
- Could not find the newly generated certificate installed HOT 1
- Certificate not found HOT 8
- Couldn't download certificate, got this instead: HTTP 405 Method Not Allowed HOT 16
- Couldn't find an existing certificate... creating a new one HOT 2
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 cert.