Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to create an app on itunes connect via spaceship or produce. Error: The App Name you entered has already been used #5102

Closed
2 tasks done
sungolo opened this issue Jun 10, 2016 · 10 comments

Comments

@sungolo
Copy link

sungolo commented Jun 10, 2016

New Issue Checklist

Issue Description

Complete output when running fastlane, including the stack trace and command used
fastlane ios start sku:"TestFastlane" app_name:"Test Fastlane" app_identifier:"com.somedomain.testfastlane" app_version:"1.0"
[11:58:06]: ------------------------------
[11:58:06]: --- Step: default_platform ---
[11:58:06]: ------------------------------
[11:58:06]: Driving the lane 'ios start' 🚀
[11:58:06]: {:sku=>"TestFastlane", :app_name=>"Test Fastlane", :app_identifier=>"com.somedomain.testfastlane", :app_version=>"1.0"}
[11:58:06]: -------------------
[11:58:06]: --- Step: slack ---
[11:58:06]: -------------------
[11:58:07]: Successfully sent Slack notification
[11:58:07]: start
[11:58:07]: -------------------------------------------
[11:58:07]: --- Step: Switch to ios createcert lane ---
[11:58:07]: -------------------------------------------
[11:58:07]: Cruising over to lane 'ios createcert' 🚖
[11:58:07]: createcert
[11:58:07]: ------------------
[11:58:07]: --- Step: cert ---
[11:58:07]: ------------------

+---------------+---------------------------------------------------+
|                      Summary for cert 1.4.1                       |
+---------------+---------------------------------------------------+
| development   | true                                              |
| force         | false                                             |
| username      | sung@somedomain.com                               |
| team_id       | XXXX                                              |
| team_name     | XXXX                                              |
| keychain_path | /Users/SungCheng/Library/Keychains/login.keychain |
+---------------+---------------------------------------------------+

[11:58:07]: Starting login with user 'sung@somedomain.com'
[11:58:09]: Successfully logged in
[11:58:11]: Found the certificate XXXX (Sung Cheng) which is installed on the local machine. Using this one.
[11:58:11]: Verifying the certificated is properly installed locally...
[11:58:11]: Successfully installed certificate XXXX
[11:58:11]: Use signing certificate 'XXXX' from now on!
[11:58:11]: Cruising back to lane 'ios start' 🚘
[11:58:11]: ------------------------------------------
[11:58:11]: --- Step: Switch to ios createapp lane ---
[11:58:11]: ------------------------------------------
[11:58:11]: Cruising over to lane 'ios createapp' 🚖
[11:58:11]: createapp
[11:58:11]: ---------------------
[11:58:11]: --- Step: produce ---
[11:58:11]: ---------------------

+----------------+----------------------+
|       Summary for produce 1.1.2       |
+----------------+----------------------+
| username       | sung@somedomain.com         |
| app_identifier | com.somedomain.testfastlane |
| app_name       | Test Fastlane        |
| app_version    | 1.0                  |
| sku            | TestFastlane         |
| language       | English              |
| skip_itc       | false                |
| skip_devcenter | false                |
| team_id        | XXXX           |
| team_name      | XXXX   |
+----------------+----------------------+

[11:58:13]: [DevCenter] App 'com.somedomain.testfastlane' already exists, nothing to do on the Dev Center
[11:58:15]: Creating new app 'Test Fastlane' on iTunes Connect
[11:58:28]: -------------------
[11:58:28]: --- Step: slack ---
[11:58:28]: -------------------
[11:58:29]: Successfully sent Slack notification
[11:58:29]: Variable Dump:
[11:58:29]: {:DEFAULT_PLATFORM=>:ios, :PLATFORM_NAME=>:ios, :LANE_NAME=>"ios start", :CERT_FILE_PATH=>"/Users/SungCheng/Documents/Git/mobile-platform/XXXX.cer", :CERT_CERTIFICATE_ID=>"XXXX"}
[11:58:29]: The App Name you entered has already been used. The App Name you entered has already been used. The App Name you entered has already been used.

+------+-------------------------------+-------------+
|                  fastlane summary                  |
+------+-------------------------------+-------------+
| Step | Action                        | Time (in s) |
+------+-------------------------------+-------------+
| 1    | default_platform              | 0           |
| 2    | slack                         | 1           |
| 3    | Switch to ios createcert lane | 0           |
| 4    | cert                          | 3           |
| 5    | Switch to ios createapp lane  | 0           |
| 6    | produce                       | 17          |
| 7    | slack                         | 0           |
+------+-------------------------------+-------------+

[11:58:29]: fastlane finished with errors

[!] The request could not be completed because:
    The App Name you entered has already been used. The App Name you entered has already been used. The App Name you entered has already been used.

