fastlane-old / produce Goto Github PK
View Code? Open in Web Editor NEWCreate new iOS apps on iTunes Connect and Dev Portal using the command line
Home Page: https://fastlane.tools
Create new iOS apps on iTunes Connect and Dev Portal using the command line
Home Page: https://fastlane.tools
$ sudo gem install produce
Password:
Successfully installed produce-0.1.4
Parsing documentation for produce-0.1.4
Done installing documentation for produce after 0 seconds
1 gem installed
$ produce
/usr/local/lib/ruby/gems/2.2.0/gems/produce-0.1.4/lib/produce.rb:11:in `<module:Produce>': uninitialized constant FastlaneCore::Helper (NameError)
from /usr/local/lib/ruby/gems/2.2.0/gems/produce-0.1.4/lib/produce.rb:10:in `<top (required)>'
from /usr/local/Cellar/ruby/2.2.0/lib/ruby/2.2.0/rubygems/core_ext/kernel_require.rb:69:in `require'
from /usr/local/Cellar/ruby/2.2.0/lib/ruby/2.2.0/rubygems/core_ext/kernel_require.rb:69:in `require'
from /usr/local/lib/ruby/gems/2.2.0/gems/produce-0.1.4/bin/produce:5:in `<top (required)>'
from /usr/local/bin/produce:23:in `load'
from /usr/local/bin/produce:23:in `<main>'
$
Most people don't care about SKU when submitting apps.
You can try to just do a random 6 digit number. There are statistically small chances that you have a collision on SKU, and the user can do this more automatically
I don't understand why something like app_identifier is needed in fastlane, if this is already specified in the Appfile. How can I use the value from there to avoid having it in two places?
I am getting this error in build script with produce
[37m[14:14:17]: �[0m�[32m---------------------�[0m
�[37m[14:14:17]: �[0m�[32m--- �[0m�[32mStep: produce�[0m�[32m ---�[0m
�[37m[14:14:17]: �[0m�[32m---------------------�[0m
�[37m[14:14:20]: �[0m�[32mApp 'Natural Flooring Solutions' already exists, nothing to do on the Dev Center�[0m
�[37m[14:14:23]: �[0m�[32mCreating new app 'Natural Flooring Solutions' on iTunes Connect�[0m
�[37m[14:14:24]: �[0m�[33mVariable Dump:�[0m
�[37m[14:14:24]: �[0m{:ENVIRONMENT=>nil, :PLATFORM_NAME=>nil, :LANE_NAME=>"deploy", :BUILD_NUMBER=>0}
�[1m�[31m[14:14:24]: �[0m�[0mYou must choose a primary language. You must choose a primary language.
�[1m�[31m[14:14:24]: �[0m�[0m�[31mfastlane finished with errors�[0m
/Library/Ruby/Gems/2.0.0/gems/spaceship-0.2.0/lib/spaceship/tunes/tunes_client.rb:114:in `handle_itc_response': You must choose a primary language. You must choose a primary language. (Spaceship::TunesClient::ITunesConnectError)
from /Library/Ruby/Gems/2.0.0/gems/spaceship-0.2.0/lib/spaceship/tunes/tunes_client.rb:164:in `create_application!'
from /Library/Ruby/Gems/2.0.0/gems/spaceship-0.2.0/lib/spaceship/tunes/application.rb:89:in `create!'
from /Library/Ruby/Gems/2.0.0/gems/produce-0.4.1/lib/produce/itunes_connect.rb:25:in `create_new_app'
from /Library/Ruby/Gems/2.0.0/gems/produce-0.4.1/lib/produce/itunes_connect.rb:12:in `run'
from /Library/Ruby/Gems/2.0.0/gems/produce-0.4.1/lib/produce/manager.rb:6:in `start_producing'
from /Library/Ruby/Gems/2.0.0/gems/fastlane-1.11.0/lib/fastlane/actions/produce.rb:20:in `block in run'
from /Library/Ruby/Gems/2.0.0/gems/fastlane-1.11.0/lib/fastlane/actions/produce.rb:18:in `chdir'
from /Library/Ruby/Gems/2.0.0/gems/fastlane-1.11.0/lib/fastlane/actions/produce.rb:18:in `run'
from /Library/Ruby/Gems/2.0.0/gems/fastlane-1.11.0/lib/fastlane/runner.rb:142:in `block (2 levels) in execute_action'
from /Library/Ruby/Gems/2.0.0/gems/fastlane-1.11.0/lib/fastlane/actions/actions_helper.rb:62:in `execute_action'
from /Library/Ruby/Gems/2.0.0/gems/fastlane-1.11.0/lib/fastlane/runner.rb:128:in `block in execute_action'
from /Library/Ruby/Gems/2.0.0/gems/fastlane-1.11.0/lib/fastlane/runner.rb:127:in `chdir'
from /Library/Ruby/Gems/2.0.0/gems/fastlane-1.11.0/lib/fastlane/runner.rb:127:in `execute_action'
from /Library/Ruby/Gems/2.0.0/gems/fastlane-1.11.0/lib/fastlane/fast_file.rb:108:in `method_missing'
from (eval):36:in `block (2 levels) in parse'
from /Library/Ruby/Gems/2.0.0/gems/fastlane-1.11.0/lib/fastlane/lane.rb:29:in `call'
from /Library/Ruby/Gems/2.0.0/gems/fastlane-1.11.0/lib/fastlane/lane.rb:29:in `call'
from /Library/Ruby/Gems/2.0.0/gems/fastlane-1.11.0/lib/fastlane/runner.rb:50:in `block in execute'
from /Library/Ruby/Gems/2.0.0/gems/fastlane-1.11.0/lib/fastlane/runner.rb:44:in `chdir'
from /Library/Ruby/Gems/2.0.0/gems/fastlane-1.11.0/lib/fastlane/runner.rb:44:in `execute'
from /Library/Ruby/Gems/2.0.0/gems/fastlane-1.11.0/lib/fastlane/lane_manager.rb:36:in `cruise_lane'
from /Library/Ruby/Gems/2.0.0/gems/fastlane-1.11.0/lib/fastlane/command_line_handler.rb:31:in `handle'
from /Library/Ruby/Gems/2.0.0/gems/fastlane-1.11.0/bin/fastlane:35:in `block (2 levels) in run'
from /Library/Ruby/Gems/2.0.0/gems/commander-4.3.4/lib/commander/command.rb:178:in `call'
from /Library/Ruby/Gems/2.0.0/gems/commander-4.3.4/lib/commander/command.rb:178:in `call'
from /Library/Ruby/Gems/2.0.0/gems/commander-4.3.4/lib/commander/command.rb:153:in `run'
from /Library/Ruby/Gems/2.0.0/gems/commander-4.3.4/lib/commander/runner.rb:428:in `run_active_command'
from /Library/Ruby/Gems/2.0.0/gems/commander-4.3.4/lib/commander/runner.rb:68:in `run!'
from /Library/Ruby/Gems/2.0.0/gems/commander-4.3.4/lib/commander/delegates.rb:15:in `run!'
from /Library/Ruby/Gems/2.0.0/gems/fastlane-1.11.0/bin/fastlane:124:in `run'
from /Library/Ruby/Gems/2.0.0/gems/fastlane-1.11.0/bin/fastlane:130:in `<top (required)>'
from /usr/bin/fastlane:23:in `load'
from /usr/bin/fastlane:23:in `<main>'
Process leaked file descriptors. See http://wiki.jenkins-ci.org/display/JENKINS/Spawning+processes+from+build for more information
Build step 'Execute shell' marked build as failure
Build did not succeed and the project is configured to only push after a successful build, so no pushing will occur.
Finished: FAILURE
Despite my fastlane fast file looking like
lane :deploy do
increment_build_number( build_number: "819" )
produce({
app_name: "Natural Flooring Solutions",
language: "UK English",
version: "1.0",
sku: "natural",
team_name: "MOBILEPHONEAPPS LTD"
})
produce
/Users/user/.rvm/gems/ruby-2.0.0-p594@global/gems/cliver-0.3.2/lib/cliver/dependency.rb:151:in `raise_version_mismatch!': Could not find an executable 'phantomjs' that matched the requirements '~>
1.8', '>= 1.8.1'. Found versions were {"/usr/local/bin/phantomjs"=>"2.0.0"}. (Cliver::Dependency::VersionMismatch)
from /Users/user/.rvm/gems/ruby-2.0.0-p594@global/gems/cliver-0.3.2/lib/cliver/dependency.rb:117:in `detect!'
from /Users/user/.rvm/gems/ruby-2.0.0-p594@global/gems/cliver-0.3.2/lib/cliver.rb:24:in `detect!'
from /Users/user/.rvm/gems/ruby-2.0.0-p594@global/gems/poltergeist-1.5.1/lib/capybara/poltergeist/client.rb:36:in `initialize'
from /Users/user/.rvm/gems/ruby-2.0.0-p594@global/gems/poltergeist-1.5.1/lib/capybara/poltergeist/client.rb:14:in `new'
from /Users/user/.rvm/gems/ruby-2.0.0-p594@global/gems/poltergeist-1.5.1/lib/capybara/poltergeist/client.rb:14:in `start'
from /Users/user/.rvm/gems/ruby-2.0.0-p594@global/gems/poltergeist-1.5.1/lib/capybara/poltergeist/driver.rb:42:in `client'
from /Users/user/.rvm/gems/ruby-2.0.0-p594@global/gems/poltergeist-1.5.1/lib/capybara/poltergeist/driver.rb:25:in `browser'
from /Users/user/.rvm/gems/ruby-2.0.0-p594@global/gems/poltergeist-1.5.1/lib/capybara/poltergeist/driver.rb:190:in `headers='
from /Users/user/.rvm/gems/ruby-2.0.0-p594@global/gems/produce-0.1.1/lib/produce/developer_center.rb:52:in `initialize'
from /Users/user/.rvm/gems/ruby-2.0.0-p594@global/gems/produce-0.1.1/lib/produce/manager.rb:4:in `new'
from /Users/user/.rvm/gems/ruby-2.0.0-p594@global/gems/produce-0.1.1/lib/produce/manager.rb:4:in `start_producing'
from /Users/user/.rvm/gems/ruby-2.0.0-p594@global/gems/produce-0.1.1/bin/produce:35:in `block (2 levels) in run'
from /Users/user/.rvm/gems/ruby-2.0.0-p594@global/gems/commander-4.2.1/lib/commander/command.rb:180:in `call'
from /Users/user/.rvm/gems/ruby-2.0.0-p594@global/gems/commander-4.2.1/lib/commander/command.rb:180:in `call'
from /Users/user/.rvm/gems/ruby-2.0.0-p594@global/gems/commander-4.2.1/lib/commander/command.rb:155:in `run'
from /Users/user/.rvm/gems/ruby-2.0.0-p594@global/gems/commander-4.2.1/lib/commander/runner.rb:421:in `run_active_command'
from /Users/user/.rvm/gems/ruby-2.0.0-p594@global/gems/commander-4.2.1/lib/commander/runner.rb:81:in `run!'
from /Users/user/.rvm/gems/ruby-2.0.0-p594@global/gems/commander-4.2.1/lib/commander/delegates.rb:8:in `run!'
from /Users/user/.rvm/gems/ruby-2.0.0-p594@global/gems/produce-0.1.1/bin/produce:48:in `run'
from /Users/user/.rvm/gems/ruby-2.0.0-p594@global/gems/produce-0.1.1/bin/produce:52:in `<top (required)>'
from /Users/user/.rvm/rubies/ruby-2.0.0-p594/bin/produce:23:in `load'
from /Users/user/.rvm/rubies/ruby-2.0.0-p594/bin/produce:23:in `<main>'
from /Users/user/.rvm/gems/ruby-2.0.0-p594/bin/ruby_executable_hooks:15:in `eval'
from /Users/user/.rvm/gems/ruby-2.0.0-p594/bin/ruby_executable_hooks:15:in `<main>'
I'm getting this exception when using produce 0.4.3 with Environment variables
Library/Ruby/Gems/2.0.0/gems/produce-0.4.3/lib/produce/itunes_connect.rb:8:in `gsub!': can't modify frozen String (RuntimeError)
from /Library/Ruby/Gems/2.0.0/gems/produce-0.4.3/lib/produce/itunes_connect.rb:8:in `run'
from /Library/Ruby/Gems/2.0.0/gems/produce-0.4.3/lib/produce/manager.rb:6:in `start_producing'
from /Library/Ruby/Gems/2.0.0/gems/produce-0.4.3/bin/produce:34:in `block (2 levels) in run'
from /Library/Ruby/Gems/2.0.0/gems/commander-4.3.4/lib/commander/command.rb:178:in `call'
from /Library/Ruby/Gems/2.0.0/gems/commander-4.3.4/lib/commander/command.rb:178:in `call'
from /Library/Ruby/Gems/2.0.0/gems/commander-4.3.4/lib/commander/command.rb:153:in `run'
from /Library/Ruby/Gems/2.0.0/gems/commander-4.3.4/lib/commander/runner.rb:428:in `run_active_command'
from /Library/Ruby/Gems/2.0.0/gems/commander-4.3.4/lib/commander/runner.rb:68:in `run!'
from /Library/Ruby/Gems/2.0.0/gems/commander-4.3.4/lib/commander/delegates.rb:15:in `run!'
from /Library/Ruby/Gems/2.0.0/gems/produce-0.4.3/bin/produce:40:in `run'
from /Library/Ruby/Gems/2.0.0/gems/produce-0.4.3/bin/produce:46:in `<top (required)>'
from /usr/bin/produce:23:in `load'
from /usr/bin/produce:23:in `<main>'
That's my shell script with local variables (maybe it works when new command arguments are used) :
#!/bin/sh
[email protected] PRODUCE_APP_IDENTIFIER=com.blahblah.ios.* PRODUCE_APP_IDENTIFIER_SUFFIX=sc4FHMP PRODUCE_APP_NAME="Awesome App" PRODUCE_LANGUAGE=Spanish PRODUCE_VERSION=1.0 PRODUCE_SKU=419504 FASTLANE_TEAM_ID=N4F65NDX FASTLANE_TEAM_NAME="MySelf" PRODUCE_SKIP_DEVCENTER=YES produce
Feature Request to enable produce to skip the itunes connect part, so people with enterprise accounts can use it too.
The thing is I passed the correct "UK English" string.
My fastfile is this
lane :deploy do
if ENV["CUSTOMAPP_APPLE_ID"].nil? || ENV["CUSTOMAPP_APPLE_ID"].empty?
ENV["PRODUCE_SKIP_DEVCENTER"]="true"
# It will create the app
produce({
produce_username: ENV["DELIVER_USER"],
produce_app_identifier: "com.mycustomapp.*",
produce_app_identifier_suffix: ENV["CUSTOMAPP_BUNDLE_SUFFIX"],
produce_app_name: ENV["CUSTOMAPP_NAME"],
produce_language: ENV["CUSTOMAPP_LANGUAGE"],
produce_version: ENV["CUSTOMAPP_VERSION"],
produce_sku: ENV["CUSTOMAPP_SKU"]
})
# ENV["PRODUCE_APPLE_ID"] is now available
else
ENV["PRODUCE_APPLE_ID"] = ENV["CUSTOMAPP_APPLE_ID"]
end
# Upload all metadata and ipa file
# :skip_deploy = don't send the build in "waiting for review" state
deliver
end
and all my CUSTOMAPP_*
property are inside a .env
file, like this
CUSTOMAPP_ID="34744"
CUSTOMAPP_BUNDLE_SUFFIX="app-34744"
CUSTOMAPP_SKU="CUSTOMAPP_34744"
CUSTOMAPP_VERSION="1.4.1"
CUSTOMAPP_LANGUAGE="UK English"
CUSTOMAPP_CULTURE="en-GB"
...
What am I missing? Why the string changes?
Any help is appreciated
I have about 400 apps in developer.apple.com and due to a recent lawsuit I have to enable "Associated Domains" on all of them.
It would be cool if produce supported providing options to generated identifiers, as some options require mobileprovision regeneration, so the best idea is to tick the options right away.
It doesn't create the ITC App :(
/Library/Ruby/Gems/2.0.0/gems/poltergeist-1.5.1/lib/capybara/poltergeist/node.rb:23:in `rescue in command': Firing a click at co-ordinates [-9910.5, 162.5] failed. Poltergeist detected another element with CSS selector '' at this position. It may be overlapping the element you are trying to interact with. If you don't care about overlapping elements, try using node.trigger('click'). (Capybara::Poltergeist::MouseEventFailed)
from /Library/Ruby/Gems/2.0.0/gems/poltergeist-1.5.1/lib/capybara/poltergeist/node.rb:17:in `command'
from /Library/Ruby/Gems/2.0.0/gems/poltergeist-1.5.1/lib/capybara/poltergeist/node.rb:108:in `click'
from /Library/Ruby/Gems/2.0.0/gems/capybara-2.4.4/lib/capybara/node/element.rb:133:in `block in click'
from /Library/Ruby/Gems/2.0.0/gems/capybara-2.4.4/lib/capybara/node/base.rb:84:in `synchronize'
from /Library/Ruby/Gems/2.0.0/gems/capybara-2.4.4/lib/capybara/node/element.rb:133:in `click'
from /Library/Ruby/Gems/2.0.0/gems/capybara-2.4.4/lib/capybara/node/actions.rb:13:in `click_link_or_button'
from /Library/Ruby/Gems/2.0.0/gems/capybara-2.4.4/lib/capybara/session.rb:676:in `block (2 levels) in <class:Session>'
from /Library/Ruby/Gems/2.0.0/gems/capybara-2.4.4/lib/capybara/dsl.rb:51:in `block (2 levels) in <module:DSL>'
from /Library/Ruby/Gems/2.0.0/gems/produce-0.2.1/lib/produce/itunes_connect.rb:90:in `initial_create'
from /Library/Ruby/Gems/2.0.0/gems/produce-0.2.1/lib/produce/itunes_connect.rb:39:in `create_new_app'
I set the environment variables:
export [email protected]
export PRODUCE_APP_IDENTIFIER=com.xxx.appname
export PRODUCE_APP_NAME=unique_appname
export PRODUCE_LANGUAGE=English
export PRODUCE_VERSION=2.12
export PRODUCE_SKU=APPSKU
And produce is called.
It handles the Apple Dev Portal fine (the app exists), then logs successfully into iTunesConnect and ends with errors. This seems to be the most relevant line:
/Users/darren.ehlers/.rvm/gems/ruby-2.2.0@global/gems/fastlane_core-0.3.2/lib/fastlane_core/itunes_connect/itunes_connect_helper.rb:76:in `wait_for_elements': Couldn't find element '#new-menu > * > a' after waiting for quite some time (FastlaneCore::ItunesConnect::ItunesConnectGeneralError)
Thanks!
Hi @KrauseFx,
I see that there is a new environment variable: PRODUCE_COMPANY_NAME
What is the purpose of it?
Thanks,
Right now produce asks everything it needs before running app. Also on #2 we added if wrap to check if we're skipping iTC, though I found it very ugly. What do you think if we ask for config only we actually need, and still provide initial values.
We could do this by modifying Config.val
to return value or given key if config has it, and if doesn't have then ask user.
This eliminates need to ask all settings beforehand and we don't need to guess which configs we need to ask/not ask. Also users will be able to fully automate using initial values still.
Let me know if you want me to show you code for this. (to make my suggestions clear)
Hello,
When I was trying to produce an app on Itunes I encountered this error message that no value was provided for the parameter appIdName. I believe this problem occurred because the app_name was trying to be used as the appIdName which has restrictions in the ITunes store. Upon further testing, we found that other character sets can be used for the app name, but not the app id name. Since the app_name is the appIdName, parse will throw an error.
This is the production line from my fastlane config file:
produce(
username: 'itunesAccountName',
app_identifier: 'com.sunnyshop.store',
app_name: 'CARRIEME凱麗米-最懂你的旅行保養',
language: 'Traditional Chinese',
app_version: '1.6',
sku: 1439963885
)
+------+-------------------------------------+-------------+
| fastlane summary |
+------+-------------------------------------+-------------+
| Step | Action | Time (in s) |
+------+-------------------------------------+-------------+
| 1 | Verifying required fastlane version | 0 |å
| 2 | default_platform | 0 |
| 3 | snapshot | 303 |
| 4 | cert | 21 |
| 5 | produce | 3 |
+------+-------------------------------------+-------------+
[13:29:07]: fastlane finished with errors
/Library/Ruby/Gems/2.0.0/gems/spaceship-0.5.2/lib/spaceship/client.rb:241:in parse_response': {"responseId"=>"13a69736-e94d-4aec-b781-a5b46703a127", "resultCode"=>35, "resultString"=>"There were errors in the data supplied. Please correct and re-submit.", "userString"=>"No value was provided for the parameter 'appIdName'.", "creationTimestamp"=>"2015-08-19T05:29:26Z", "protocolVersion"=>"QH65B2", "requestId"=>"", "userLocale"=>"en_US", "requestUrl"=>"https://developer.apple.com:443//services-account/QH65B2/account/ios/identifiers/addAppId.action", "httpCode"=>200, "errorMessagesForXcode"=>nil, "suppressed"=>[], "validationMessages"=>[{"validationKey"=>"appIdName", "validationUserMessage"=>"No value was provided for the parameter 'appIdName'."}]} (Spaceship::Client::UnexpectedResponse) from /Library/Ruby/Gems/2.0.0/gems/spaceship-0.5.2/lib/spaceship/portal/portal_client.rb:163:increate_app!'
from /Library/Ruby/Gems/2.0.0/gems/spaceship-0.5.2/lib/spaceship/portal/app.rb:96:in create!' from /Library/Ruby/Gems/2.0.0/gems/produce-0.6.0/lib/produce/developer_center.rb:23:increate_new_app'
from /Library/Ruby/Gems/2.0.0/gems/produce-0.6.0/lib/produce/developer_center.rb:9:in run' from /Library/Ruby/Gems/2.0.0/gems/produce-0.6.0/lib/produce/manager.rb:5:instart_producing'
from /Library/Ruby/Gems/2.0.0/gems/fastlane-1.13.1/lib/fastlane/actions/produce.rb:20:in block in run' from /Library/Ruby/Gems/2.0.0/gems/fastlane-1.13.1/lib/fastlane/actions/produce.rb:18:inchdir'
from /Library/Ruby/Gems/2.0.0/gems/fastlane-1.13.1/lib/fastlane/actions/produce.rb:18:in run' from /Library/Ruby/Gems/2.0.0/gems/fastlane-1.13.1/lib/fastlane/runner.rb:142:inblock (2 levels) in execute_action'
from /Library/Ruby/Gems/2.0.0/gems/fastlane-1.13.1/lib/fastlane/actions/actions_helper.rb:62:in execute_action' from /Library/Ruby/Gems/2.0.0/gems/fastlane-1.13.1/lib/fastlane/runner.rb:128:inblock in execute_action'
from /Library/Ruby/Gems/2.0.0/gems/fastlane-1.13.1/lib/fastlane/runner.rb:127:in chdir' from /Library/Ruby/Gems/2.0.0/gems/fastlane-1.13.1/lib/fastlane/runner.rb:127:inexecute_action'
from /Library/Ruby/Gems/2.0.0/gems/fastlane-1.13.1/lib/fastlane/fast_file.rb:120:in method_missing' from (eval):54:inblock (3 levels) in parse'
from /Library/Ruby/Gems/2.0.0/gems/fastlane-1.13.1/lib/fastlane/lane.rb:29:in call' from /Library/Ruby/Gems/2.0.0/gems/fastlane-1.13.1/lib/fastlane/lane.rb:29:incall'
from /Library/Ruby/Gems/2.0.0/gems/fastlane-1.13.1/lib/fastlane/runner.rb:50:in block in execute' from /Library/Ruby/Gems/2.0.0/gems/fastlane-1.13.1/lib/fastlane/runner.rb:44:inchdir'
from /Library/Ruby/Gems/2.0.0/gems/fastlane-1.13.1/lib/fastlane/runner.rb:44:in execute' from /Library/Ruby/Gems/2.0.0/gems/fastlane-1.13.1/lib/fastlane/lane_manager.rb:36:incruise_lane'
from /Library/Ruby/Gems/2.0.0/gems/fastlane-1.13.1/lib/fastlane/command_line_handler.rb:31:in handle' from /Library/Ruby/Gems/2.0.0/gems/fastlane-1.13.1/bin/fastlane:35:inblock (2 levels) in run'
from /Library/Ruby/Gems/2.0.0/gems/commander-4.3.5/lib/commander/command.rb:178:in call' from /Library/Ruby/Gems/2.0.0/gems/commander-4.3.5/lib/commander/command.rb:178:incall'
from /Library/Ruby/Gems/2.0.0/gems/commander-4.3.5/lib/commander/command.rb:153:in run' from /Library/Ruby/Gems/2.0.0/gems/commander-4.3.5/lib/commander/runner.rb:428:inrun_active_command'
from /Library/Ruby/Gems/2.0.0/gems/commander-4.3.5/lib/commander/runner.rb:68:in run!' from /Library/Ruby/Gems/2.0.0/gems/commander-4.3.5/lib/commander/delegates.rb:15:inrun!'
from /Library/Ruby/Gems/2.0.0/gems/fastlane-1.13.1/bin/fastlane:124:in run' from /Library/Ruby/Gems/2.0.0/gems/fastlane-1.13.1/bin/fastlane:130:in'
from /usr/bin/fastlane:23:in load' from /usr/bin/fastlane:23:in
Today I'm unable to create new apps on iTunes Connect. I get the following error all the time:
/Library/Ruby/Gems/2.0.0/gems/spaceship-0.3.0/lib/spaceship/tunes/tunes_client.rb:114:in `handle_itc_response': The SKU number you entered has already been used. The SKU number you entered has already been used. (Spaceship::TunesClient::ITunesConnectError)
from /Library/Ruby/Gems/2.0.0/gems/spaceship-0.3.0/lib/spaceship/tunes/tunes_client.rb:164:in `create_application!'
from /Library/Ruby/Gems/2.0.0/gems/spaceship-0.3.0/lib/spaceship/tunes/application.rb:89:in `create!'
from /Library/Ruby/Gems/2.0.0/gems/produce-0.4.3/lib/produce/itunes_connect.rb:25:in `create_new_app'
from /Library/Ruby/Gems/2.0.0/gems/produce-0.4.3/lib/produce/itunes_connect.rb:12:in `run'
from /Library/Ruby/Gems/2.0.0/gems/produce-0.4.3/lib/produce/manager.rb:6:in `start_producing'
from /Library/Ruby/Gems/2.0.0/gems/produce-0.4.3/bin/produce:34:in `block (2 levels) in run'
from /Library/Ruby/Gems/2.0.0/gems/commander-4.3.4/lib/commander/command.rb:178:in `call'
from /Library/Ruby/Gems/2.0.0/gems/commander-4.3.4/lib/commander/command.rb:178:in `call'
from /Library/Ruby/Gems/2.0.0/gems/commander-4.3.4/lib/commander/command.rb:153:in `run'
from /Library/Ruby/Gems/2.0.0/gems/commander-4.3.4/lib/commander/runner.rb:428:in `run_active_command'
from /Library/Ruby/Gems/2.0.0/gems/commander-4.3.4/lib/commander/runner.rb:68:in `run!'
from /Library/Ruby/Gems/2.0.0/gems/commander-4.3.4/lib/commander/delegates.rb:15:in `run!'
from /Library/Ruby/Gems/2.0.0/gems/produce-0.4.3/bin/produce:40:in `run'
from /Library/Ruby/Gems/2.0.0/gems/produce-0.4.3/bin/produce:46:in `<top (required)>'
from /usr/bin/produce:23:in `load'
from /usr/bin/produce:23:in `<main>'
I have tried several times with different random SKUS that I know don't exist, because they are from my App ID + a random number.
Hello there,
i'm interested in developing the features I need to handle my use case.
I forked the repository and i'm making changes in the code but I cannot run "my" code. It still executing the original gem code.
Could you please guide me on how to ensure my local version of "produce" is executing when I run "fastlane"?
Thanks
Since I updated yesterday, fastlane file now is requiring produce_app_identifier_suffix. If I do not include it the script stops and asks me to enter one. We are using a wildcard cert.
this is the line I had been using:
produce_app_identifier: 'com.rxwikiplus.8126062081',
and this is now what is required
produce_app_identifier: 'com.rxwikiplus.*',
produce_app_identifier_suffix: '8126062081',
Thanks for the great software suite. If you need me to test anything - let me know.
Hello,
i'm trying to automate the publishing of a series of apps we did.
We have an app id with wildcard created in the developer center (com.myapps.*).
We build the real apps with the same certificate and generating an app identifier like com.myapps.app-100. Building and sign are just fine.
With produce (and fastlane) we just need to create a new app (or update one) in the itunes connect portal.
Is there a way to do that with produce?
Thanks
produce is asking me for "App Identifier Suffix" when i have the PRODUCE_APP_IDENTIFIER variable set. Note that I'm not using any wildcards, I use a shell variable to define the bundle.
[13:13:03]: {:ENVIRONMENT=>nil, :PLATFORM_NAME=>nil, :LANE_NAME=>"deploy"}
[13:13:03]: wrong number of arguments (2 for 1)
[13:13:06]: fastlane finished with errors
/Library/Ruby/Gems/2.0.0/gems/fastlane_core-0.7.6/lib/fastlane_core/itunes_connect/itunes_connect_helper.rb:64:in `wait_for_elements': wrong number of arguments (2 for 1) (ArgumentError)
from /Library/Ruby/Gems/2.0.0/gems/produce-0.3.2/lib/produce/itunes_connect.rb:83:in `initial_create'
from /Library/Ruby/Gems/2.0.0/gems/produce-0.3.2/lib/produce/itunes_connect.rb:39:in `create_new_app'
from /Library/Ruby/Gems/2.0.0/gems/produce-0.3.2/lib/produce/itunes_connect.rb:27:in `run'
from /Library/Ruby/Gems/2.0.0/gems/produce-0.3.2/lib/produce/manager.rb:8:in `start_producing'
from /Library/Ruby/Gems/2.0.0/gems/fastlane-1.4.0/lib/fastlane/actions/produce.rb:28:in `block in run'
from /Library/Ruby/Gems/2.0.0/gems/fastlane-1.4.0/lib/fastlane/actions/produce.rb:22:in `chdir'
from /Library/Ruby/Gems/2.0.0/gems/fastlane-1.4.0/lib/fastlane/actions/produce.rb:22:in `run'
from /Library/Ruby/Gems/2.0.0/gems/fastlane-1.4.0/lib/fastlane/fast_file.rb:112:in `block (2 levels) in method_missing'
from /Library/Ruby/Gems/2.0.0/gems/fastlane-1.4.0/lib/fastlane/actions/actions_helper.rb:51:in `execute_action'
from /Library/Ruby/Gems/2.0.0/gems/fastlane-1.4.0/lib/fastlane/fast_file.rb:94:in `block in method_missing'
from /Library/Ruby/Gems/2.0.0/gems/fastlane-1.4.0/lib/fastlane/fast_file.rb:93:in `chdir'
from /Library/Ruby/Gems/2.0.0/gems/fastlane-1.4.0/lib/fastlane/fast_file.rb:93:in `method_missing'
from (eval):71:in `block (2 levels) in parse'
from /Library/Ruby/Gems/2.0.0/gems/fastlane-1.4.0/lib/fastlane/runner.rb:39:in `call'
from /Library/Ruby/Gems/2.0.0/gems/fastlane-1.4.0/lib/fastlane/runner.rb:39:in `block in execute'
from /Library/Ruby/Gems/2.0.0/gems/fastlane-1.4.0/lib/fastlane/runner.rb:29:in `chdir'
from /Library/Ruby/Gems/2.0.0/gems/fastlane-1.4.0/lib/fastlane/runner.rb:29:in `execute'
from /Library/Ruby/Gems/2.0.0/gems/fastlane-1.4.0/lib/fastlane/lane_manager.rb:33:in `cruise_lane'
from /Library/Ruby/Gems/2.0.0/gems/fastlane-1.4.0/bin/fastlane:39:in `block (2 levels) in run'
from /Library/Ruby/Gems/2.0.0/gems/commander-4.3.4/lib/commander/command.rb:178:in `call'
from /Library/Ruby/Gems/2.0.0/gems/commander-4.3.4/lib/commander/command.rb:178:in `call'
from /Library/Ruby/Gems/2.0.0/gems/commander-4.3.4/lib/commander/command.rb:153:in `run'
from /Library/Ruby/Gems/2.0.0/gems/commander-4.3.4/lib/commander/runner.rb:428:in `run_active_command'
from /Library/Ruby/Gems/2.0.0/gems/commander-4.3.4/lib/commander/runner.rb:68:in `run!'
from /Library/Ruby/Gems/2.0.0/gems/commander-4.3.4/lib/commander/delegates.rb:15:in `run!'
from /Library/Ruby/Gems/2.0.0/gems/fastlane-1.4.0/bin/fastlane:128:in `run'
from /Library/Ruby/Gems/2.0.0/gems/fastlane-1.4.0/bin/fastlane:134:in `<top (required)>'
from /usr/bin/fastlane:23:in `load'
from /usr/bin/fastlane:23:in `<main>'
I took a look into source, I don't get how wait_for_elements can be called with two arguments since its implementation only accepts one.
wait_for_elements("input[ng-model='createAppDetails.companyName.value']", true)
/System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/fileutils.rb:245:in `mkdir': No such file or directory - (Errno::ENOENT)
from /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/fileutils.rb:245:in `fu_mkdir'
from /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/fileutils.rb:219:in `block (2 levels) in mkdir_p'
from /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/fileutils.rb:217:in `reverse_each'
from /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/fileutils.rb:217:in `block in mkdir_p'
from /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/fileutils.rb:203:in `each'
from /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/fileutils.rb:203:in `mkdir_p'
from /Library/Ruby/Gems/2.0.0/gems/capybara-2.4.4/lib/capybara/session.rb:652:in `save_screenshot'
from /Library/Ruby/Gems/2.0.0/gems/capybara-2.4.4/lib/capybara/dsl.rb:51:in `block (2 levels) in <module:DSL>'
from /Library/Ruby/Gems/2.0.0/gems/fastlane_core-0.7.5/lib/fastlane_core/developer_center/developer_center_helper.rb:39:in `snap'
from /Library/Ruby/Gems/2.0.0/gems/fastlane_core-0.7.5/lib/fastlane_core/developer_center/developer_center_helper.rb:33:in `error_occured'
from /Library/Ruby/Gems/2.0.0/gems/fastlane_core-0.7.5/lib/fastlane_core/developer_center/developer_center_login.rb:65:in `rescue in login'
from /Library/Ruby/Gems/2.0.0/gems/fastlane_core-0.7.5/lib/fastlane_core/developer_center/developer_center_login.rb:15:in `login'
from /Library/Ruby/Gems/2.0.0/gems/fastlane_core-0.7.5/lib/fastlane_core/developer_center/developer_center.rb:52:in `initialize'
from /Library/Ruby/Gems/2.0.0/gems/produce-0.2.1/lib/produce/manager.rb:7:in `new'
from /Library/Ruby/Gems/2.0.0/gems/produce-0.2.1/lib/produce/manager.rb:7:in `start_producing'
from /Library/Ruby/Gems/2.0.0/gems/produce-0.2.1/bin/produce:34:in `block (2 levels) in run'
from /Library/Ruby/Gems/2.0.0/gems/commander-4.3.4/lib/commander/command.rb:178:in `call'
from /Library/Ruby/Gems/2.0.0/gems/commander-4.3.4/lib/commander/command.rb:178:in `call'
from /Library/Ruby/Gems/2.0.0/gems/commander-4.3.4/lib/commander/command.rb:153:in `run'
from /Library/Ruby/Gems/2.0.0/gems/commander-4.3.4/lib/commander/runner.rb:428:in `run_active_command'
from /Library/Ruby/Gems/2.0.0/gems/commander-4.3.4/lib/commander/runner.rb:68:in `run!'
from /Library/Ruby/Gems/2.0.0/gems/commander-4.3.4/lib/commander/delegates.rb:15:in `run!'
from /Library/Ruby/Gems/2.0.0/gems/produce-0.2.1/bin/produce:47:in `run'
from /Library/Ruby/Gems/2.0.0/gems/produce-0.2.1/bin/produce:53:in `<top (required)>'
from /usr/bin/produce:23:in `load'
from /usr/bin/produce:23:in `<main>'
Hi,
I am trying to run "produce" tool with a Bundle ID which is already there on iTunesconnect.
This tool is throwing an exception instead on giving proper error message.
Below is the exception detail :
[11:51:03]: ["/Library/Ruby/Gems/2.0.0/gems/produce-0.3.0/lib/produce/itunes_connect.rb:87:in `initial_create'", "/Library/Ruby/Gems/2.0.0/gems/produce-0.3.0/lib/produce/itunes_connect.rb:39:in `create_new_app'", "/Library/Ruby/Gems/2.0.0/gems/produce-0.3.0/lib/produce/itunes_connect.rb:27:in `run'", "/Library/Ruby/Gems/2.0.0/gems/produce-0.3.0/lib/produce/manager.rb:8:in `start_producing'", "/Library/Ruby/Gems/2.0.0/gems/produce-0.3.0/bin/produce:33:in `block (2 levels) in run'", "/Library/Ruby/Gems/2.0.0/gems/commander-4.3.4/lib/commander/command.rb:178:in `call'", "/Library/Ruby/Gems/2.0.0/gems/commander-4.3.4/lib/commander/command.rb:178:in `call'", "/Library/Ruby/Gems/2.0.0/gems/commander-4.3.4/lib/commander/command.rb:153:in `run'", "/Library/Ruby/Gems/2.0.0/gems/commander-4.3.4/lib/commander/runner.rb:428:in `run_active_command'", "/Library/Ruby/Gems/2.0.0/gems/commander-4.3.4/lib/commander/runner.rb:68:in `run!'", "/Library/Ruby/Gems/2.0.0/gems/commander-4.3.4/lib/commander/delegates.rb:15:in `run!'", "/Library/Ruby/Gems/2.0.0/gems/produce-0.3.0/bin/produce:46:in `run'", "/Library/Ruby/Gems/2.0.0/gems/produce-0.3.0/bin/produce:52:in `<top (required)>'", "/usr/bin/produce:23:in `load'", "/usr/bin/produce:23:in `<main>'"]
/Library/Ruby/Gems/2.0.0/gems/fastlane_core-0.7.6/lib/fastlane_core/itunes_connect/itunes_connect_helper.rb:76:in `wait_for_elements': Couldn't find element 'option[value='Bundle ID Goes here']' after waiting for quite some time (FastlaneCore::ItunesConnect::ItunesConnectGeneralError)
from /Library/Ruby/Gems/2.0.0/gems/produce-0.3.0/lib/produce/itunes_connect.rb:87:in `initial_create'
from /Library/Ruby/Gems/2.0.0/gems/produce-0.3.0/lib/produce/itunes_connect.rb:39:in `create_new_app'
from /Library/Ruby/Gems/2.0.0/gems/produce-0.3.0/lib/produce/itunes_connect.rb:27:in `run'
from /Library/Ruby/Gems/2.0.0/gems/produce-0.3.0/lib/produce/manager.rb:8:in `start_producing'
from /Library/Ruby/Gems/2.0.0/gems/produce-0.3.0/bin/produce:33:in `block (2 levels) in run'
from /Library/Ruby/Gems/2.0.0/gems/commander-4.3.4/lib/commander/command.rb:178:in `call'
from /Library/Ruby/Gems/2.0.0/gems/commander-4.3.4/lib/commander/command.rb:178:in `call'
from /Library/Ruby/Gems/2.0.0/gems/commander-4.3.4/lib/commander/command.rb:153:in `run'
from /Library/Ruby/Gems/2.0.0/gems/commander-4.3.4/lib/commander/runner.rb:428:in `run_active_command'
from /Library/Ruby/Gems/2.0.0/gems/commander-4.3.4/lib/commander/runner.rb:68:in `run!'
from /Library/Ruby/Gems/2.0.0/gems/commander-4.3.4/lib/commander/delegates.rb:15:in `run!'
from /Library/Ruby/Gems/2.0.0/gems/produce-0.3.0/bin/produce:46:in `run'
from /Library/Ruby/Gems/2.0.0/gems/produce-0.3.0/bin/produce:52:in `<top (required)>'
from /usr/bin/produce:23:in `load'
from /usr/bin/produce:23:in `<main>'
/Library/Ruby/Gems/2.0.0/gems/produce-0.1.6/lib/produce/developer_center.rb:43:in `create_new_app': Something went wrong when creating the new app - it's not listed in the App's list (RuntimeError)
from /Library/Ruby/Gems/2.0.0/gems/produce-0.1.6/lib/produce/developer_center.rb:10:in `run'
from /Library/Ruby/Gems/2.0.0/gems/produce-0.1.6/lib/produce/manager.rb:7:in `start_producing'
from /Library/Ruby/Gems/2.0.0/gems/produce-0.1.6/bin/produce:34:in `block (2 levels) in run'
from /Library/Ruby/Gems/2.0.0/gems/commander-4.3.0/lib/commander/command.rb:179:in `call'
from /Library/Ruby/Gems/2.0.0/gems/commander-4.3.0/lib/commander/command.rb:179:in `call'
from /Library/Ruby/Gems/2.0.0/gems/commander-4.3.0/lib/commander/command.rb:154:in `run'
from /Library/Ruby/Gems/2.0.0/gems/commander-4.3.0/lib/commander/runner.rb:421:in `run_active_command'
from /Library/Ruby/Gems/2.0.0/gems/commander-4.3.0/lib/commander/runner.rb:81:in `run!'
from /Library/Ruby/Gems/2.0.0/gems/commander-4.3.0/lib/commander/delegates.rb:15:in `run!'
from /Library/Ruby/Gems/2.0.0/gems/produce-0.1.6/bin/produce:47:in `run'
from /Library/Ruby/Gems/2.0.0/gems/produce-0.1.6/bin/produce:51:in `<top (required)>'
from /usr/bin/produce:23:in `load'
from /usr/bin/produce:23:in `<main>'
I've got one apple username (my developer account), and many ITC usernames (one for each organization I've made an app for). ITC does not allow using the same email for multiple organizations, hence this situation.
Problem: When I create an app with Produce I'm only able to specify one email/password, which has to be the developer account email. It creates the appId on the developer account correctly. It can only create the ITC app on that email's org, not others. The passwords I use just happen to be the same, but they could also differ.
Solution: I did not see a way to specify a different ITC email/password. I want to use my appleId, select the team, and then specify the ITC email/password for that situation.
Forgive me if I've misunderstood the help usage on doing this.
App "NewProject" already exists, nothing to do in iTunes Connect.
App "NewProject" already exists, nothing to do on the Dev Center.
The above are shown when I try to create App ID's in iTunesConnect and Dev Center using Produce.
Currently Produce is not creating any application , neither on the iTunesConnect nor on Dev Center, but it just simply says that the NewProject already exists. Even if I try to create another app it still gives the same result i.e NewApp already exists when there is nothing in both iTunesConnect and Dev Center. Please help.
Thanking you,
Wouldn't it make sense for all the following info to be in the fastlane/Appfile?
lane :appstore do
produce({
produce_username: '[email protected]',
produce_app_identifier: 'com.krausefx.app',
produce_app_name: 'MyApp',
produce_language: 'English',
produce_version: '1.0',
produce_sku: 123,
produce_team_name: 'SunApps GmbH' # only necessary when in multiple teams
})
deliver
end
I created a lane skipping devcenter and just focusing on create the app in itc, but I'm getting this error:
FATAL [2015-04-22 12:31:19.52]: Capybara::Poltergeist::MouseEventFailed
FATAL [2015-04-22 12:31:21.03]: fastlane finished with errors
/Library/Ruby/Gems/2.0.0/gems/poltergeist-1.5.1/lib/capybara/poltergeist/node.rb:23:in `rescue in command': Firing a click at co-ordinates [-9910.5, 162.5] failed. Poltergeist detected another element with CSS selector '' at this position. It may be overlapping the element you are trying to interact with. If you don't care about overlapping elements, try using node.trigger('click'). (Capybara::Poltergeist::MouseEventFailed)
I have not found an opportunity to set different emails to login iOS Developer portal and iTunes Connect.
Hello,
I recently updated to the latest version of Produce and I have tried to set the SKU using PRODUCE_SKU="AppSKU" and -s, but in iTunes Connect my SKU has been set as a number and not the text I had set it to.
The older version I was using allowed me to have a string SKU. Is there a reason the SKU has to be a number?
Thanks!
Basically having the same problem which occurred during the bata release of Sigh with spaceship where it constantly asked for team name in a never-ending loop. This is probably due to defining team name rather than team id and this feature is unsupported yet in the new version of produce. I believe this was the problem last time.
I'm using Fastlane to create, build and deploy many apps.
To make it scalable we need to make it work without human intervention.
Is there any way of preventing produce of asking for a company name?
I tried to send an empty string as parameter, but it doesn't work since an empty string is falsy.
I know I can just fill the parameter with the correct name, just wondering if there's another option.
Hi,
I am trying to add a new application with produce but I am getting the warning message that my app already exists. But that name is not yet used.. Tried with several application names and always the same message. Any idea?
Thanks
Logs:
INFO [2015-03-10 16:03:00.52]: Login into iOS Developer Center
INFO [2015-03-10 16:03:11.67]: Login successful
App Name: Find your Mojo
INFO [2015-03-10 16:03:17.04]: App 'Find your Mojo' already exists, nothing to do on the Dev Center
INFO [2015-03-10 16:03:17.04]: Logging into iTunesConnect
INFO [2015-03-10 16:03:27.38]: Successfully logged into iTunesConnect
INFO [2015-03-10 16:03:45.35]: App 'Find your Mojo' exists already, nothing to do on iTunes Connect
Hi,
I'm trying to use Produce to create a new inhouse app. I've set it up like this:
produce(
produce_username: "[email protected]",
produce_app_identifier: "#{identifier}.inhouse",
produce_app_name: "#{app_name} - inhouse",
fastlane_team_id: "#{team_id}",
produce_skip_itc: true,
produce_version: version_no
)
In the terminal it seems like everything is fine, it asks me for my password for [email protected], but then it cannot login, even though the credentials are right..
Password (for [email protected]): *************
Logging spaceship web requests to '/tmp/spaceship.log'
[13:09:22]: Variable Dump:
[13:09:22]: {:DEFAULT_PLATFORM=>:ios, :ENVIRONMENT=>nil, :PLATFORM_NAME=>:ios, :LANE_NAME=>"ios inhouse", :BUILD_NUMBER=>0, :VERSION_NUMBER=>"20150704"}
[13:09:22]: #<Faraday::Response:0x007fe10ba15a60>
[13:09:22]: fastlane finished with errors
/Users/michavaneijk/.rvm/gems/ruby-2.2.1/gems/spaceship-0.0.13/lib/spaceship/client.rb:174:in `login': #<Faraday::Response:0x007fe10ba15a60> (Spaceship::Client::InvalidUserCredentialsError)
In the logfile I see the response of the login screen:
<font color="RED"
face="Geneva, Verdana, Arial, Helvetica, sans-serif" size="1"><span
class="dserror"> Your Apple ID or password was entered incorrectly.</span></font>
But the weird thing, in the pre-filled appleId field, it doesn't show [email protected], but the appleId from the Appfile:
<input id="accountname" name="appleId" tabindex="1" onkeypress="checkEnter(event,this,'form2');" spellcheck="false" autocorrect="off" class="dstextfield align_field" autocapitalize="off" type="text" value="[email protected]" size="30" maxlength="128" autocomplete="off"/>
Is this correct behavior or am I doing something wrong?
Are you guys planning to add the creation of updates to produce?
I mean, I have an app on the store that is multi language and I want to create a new version to that app on iTunes connect, so I can later update the new version binary.
Would be fantastic if produce could do that. 😃
Anyway you guys are producing amazing tools so we can bypass the infamous and obnoxious online tools Apple have the courage to offer. Thanks!
After updating all gems to most recent version I am getting the following error on produce.
buildserver:iOS robwithhair$ produce
No username or password given. You can set environment variables:
DELIVER_USER, DELIVER_PASSWORD
-------------------------------------------------------------------------------------
The login information you enter will be stored in your Mac OS Keychain
More information about that on GitHub: https://github.com/KrauseFx/CredentialsManager
-------------------------------------------------------------------------------------
Password (for [email protected]):
Password (for [email protected]):
Password (for [email protected]): *************
INFO [2015-05-06 17:28:41.35]: Login into iOS Developer Center
INFO [2015-05-06 17:28:55.32]: Login successful
App Name: Long Haired Music
INFO [2015-05-06 17:29:05.49]: App 'Long Haired Music' already exists, nothing to do on the Dev Center
INFO [2015-05-06 17:29:05.49]: Logging into iTunesConnect
DEBUG [2015-05-06 17:29:46.42]: ["/Library/Ruby/Gems/2.0.0/gems/fastlane_core-0.7.2/lib/fastlane_core/itunes_connect/itunes_connect_login.rb:42:in `login'", "/Library/Ruby/Gems/2.0.0/gems/fastlane_core-0.7.2/lib/fastlane_core/itunes_connect/itunes_connect.rb:62:in `initialize'", "/Library/Ruby/Gems/2.0.0/gems/produce-0.2.1/lib/produce/manager.rb:8:in `new'", "/Library/Ruby/Gems/2.0.0/gems/produce-0.2.1/lib/produce/manager.rb:8:in `start_producing'", "/Library/Ruby/Gems/2.0.0/gems/produce-0.2.1/bin/produce:34:in `block (2 levels) in run'", "/Library/Ruby/Gems/2.0.0/gems/commander-4.3.4/lib/commander/command.rb:178:in `call'", "/Library/Ruby/Gems/2.0.0/gems/commander-4.3.4/lib/commander/command.rb:178:in `call'", "/Library/Ruby/Gems/2.0.0/gems/commander-4.3.4/lib/commander/command.rb:153:in `run'", "/Library/Ruby/Gems/2.0.0/gems/commander-4.3.4/lib/commander/runner.rb:428:in `run_active_command'", "/Library/Ruby/Gems/2.0.0/gems/commander-4.3.4/lib/commander/runner.rb:68:in `run!'", "/Library/Ruby/Gems/2.0.0/gems/commander-4.3.4/lib/commander/delegates.rb:15:in `run!'", "/Library/Ruby/Gems/2.0.0/gems/produce-0.2.1/bin/produce:47:in `run'", "/Library/Ruby/Gems/2.0.0/gems/produce-0.2.1/bin/produce:53:in `<top (required)>'", "/usr/bin/produce:23:in `load'", "/usr/bin/produce:23:in `<main>'"]
DEBUG [2015-05-06 17:29:46.42]: Couldn't find element '.homepageWrapper.ng-scope' after waiting for quite some time
The file /Users/Shared/Jenkins/Home/jobs/iOS Build - Release Automation/workspace/iOS/Error1430929786.png does not exist.
/Library/Ruby/Gems/2.0.0/gems/fastlane_core-0.7.2/lib/fastlane_core/itunes_connect/itunes_connect_login.rb:51:in `rescue in login': Error logging in user [email protected] with the given password. Make sure you entered them correctly. (FastlaneCore::ItunesConnect::ItunesConnectLoginError)
from /Library/Ruby/Gems/2.0.0/gems/fastlane_core-0.7.2/lib/fastlane_core/itunes_connect/itunes_connect_login.rb:40:in `login'
from /Library/Ruby/Gems/2.0.0/gems/fastlane_core-0.7.2/lib/fastlane_core/itunes_connect/itunes_connect.rb:62:in `initialize'
from /Library/Ruby/Gems/2.0.0/gems/produce-0.2.1/lib/produce/manager.rb:8:in `new'
from /Library/Ruby/Gems/2.0.0/gems/produce-0.2.1/lib/produce/manager.rb:8:in `start_producing'
from /Library/Ruby/Gems/2.0.0/gems/produce-0.2.1/bin/produce:34:in `block (2 levels) in run'
from /Library/Ruby/Gems/2.0.0/gems/commander-4.3.4/lib/commander/command.rb:178:in `call'
from /Library/Ruby/Gems/2.0.0/gems/commander-4.3.4/lib/commander/command.rb:178:in `call'
from /Library/Ruby/Gems/2.0.0/gems/commander-4.3.4/lib/commander/command.rb:153:in `run'
from /Library/Ruby/Gems/2.0.0/gems/commander-4.3.4/lib/commander/runner.rb:428:in `run_active_command'
from /Library/Ruby/Gems/2.0.0/gems/commander-4.3.4/lib/commander/runner.rb:68:in `run!'
from /Library/Ruby/Gems/2.0.0/gems/commander-4.3.4/lib/commander/delegates.rb:15:in `run!'
from /Library/Ruby/Gems/2.0.0/gems/produce-0.2.1/bin/produce:47:in `run'
from /Library/Ruby/Gems/2.0.0/gems/produce-0.2.1/bin/produce:53:in `<top (required)>'
from /usr/bin/produce:23:in `load'
from /usr/bin/produce:23:in `<main>'
buildserver:iOS robwithhair$
I can log into itunes connect in the browser, and I know the password hasn't changed because I noticed the error building from jenkins. Using lastpass as my password manager so I'm pretty sure I'm not going crazy. Anyway, the login to the dev centre works fine.
In v0.4.1 the options are listed as:
Global Options:
-u, --username STRING Your Apple ID Username (PRODUCE_USERNAME)
-a, --app_identifier STRING App Identifier (Bundle ID, e.g. com.krausefx.app) (PRODUCE_APP_IDENTIFIER)
-b, --bundle_identifier_suffix STRING App Identifier Suffix (Ignored if App Identifier does not ends with .*) (PRODUCE_APP_IDENTIFIER_SUFFIX)
-a, --app_name STRING App Name (PRODUCE_APP_NAME)
-v, --version STRING Initial version number (e.g. '1.0') (PRODUCE_VERSION)
-s, --sku SKU Number (e.g. '1234') (PRODUCE_SKU)
-l, --language STRING Primary Language (e.g. 'English', 'German') (PRODUCE_LANGUAGE)
-i, --skip_itc Skip the creation of the app on iTunes Connect (PRODUCE_SKIP_ITC)
-d, --skip_devcenter Skip the creation of the app on the Apple Developer Portal (PRODUCE_SKIP_DEVCENTER)
-t, --team_id STRING The ID of your team if you're in multiple teams (PRODUCE_TEAM_ID)
-l, --team_name STRING The name of your team if you're in multiple teams (PRODUCE_TEAM_NAME)
-h, --help Display help documentation
-v, --version Display version information
There are a couple problems here:
-a
is listed as the short name for both identifier and name-v
or --version
to set the version, as produce
will always display the version info and exit when that's present in the argumentsHi,
Produce created this error after I entered the version number of the application. I also tried with fastlane to create new app but result is the same.
[01:22:56]: can't dup NilClass
[01:22:56]: fastlane finished with errors
/Users/caner/.rbenv/versions/2.1.5/lib/ruby/gems/2.1.0/gems/highline-1.7.2/lib/highline/question.rb:34:in `dup': can't dup NilClass (TypeError)
from /Users/caner/.rbenv/versions/2.1.5/lib/ruby/gems/2.1.0/gems/highline-1.7.2/lib/highline/question.rb:34:in `initialize'
from /Users/caner/.rbenv/versions/2.1.5/lib/ruby/gems/2.1.0/gems/highline-1.7.2/lib/highline.rb:252:in `new'
from /Users/caner/.rbenv/versions/2.1.5/lib/ruby/gems/2.1.0/gems/highline-1.7.2/lib/highline.rb:252:in `ask'
from /Users/caner/.rbenv/versions/2.1.5/lib/ruby/gems/2.1.0/gems/produce-0.3.4/lib/produce/config.rb:39:in `val'
from /Users/caner/.rbenv/versions/2.1.5/lib/ruby/gems/2.1.0/gems/produce-0.3.4/lib/produce/itunes_connect.rb:82:in `initial_create'
from /Users/caner/.rbenv/versions/2.1.5/lib/ruby/gems/2.1.0/gems/produce-0.3.4/lib/produce/itunes_connect.rb:39:in `create_new_app'
from /Users/caner/.rbenv/versions/2.1.5/lib/ruby/gems/2.1.0/gems/produce-0.3.4/lib/produce/itunes_connect.rb:27:in `run'
from /Users/caner/.rbenv/versions/2.1.5/lib/ruby/gems/2.1.0/gems/produce-0.3.4/lib/produce/manager.rb:8:in `start_producing'
from /Users/caner/.rbenv/versions/2.1.5/lib/ruby/gems/2.1.0/gems/fastlane-1.6.0/lib/fastlane/actions/produce.rb:28:in `block in run'
from /Users/caner/.rbenv/versions/2.1.5/lib/ruby/gems/2.1.0/gems/fastlane-1.6.0/lib/fastlane/actions/produce.rb:22:in `chdir'
from /Users/caner/.rbenv/versions/2.1.5/lib/ruby/gems/2.1.0/gems/fastlane-1.6.0/lib/fastlane/actions/produce.rb:22:in `run'
from /Users/caner/.rbenv/versions/2.1.5/lib/ruby/gems/2.1.0/gems/fastlane-1.6.0/lib/fastlane/fast_file.rb:112:in `block (2 levels) in method_missing'
from /Users/caner/.rbenv/versions/2.1.5/lib/ruby/gems/2.1.0/gems/fastlane-1.6.0/lib/fastlane/actions/actions_helper.rb:51:in `execute_action'
from /Users/caner/.rbenv/versions/2.1.5/lib/ruby/gems/2.1.0/gems/fastlane-1.6.0/lib/fastlane/fast_file.rb:94:in `block in method_missing'
from /Users/caner/.rbenv/versions/2.1.5/lib/ruby/gems/2.1.0/gems/fastlane-1.6.0/lib/fastlane/fast_file.rb:93:in `chdir'
from /Users/caner/.rbenv/versions/2.1.5/lib/ruby/gems/2.1.0/gems/fastlane-1.6.0/lib/fastlane/fast_file.rb:93:in `method_missing'
from (eval):66:in `block (3 levels) in parse'
from /Users/caner/.rbenv/versions/2.1.5/lib/ruby/gems/2.1.0/gems/fastlane-1.6.0/lib/fastlane/runner.rb:39:in `call'
from /Users/caner/.rbenv/versions/2.1.5/lib/ruby/gems/2.1.0/gems/fastlane-1.6.0/lib/fastlane/runner.rb:39:in `block in execute'
from /Users/caner/.rbenv/versions/2.1.5/lib/ruby/gems/2.1.0/gems/fastlane-1.6.0/lib/fastlane/runner.rb:29:in `chdir'
from /Users/caner/.rbenv/versions/2.1.5/lib/ruby/gems/2.1.0/gems/fastlane-1.6.0/lib/fastlane/runner.rb:29:in `execute'
from /Users/caner/.rbenv/versions/2.1.5/lib/ruby/gems/2.1.0/gems/fastlane-1.6.0/lib/fastlane/lane_manager.rb:33:in `cruise_lane'
from /Users/caner/.rbenv/versions/2.1.5/lib/ruby/gems/2.1.0/gems/fastlane-1.6.0/bin/fastlane:39:in `block (2 levels) in run'
from /Users/caner/.rbenv/versions/2.1.5/lib/ruby/gems/2.1.0/gems/commander-4.3.4/lib/commander/command.rb:178:in `call'
from /Users/caner/.rbenv/versions/2.1.5/lib/ruby/gems/2.1.0/gems/commander-4.3.4/lib/commander/command.rb:178:in `call'
from /Users/caner/.rbenv/versions/2.1.5/lib/ruby/gems/2.1.0/gems/commander-4.3.4/lib/commander/command.rb:153:in `run'
from /Users/caner/.rbenv/versions/2.1.5/lib/ruby/gems/2.1.0/gems/commander-4.3.4/lib/commander/runner.rb:428:in `run_active_command'
from /Users/caner/.rbenv/versions/2.1.5/lib/ruby/gems/2.1.0/gems/commander-4.3.4/lib/commander/runner.rb:68:in `run!'
from /Users/caner/.rbenv/versions/2.1.5/lib/ruby/gems/2.1.0/gems/commander-4.3.4/lib/commander/delegates.rb:15:in `run!'
from /Users/caner/.rbenv/versions/2.1.5/lib/ruby/gems/2.1.0/gems/fastlane-1.6.0/bin/fastlane:128:in `run'
from /Users/caner/.rbenv/versions/2.1.5/lib/ruby/gems/2.1.0/gems/fastlane-1.6.0/bin/fastlane:134:in `<top (required)>'
from /Users/caner/.rbenv/versions/2.1.5/bin/fastlane:23:in `load'
from /Users/caner/.rbenv/versions/2.1.5/bin/fastlane:23:in `<main>'
Hi @KrauseFx ,
I believe something happened on the last commits. I used to have ENV["PRODUCE_LANGUAGE"] = "Brazilian Portuguese", but now produce refuses it, saying that I must choose between "Please enter one of available languages: ["Brazilian", "Danish", "Dutch", "English", "English_Australian", "English_CA", "English_UK", "Finnish", "French", "French_CA", "German", "Greek", "Indonesian", "Italian", "Japanese", "Korean", "Malay", "Norwegian", "Portuguese", "Russian", "Simplified Chinese", "Spanish", "Spanish_MX", "Swedish", "Thai", "Traditional Chinese", "Turkish", "Vietnamese"]"
But when I choose "Brazilian", it gives me another error: You must choose a primary language. You must choose a primary language. (Spaceship::TunesClient::ITunesConnectError)
It must be a very small detail. Thank you,
We have noticed that Produce often crashes when entering special characters in developer.apple.com because most of them are not allowed there while they are at iTunesConnect. Maybe it should be a good idea to leave them out there while still adding them in iTunesConnect.
Hello, when running "fastlane appstore" I came across an unusual bug which is "produce_app_name" with consecutive letters in their name are modified, e.g. "Looooong name" => "Long name". Why does this happen?
Command line output:
$ fastlane appstore
INFO [2015-04-02 12:39:07.83]: Driving the lane 'appstore'
INFO [2015-04-02 12:39:07.83]: ---------------------
INFO [2015-04-02 12:39:07.83]: --- Step: produce ---
INFO [2015-04-02 12:39:07.83]: ---------------------
INFO [2015-04-02 12:39:14.48]: Login into iOS Developer Center
INFO [2015-04-02 12:39:23.59]: Login successful
INFO [2015-04-02 12:39:25.09]: Creating new app 'Long name' on the Apple Dev Center
Fastfile contents:
lane :appstore do
produce({
produce_username: '[email protected]',
produce_app_identifier: 'com.rxwikiplus.5153862164',
produce_app_name: 'Looooong name',
produce_language: 'English',
produce_version: '5.5.0',
produce_sku: 5153862164
})
deliver
end
The docs say we can send the app version as --version
, problem is that it conflicts with the actual version param of the produce.
Is there a way to send the app version so we don't have to enter it manually?
Fastlane seems to fail if company name has not been set. Maybe produce could have a company name set in the fast file and if this field is present then it gets filled in?
[37m[11:22:29]: �[0m�[32m---------------------�[0m
�[37m[11:22:29]: �[0m�[32m--- �[0m�[32mStep: produce�[0m�[32m ---�[0m
�[37m[11:22:29]: �[0m�[32m---------------------�[0m
�[37m[11:22:32]: �[0m�[32mApp 'Biz Connexions' already exists, nothing to do on the Dev Center�[0m
�[37m[11:22:33]: �[0m�[32mCreating new app 'Biz Connexions' on iTunes Connect�[0m
�[37m[11:22:34]: �[0m�[33mVariable Dump:�[0m
�[37m[11:22:34]: �[0m{:ENVIRONMENT=>nil, :PLATFORM_NAME=>nil, :LANE_NAME=>"deploy", :BUILD_NUMBER=>0}
�[1m�[31m[11:22:34]: �[0m�[0mYou must provide a company name to use on the App Store. You must choose a primary language. Your app information could not be saved. The information for at least one field is missing or is in the wrong format.
�[1m�[31m[11:22:34]: �[0m�[0m�[31mfastlane finished with errors�[0m
/Library/Ruby/Gems/2.0.0/gems/spaceship-0.1.2/lib/spaceship/tunes/tunes_client.rb:106:in `handle_itc_response': You must provide a company name to use on the App Store. You must choose a primary language. Your app information could not be saved. The information for at least one field is missing or is in the wrong format. (RuntimeError)
from /Library/Ruby/Gems/2.0.0/gems/spaceship-0.1.2/lib/spaceship/tunes/tunes_client.rb:155:in `create_application!'
from /Library/Ruby/Gems/2.0.0/gems/spaceship-0.1.2/lib/spaceship/tunes/application.rb:89:in `create!'
from /Library/Ruby/Gems/2.0.0/gems/produce-0.4.1/lib/produce/itunes_connect.rb:25:in `create_new_app'
from /Library/Ruby/Gems/2.0.0/gems/produce-0.4.1/lib/produce/itunes_connect.rb:12:in `run'
from /Library/Ruby/Gems/2.0.0/gems/produce-0.4.1/lib/produce/manager.rb:6:in `start_producing'
from /Library/Ruby/Gems/2.0.0/gems/fastlane-1.11.0/lib/fastlane/actions/produce.rb:20:in `block in run'
from /Library/Ruby/Gems/2.0.0/gems/fastlane-1.11.0/lib/fastlane/actions/produce.rb:18:in `chdir'
from /Library/Ruby/Gems/2.0.0/gems/fastlane-1.11.0/lib/fastlane/actions/produce.rb:18:in `run'
from /Library/Ruby/Gems/2.0.0/gems/fastlane-1.11.0/lib/fastlane/runner.rb:142:in `block (2 levels) in execute_action'
from /Library/Ruby/Gems/2.0.0/gems/fastlane-1.11.0/lib/fastlane/actions/actions_helper.rb:62:in `execute_action'
from /Library/Ruby/Gems/2.0.0/gems/fastlane-1.11.0/lib/fastlane/runner.rb:128:in `block in execute_action'
from /Library/Ruby/Gems/2.0.0/gems/fastlane-1.11.0/lib/fastlane/runner.rb:127:in `chdir'
from /Library/Ruby/Gems/2.0.0/gems/fastlane-1.11.0/lib/fastlane/runner.rb:127:in `execute_action'
from /Library/Ruby/Gems/2.0.0/gems/fastlane-1.11.0/lib/fastlane/fast_file.rb:108:in `method_missing'
from (eval):36:in `block (2 levels) in parse'
from /Library/Ruby/Gems/2.0.0/gems/fastlane-1.11.0/lib/fastlane/lane.rb:29:in `call'
from /Library/Ruby/Gems/2.0.0/gems/fastlane-1.11.0/lib/fastlane/lane.rb:29:in `call'
from /Library/Ruby/Gems/2.0.0/gems/fastlane-1.11.0/lib/fastlane/runner.rb:50:in `block in execute'
from /Library/Ruby/Gems/2.0.0/gems/fastlane-1.11.0/lib/fastlane/runner.rb:44:in `chdir'
from /Library/Ruby/Gems/2.0.0/gems/fastlane-1.11.0/lib/fastlane/runner.rb:44:in `execute'
from /Library/Ruby/Gems/2.0.0/gems/fastlane-1.11.0/lib/fastlane/lane_manager.rb:36:in `cruise_lane'
from /Library/Ruby/Gems/2.0.0/gems/fastlane-1.11.0/lib/fastlane/command_line_handler.rb:31:in `handle'
from /Library/Ruby/Gems/2.0.0/gems/fastlane-1.11.0/bin/fastlane:35:in `block (2 levels) in run'
from /Library/Ruby/Gems/2.0.0/gems/commander-4.3.4/lib/commander/command.rb:178:in `call'
from /Library/Ruby/Gems/2.0.0/gems/commander-4.3.4/lib/commander/command.rb:178:in `call'
from /Library/Ruby/Gems/2.0.0/gems/commander-4.3.4/lib/commander/command.rb:153:in `run'
from /Library/Ruby/Gems/2.0.0/gems/commander-4.3.4/lib/commander/runner.rb:428:in `run_active_command'
from /Library/Ruby/Gems/2.0.0/gems/commander-4.3.4/lib/commander/runner.rb:68:in `run!'
from /Library/Ruby/Gems/2.0.0/gems/commander-4.3.4/lib/commander/delegates.rb:15:in `run!'
from /Library/Ruby/Gems/2.0.0/gems/fastlane-1.11.0/bin/fastlane:124:in `run'
from /Library/Ruby/Gems/2.0.0/gems/fastlane-1.11.0/bin/fastlane:130:in `<top (required)>'
from /usr/bin/fastlane:23:in `load'
from /usr/bin/fastlane:23:in `<main>'
Build step 'Execute shell' marked build as failure
Build did not succeed and the project is configured to only push after a successful build, so no pushing will occur.
Finished: FAILURE
Here is my logs.
Maybe ithis problem is "Unauthorized access" but I don't know how to fix it.
trungnts-Mac-Pro:fastlane trungnt$ fastlane submit
[09:49:02]: -------------------------------------------------
[09:49:02]: --- Step: Verifying required fastlane version ---
[09:49:02]: -------------------------------------------------
[09:49:02]: fastlane version valid
[09:49:02]: ------------------------------
[09:49:02]: --- Step: default_platform ---
[09:49:02]: ------------------------------
[09:49:02]: Driving the lane 'ios submit' 🚀
[09:49:02]: ---------------------
[09:49:02]: --- Step: produce ---
[09:49:02]: ---------------------
[09:49:06]: Creating new app 'Bo him Xuan Thanh' on the Apple Dev Center
[09:49:07]: Created app TK8NBX53QH
[09:49:08]: Finished creating new app 'Bo him Xuan Thanh' on the Dev Center
[09:49:10]: Variable Dump:
[09:49:10]: {:DEFAULT_PLATFORM=>:ios, :ENVIRONMENT=>nil, :PLATFORM_NAME=>:ios, :LANE_NAME=>"ios submit"}
[09:49:10]: {"data"=>nil, "messages"=>{"warn"=>nil, "error"=>["Unauthorized access"], "info"=>nil}, "statusCode"=>"ERROR"}
+------+-------------------------------------+-------------+
| fastlane summary |
+------+-------------------------------------+-------------+
| Step | Action | Time (in s) |
+------+-------------------------------------+-------------+
| 1 | Verifying required fastlane version | 0 |
| 2 | default_platform | 0 |
| 3 | produce | 7 |
+------+-------------------------------------+-------------+
[09:49:10]: fastlane finished with errors
/Library/Ruby/Gems/2.0.0/gems/spaceship-0.5.0/lib/spaceship/client.rb:241:in `parse_response': {"data"=>nil, "messages"=>{"warn"=>nil, "error"=>["Unauthorized access"], "info"=>nil}, "statusCode"=>"ERROR"} (Spaceship::Client::UnexpectedResponse)
I always used Brazilian Portuguese
as the main language on produce
action. Now I'm setting up a Jenkins server to publish the apps. When I run the same code as used to run on my machine it throws this error:
Please enter one of available languages: ["Brazilian", ...
I thought "Ok, the language changed to Brazilian
", I changed the language and the the error was the following:
You must choose a primary language.
Looks like produce tries to validade the language chosen, making me to pick Brazilian
while the iTunesConnect actually expects Brazilian Portuguese
.
My question is: why didn't this happen earlier? Why only on Jenkins server?
Hi,
When adding a new app in ITC, there is a field to enter the account company name (if the user is signed as a company).
Is there a way to add this as a variable in Produce?
Hello,
I'm a newbie and this question might sound funny...
Can Produce change details (for example, the name) of an existing app in Apple Developers and iTunes Connect?
Thank you.
This will likely require a change to spaceship
.
Currently, the app that is created uses the default settings, however, in most cases, at least one of the services needs to be turned on (for example HealthKit or HomeKit or Apple Pay), currently this can not be done through produce
/spaceship
.
Is this plausible or is this highly unlikely to ever make its way into the Fastlane toolchain?
Hey there,
I was trying to learn on passing environment variables to produce. But as I saw - the final command must include a lane name.
Is there any way to pass arguments to produce without needing to create a new lane (or dealing with the fast file at all), but only by using the produce command?
I'm asking this since I would like to use produce in a new bash script.
Thanks a lot in advance.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.