fastlane: `fastlane init` fails, missing company name, creating first app in app store connect
🔑
New Issue Checklist
- Updated fastlane to the latest version
- I read the Contribution Guidelines
- I read docs.fastlane.tools
- I searched for existing GitHub issues
Issue Description
When I run fastlane init:
- using a team account
- creating a new app in app store connect
- with no other apps existing in app store connect
I get this message:
[22:11:56]: ["The request could not be completed because:", "You must provide a company name to use on the App Store. You must provide a company name to use on the App
Store."]
From other issues and a scan of the docs for produce, it seems that I need to give it a company_name, but I’m not sure how to do that via fastlane init, which doesn’t appear to take such params (based on fastlane init --help, at least).
Command executed
fastlane init
Complete output when running fastlane, including the stack trace and command used
➜ fastlane init [22:11:11]: Detected an iOS/macOS project in the current directory: 'the-liturgists.xcworkspace' [22:11:11]: ----------------------------- [22:11:11]: --- Welcome to fastlane 🚀 --- [22:11:11]: ----------------------------- [22:11:11]: fastlane can help you with all kinds of automation for your mobile app [22:11:11]: We recommend automating one task first, and then gradually automating more over time [22:11:11]: What would you like to use fastlane for? 1. 📸 Automate screenshots 2. 👩✈️ Automate beta distribution to TestFlight 3. 🚀 Automate App Store distribution 4. 🛠 Manual setup - manually setup your project to automate your tasks ? 2 [22:11:15]: ----------------------------------------------------------- [22:11:15]: --- Setting up fastlane for iOS TestFlight distribution --- [22:11:15]: ----------------------------------------------------------- [22:11:15]: Parsing your local Xcode project to find the available schemes and the app identifier [22:11:15]: $ xcodebuild -showBuildSettings -workspace the-liturgists.xcworkspace -scheme the-liturgists [22:11:17]: $ cd /Users/brhiggins/src/theliturgists/app/ios && agvtool what-version -terse [22:11:18]: -------------------------------- [22:11:18]: --- Login with your Apple ID --- [22:11:18]: -------------------------------- [22:11:18]: To use App Store Connect and Apple Developer Portal features as part of fastlane, [22:11:18]: we will ask you for your Apple ID username and password [22:11:18]: This is necessary for certain fastlane features, for example: [22:11:18]: [22:11:18]: - Create and manage your provisioning profiles on the Developer Portal [22:11:18]: - Upload and manage TestFlight and App Store builds on App Store Connect [22:11:18]: - Manage your App Store Connect app metadata and screenshots [22:11:18]: [22:11:18]: Your Apple ID credentials will only be stored in your Keychain, on your local machine [22:11:18]: For more information, check out [22:11:18]: https://github.com/fastlane/fastlane/tree/master/credentials_manager [22:11:18]: [22:11:18]: Please enter your Apple ID developer credentials [22:11:18]: Apple ID Username: <snip> [22:11:26]: Logging in... Multiple App Store Connect teams found, please enter the number of the team you want to use: 1) "Brett Higgins" 2) "The Liturgists, Inc." 2 [22:11:32]: ✅ Logging in with your Apple ID was successful [22:11:32]: Checking if the app 'com.theliturgists.app' exists in your Apple Developer Portal... [22:11:32]: ✅ Your app 'com.theliturgists.app' is available in your Apple Developer Portal [22:11:32]: Checking if the app 'com.theliturgists.app' exists on App Store Connect... [22:11:33]: Looks like the app 'com.theliturgists.app' isn't available on App Store Connect [22:11:33]: for the team ID '<snip>' on Apple ID '<my email>' [22:11:33]: Would you like fastlane to create the App on App Store Connect for you? (y/n) y±---------------±------------------------+ | Summary for produce 2.130.0 | ±---------------±------------------------+ | username | (snip) | | team_id | (snip) | | itc_team_id | (snip) | | platform | ios | | app_identifier | com.theliturgists.app | | skip_devcenter | true | | sku | (snip) | | language | English | | skip_itc | false | ±---------------±------------------------+
[22:11:37]: App Name: The Liturgists [22:11:42]: Creating new app ‘The Liturgists’ on App Store Connect [22:11:43]: [“The request could not be completed because:”, “You must provide a company name to use on the App Store. You must provide a company name to use on the App Store.”] [22:11:43]: It looks like something went wrong when we tried to create your app on the Apple Developer Portal [22:11:43]: Would you like to try again (y)? If you enter (n), fastlane will fall back to the manual setup (y/n) n [22:11:56]: -------------------- [22:11:56]: fastlane init failed [22:11:56]: -------------------- [22:11:56]: [“The request could not be completed because:”, “You must provide a company name to use on the App Store. You must provide a company name to use on the App Store.”] [22:11:56]: Something failed while running
fastlane init(loops after this. I stopped with Ctrl-C.)
Environment
✅ fastlane environment ✅
Stack
| Key | Value |
|---|---|
| OS | 10.14.6 |
| Ruby | 2.2.4 |
| Bundler? | false |
| Git | git version 2.13.1 |
| Installation Source | ~/.fastlane/bin/bundle/bin/fastlane |
| Host | Mac OS X 10.14.6 (18G87) |
| Ruby Lib Dir | ~/.fastlane/bin/bundle/lib |
| OpenSSL Version | OpenSSL 1.0.2g 1 Mar 2016 |
| Is contained | false |
| Is homebrew | true |
| Is installed via Fabric.app | false |
| Xcode Path | /Applications/Xcode.app/Contents/Developer/ |
| Xcode Version | 10.3 |
System Locale
| Variable | Value | |
|---|---|---|
| LANG | en_US.UTF-8 | ✅ |
| LC_ALL | en_US.UTF-8 | ✅ |
| LANGUAGE | en_US.UTF-8 | ✅ |
fastlane files:
No Fastfile found
No Appfile found
fastlane gems
| Gem | Version | Update-Status |
|---|---|---|
| fastlane | 2.130.0 | ✅ Up-To-Date |
Loaded fastlane plugins:
No plugins Loaded
Loaded gems
| Gem | Version |
|---|---|
| slack-notifier | 2.3.2 |
| atomos | 0.1.3 |
| CFPropertyList | 2.3.5 |
| claide | 1.0.3 |
| colored2 | 3.1.2 |
| nanaimo | 0.2.6 |
| xcodeproj | 1.12.0 |
| rouge | 2.0.7 |
| xcpretty | 0.3.0 |
| terminal-notifier | 2.0.0 |
| unicode-display_width | 1.1.3 |
| terminal-table | 1.7.3 |
| plist | 3.2.0 |
| public_suffix | 2.0.5 |
| addressable | 2.5.1 |
| multipart-post | 2.0.0 |
| word_wrap | 1.0.0 |
| tty-screen | 0.7.0 |
| tty-cursor | 0.7.0 |
| tty-spinner | 0.9.1 |
| babosa | 1.0.2 |
| colored | 1.2 |
| highline | 1.7.8 |
| commander-fastlane | 4.4.6 |
| excon | 0.55.0 |
| faraday | 0.12.1 |
| unf_ext | 0.0.7.4 |
| unf | 0.1.4 |
| domain_name | 0.5.20170404 |
| http-cookie | 1.0.3 |
| faraday-cookie_jar | 0.0.6 |
| fastimage | 2.1.0 |
| gh_inspector | 1.1.3 |
| json | 1.8.1 |
| mini_magick | 4.9.5 |
| multi_xml | 0.6.0 |
| rubyzip | 1.2.3 |
| security | 0.1.3 |
| xcpretty-travis-formatter | 0.0.4 |
| dotenv | 2.2.0 |
| bundler | 1.14.6 |
| faraday_middleware | 0.11.0.1 |
| naturally | 2.2.0 |
| simctl | 1.6.5 |
| jwt | 2.1.0 |
| uber | 0.0.15 |
| declarative | 0.0.10 |
| declarative-option | 0.1.0 |
| representable | 3.0.4 |
| retriable | 2.1.0 |
| mime-types-data | 3.2016.0521 |
| mime-types | 3.1 |
| multi_json | 1.12.1 |
| signet | 0.11.0 |
| memoist | 0.16.0 |
| os | 0.9.6 |
| googleauth | 0.6.7 |
| httpclient | 2.8.3 |
| google-api-client | 0.23.9 |
| google-cloud-env | 1.2.1 |
| google-cloud-core | 1.3.1 |
| digest-crc | 0.4.1 |
| google-cloud-storage | 1.16.0 |
| emoji_regex | 1.0.1 |
| libxml-ruby | 3.0.0 |
| psych | 2.0.8 |
generated on: 2019-08-31
About this issue
- Original URL
- State: closed
- Created 5 years ago
- Reactions: 1
- Comments: 30
/me continues screaming into the void
I have never used
fastlane initbefore, but I discovered this GitHub issue after receiving the error messageThe request could not be completed because:", "You must provide a company name to use on the App Store. You must provide a company name to use on the App Store.when I ranfastlane produceon my machine.I stopped receiving the error message when I ran
fastlane produce --company_name "Company Name Here"I am not sure why the CLI did not as me to enter my company name if it needed it and I did not provide it? The CLI does a great job at asking for other pieces of information that it does not know.
Probably a good idea. 5 years is a long time so I’m sure this has dropped off the radar.
On Sun, Jul 5, 2020 at 10:49 AM Rahul Shetty notifications@github.com wrote:
– Cheers, Brian https://integrallis.com
@rashtay please see the comment history above. I know this still exists; I argued with the bot for months trying to get some attention from maintainers, and then I gave up. My initial message details why it affects only a particular usage (which may be why it’s received no attention), but I hoped that the fact that potentially every new fastlane user (or new App Store developer at least) could encounter it would be compelling enough to warrant at least a response. Alas, here we are.
I’d be happy for you or anyone else to pick up the charge of trying to get a fastlane maintainer to look at this. As for me, I’m done trying.