Configuration Files

Please copy the complete content of your Fastfile and any other configuration files you use below:

Fastfile:

default_platform :ios

app_version:"1.0"

platform :ios do

  before_all do |lane, options|
    puts options

    ENV["SLACK_URL"] = "XXXX"
    ENV["PRODUCE_APP_IDENTIFIER"] = options[:app_identifier]
    ENV["PRODUCE_APP_NAME"] = options[:app_name]
    ENV["PRODUCE_VERSION"] = options[:app_version]
    ENV["PRODUCE_SKU"] = options[:sku]
    ENV["CERT_DEVELOPMENT"] = "true"

    slack(
      message: "Starting to create app and provisions in itunesconnect and developer portal for app identiifer => " + options[:app_identifier]
    )    
  end

  desc "start"
  lane :start do |options|
    puts "start"

    createcert
    createapp
    createprovisions
  end

  desc "Create cert"
  lane :createcert do |options|
    puts "createcert"
    cert(
      development: true
    )
  end

  desc "Create app in itunesconnect and developer portal "
  lane :createapp do |options|
    puts "createapp"
    produce
  end

  desc "Create provisions"
  lane :createprovisions do |options|
    puts "createprovisions"
  end

  after_all do |lane, options|
    slack(
        message: "Finish to create app and provisions in itunesconnect and developer portal for app identiifer => " + options[:app_identifier],
      )
  end

  error do |lane, exception, options|
    slack(
      message: "Error creating app and provisions for app identiifer => " + options[:app_identifier] + ". " + exception.message,
      success: false
    )
  end
end

Environment

fastlane version (run fastlane -v):
1.94.1
Do you use bundler to execute fastlane (i.e. bundle exec fastlane)?
n
Do you use a Ruby environment manager (e.g. chruby, rbenv, rvm)?
n

@nicolasbraun
Copy link
Contributor

Well I suppose someone already declared an app named Test Fastlane and app names on iTc are to be unique per country. Did you try another name ?

@sungolo
Copy link
Author

sungolo commented Jun 15, 2016

Ok I didn't realize that. I thought the bundle had to be unique and I didn't realize app name was as well. I tried a diff name and was able to create. Thanks.

@cagataycali
Copy link

I'm using only deliver module in cli. How can I publish new project in ITC?

produce --app_name Baska
gym --use_legacy_build_api true
deliver -f y --price_tier 0.99 --app_rating_config_path ./fastlane/rating_config.json -i /Users/cagatay/Desktop/Baska/Baska.ipa

`➜ Baska produce --app_name Baska2

+----------------+------------------------------+
| Summary for produce 1.2.0 |
+----------------+------------------------------+
| app_name | Baska2 |
| username | thelastcodebenders@gmail.com |
| app_identifier | com.thelastcodebenders.baska |
| sku | 1472105174 |
| language | English |
| skip_itc | false |
| skip_devcenter | false |
| team_id | CE87WM625B |
+----------------+------------------------------+

[23:06:18]: [DevCenter] App 'com.thelastcodebenders.baska' already exists, nothing to do on the Dev Center
[23:06:22]: [iTC] App 'com.thelastcodebenders.baska' already exists (1147320839), nothing to do on iTunes Connect
1147320839
➜ Baska deliver -f y --price_tier 0.99 --app_rating_config_path ./fastlane/rating_config.json -i /Users/cagatay/Desktop/Baska/Baska.ipa
[23:06:25]: Login to iTunes Connect (thelastcodebenders@gmail.com)
[23:06:28]: Login successful

+--------------------------------------+----------------------------------------+
| deliver 1.13.3 Summary |
+--------------------------------------+----------------------------------------+
| force | y |
| price_tier | 0.99 |
| app_rating_config_path | ./fastlane/rating_config.json |
| ipa | /Users/cagatay/Desktop/Baska/Baska.ipa |
| app_identifier | com.thelastcodebenders.baska |
| username | thelastcodebenders@gmail.com |
| app_review_information.first_name | Felix |
| app_review_information.last_name | Krause |
| app_review_information.phone_number | +43 123123123 |
| app_review_information.email_address | github@krausefx.com |
| app_review_information.demo_user | demoUser |
| app_review_information.demo_password | ******** |
| app_review_information.notes | such notes, very text |
| automatic_release | true |
| screenshots_path | ./fastlane/screenshots |
| metadata_path | ./fastlane/metadata |
| app_version | 1.0 |
| skip_binary_upload | false |
| skip_screenshots | false |
| skip_metadata | false |
| submit_for_review | false |
| dev_portal_team_id | CE87WM625B |
+--------------------------------------+----------------------------------------+

[23:06:28]: Making sure the latest version on iTunes Connect matches '1.0' from the ipa file...
[23:06:29]: '1.0' is the latest version on iTunes Connect
[23:06:29]: Loading './fastlane/metadata/en-CA/description.txt'...
[23:06:29]: Loading './fastlane/metadata/en-CA/keywords.txt'...
[23:06:29]: Loading './fastlane/metadata/en-CA/release_notes.txt'...
[23:06:29]: Loading './fastlane/metadata/en-CA/support_url.txt'...
[23:06:29]: Loading './fastlane/metadata/en-CA/marketing_url.txt'...
[23:06:29]: Loading './fastlane/metadata/en-CA/name.txt'...
[23:06:29]: Loading './fastlane/metadata/en-CA/privacy_url.txt'...
[23:06:29]: Loading './fastlane/metadata/en-GB/description.txt'...
[23:06:29]: Loading './fastlane/metadata/en-GB/keywords.txt'...
[23:06:29]: Loading './fastlane/metadata/en-GB/release_notes.txt'...
[23:06:29]: Loading './fastlane/metadata/en-GB/support_url.txt'...
[23:06:29]: Loading './fastlane/metadata/en-GB/marketing_url.txt'...
[23:06:29]: Loading './fastlane/metadata/en-GB/name.txt'...
[23:06:29]: Loading './fastlane/metadata/en-GB/privacy_url.txt'...
[23:06:29]: Loading './fastlane/metadata/en-US/description.txt'...
[23:06:29]: Loading './fastlane/metadata/en-US/keywords.txt'...
[23:06:29]: Loading './fastlane/metadata/en-US/release_notes.txt'...
[23:06:29]: Loading './fastlane/metadata/en-US/support_url.txt'...
[23:06:29]: Loading './fastlane/metadata/en-US/marketing_url.txt'...
[23:06:29]: Loading './fastlane/metadata/en-US/name.txt'...
[23:06:29]: Loading './fastlane/metadata/en-US/privacy_url.txt'...
[23:06:29]: Loading './fastlane/metadata/tr/description.txt'...
[23:06:29]: Loading './fastlane/metadata/tr/keywords.txt'...
[23:06:29]: Loading './fastlane/metadata/tr/release_notes.txt'...
[23:06:29]: Loading './fastlane/metadata/tr/support_url.txt'...
[23:06:29]: Loading './fastlane/metadata/tr/marketing_url.txt'...
[23:06:29]: Loading './fastlane/metadata/tr/name.txt'...
[23:06:29]: Loading './fastlane/metadata/tr/privacy_url.txt'...
[23:06:29]: Loading './fastlane/metadata/copyright.txt'...
[23:06:29]: Loading './fastlane/metadata/primary_category.txt'...
[23:06:29]: Loading './fastlane/metadata/secondary_category.txt'...
[23:06:29]: Loading './fastlane/metadata/primary_first_sub_category.txt'...
[23:06:29]: Loading './fastlane/metadata/primary_second_sub_category.txt'...
[23:06:29]: Loading './fastlane/metadata/secondary_first_sub_category.txt'...
[23:06:29]: Loading './fastlane/metadata/secondary_second_sub_category.txt'...
[23:06:30]: Activating languages en-CA, en-GB, en-US, tr...
[23:06:34]: Uploading metadata to iTunes Connect

Looking for related GitHub issues on fastlane/fastlane...

➡️ Unable to create an app on itunes connect via spaceship or produce. Error: The App Name you entered has already been used
#5102 [closed] 2 💬
15 Jun 2016

➡️ Produce failing to create app in iTunesConnect
#5728 [closed] 6 💬
a day ago

➡️ iTunes Connect login fails
#3502 [closed] 9 💬
08 Mar 2016

[!] The request could not be completed because:
The App Name you entered has already been used. The App Name you entered has already been used.`

I'm getting this error again.

@KrauseFx
Copy link
Member

@cagataycali It really just means that the app name is already taken:

The App Name you entered has already been used. The App Name you entered has already been used

@cagataycali
Copy link

@KrauseFx Yes, it is definitely a name to an existing application . But the content is updated , I get this error when I try deliver

@nicolasbraun
Copy link
Contributor

Yes but the name you choose (the one displayed on the App Store) is taken

@TKBurner
Copy link

TKBurner commented Aug 29, 2016

@cagataycali Thanks for following up. Have you run fastlane init on this project? Did this project previously work with deliver? Thanks!

@waroo
Copy link

waroo commented Sep 27, 2016

Is there a way to determine which country the error is applicable to?

@TKBurner
Copy link

TKBurner commented Oct 4, 2016

@waroo Interesting idea. I don't think we display that right now.

@waroo
Copy link

waroo commented Oct 4, 2016

@TKBurner I've created a new issue for the language code at #6382

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

7 participants