fastlane-old / pilot Goto Github PK
View Code? Open in Web Editor NEWThe best way to manage your TestFlight testers and builds from your terminal
Home Page: https://fastlane.tools
The best way to manage your TestFlight testers and builds from your terminal
Home Page: https://fastlane.tools
I was able to install Pilot on Ubuntu.
It works to invite users to my TestFlight beta.
It fails to save my password. Error: Could not store password in keychain
Is there a way to make this work?
Hi Felix,
Thank you for the great job that you're doing.
I first had the error " Couldn't find element '.page-subnav' after waiting for quite some time " which was happening because of the new update done by Apple on Itunes Connect.
So I Installed the new beta version of deliver and now I'm having a problem with "pilot".
Here's the error that I'm getting :
[Transporter Error Output]: ERROR ITMS-90161: "Invalid Provisioning Profile.
[19:01:18]: -------------------
[19:01:18]: --- Step: pilot ---
[19:01:18]: -------------------
[19:01:18]: Login to iTunes Connect (developer@######.com)
[19:01:19]: Login successful
[19:01:19]: Ready to upload new build to TestFlight (App: ########)...
[19:01:20]: Going to upload updated app to iTunesConnect
[19:01:20]: This might take a few minutes, please don't interrupt the script
[19:01:24]: [Transporter]: INFO: Transporter is skipping bundle update check: Already checked recently.
[19:01:24]: [Transporter]: INFO: Logging configured successfully.
[19:01:24]: [Transporter]: DEBUG: Attempting refresh of configuration data from https://contentdelivery.itunes.apple.com/transporter/Defaults.properties
[19:01:25]: [Transporter]: DEBUG: Configuration refresh successful.
[19:01:25]: [Transporter]: DEBUG: Saving configuration to local path: /Users/####/.itmstransporter/Defaults.properties
[19:01:25]: [Transporter]: INFO: iTMSTransporter : iTunes Store Transporter [1.8.5]
[19:01:25]: [Transporter]: INFO: OS identifier: Mac OS X 10.10.5 (x86_64); jvm=24.80-b07; jre=1.7.0-internal-root_2015_01_13_21_57-b00
[19:01:25]: [Transporter]: INFO: Memory: [JVM] 66M free, 80M total, 910M max [System] (Physical) 57M free, 8192M total (Swap) 850M free, 5120M total
[19:01:25]: [Transporter]: INFO: Upload mode selected.
[19:01:25]: [Transporter]: INFO: Examining the package at: /tmp/########.itmsp
[19:01:25]: [Transporter]: INFO: Ensuring that package has well formed metadata file...
[19:01:25]: [Transporter]: DEBUG: Getting case-sensitive metadata xml filename...
[19:01:25]: [Transporter]: INFO: Gathering the list of valid files from the package ...
[19:01:25]: [Transporter]: DEBUG: 27875799e2ac5c39cae3394357f56b9d.ipa will be verified by Apple's web service to determine if it is a valid file.
[19:01:25]: [Transporter]: DEBUG: metadata.xml will be verified by Apple's web service to determine if it is a valid file.
[19:01:25]: [Transporter]: INFO: Finished gathering the list of valid files from the package.
[19:01:25]: [Transporter]: DEBUG: Case-sensitive metadata filename is: metadata.xml
[19:01:25]: [Transporter]: INFO: Performing authentication of package ########.itmsp ...
[19:01:25]: [Transporter]: DBG-X: Memory: [JVM] 40M free, 80M total, 910M max [System] (Physical) 59M free, 8192M total (Swap) 850M free, 5120M total
[19:01:25]: [Transporter]: DBG-X: Memory: [JVM] 40M free, 80M total, 910M max [System] (Physical) 59M free, 8192M total (Swap) 850M free, 5120M total
[19:01:25]: [Transporter]: DBG-X: Using operation named: authenticateForSession
[19:01:25]: [Transporter]: DBG-X: Apple's web service operation input parameters:
[19:01:25]: [Transporter]: DBG-X: parameter Application = iTMSTransporter
[19:01:25]: [Transporter]: DBG-X: parameter BaseVersion = 1.8.3
[19:01:25]: [Transporter]: DBG-X: parameter OSIdentifier = Mac OS X 10.10.5 (x86_64); jvm=24.80-b07; jre=1.7.0-internal-root_2015_01_13_21_57-b00
[19:01:25]: [Transporter]: DBG-X: parameter Password = **hidden value**
[19:01:25]: [Transporter]: DBG-X: parameter TransporterArguments = -m upload -u developer@######.com -p **hidden value** -f /tmp/########.itmsp -t Signiant -k 100000
[19:01:25]: [Transporter]: DBG-X: parameter Username = developer@######.com
[19:01:25]: [Transporter]: DBG-X: parameter Version = 1.8.5
[19:01:25]: [Transporter]: INFO: id = 20150928190125-921
[19:01:25]: [Transporter]: DBG-X: Apple's web service operation return value:
[19:01:25]: [Transporter]: DBG-X: parameter SessionId = CKWmDBIQkE7E/5mtQ1un/OBhS0VGkg==
[19:01:25]: [Transporter]: DBG-X: parameter SharedSecret = 8ffe8a7e-d756-4410-9508-08c9f86fae11
[19:01:25]: [Transporter]: DBG-X: Deflated 432 bytes to 376
[19:01:25]: [Transporter]: DBG-X: Using operation named: validateMetadata
[19:01:25]: [Transporter]: DBG-X: Apple's web service operation input parameters:
[19:01:25]: [Transporter]: DBG-X: parameter Application = iTMSTransporter
[19:01:25]: [Transporter]: DBG-X: parameter BaseVersion = 1.8.3
[19:01:25]: [Transporter]: DBG-X: parameter Files = [27875799e2ac5c39cae3394357f56b9d.ipa, metadata.xml]
[19:01:25]: [Transporter]: DBG-X: parameter Metadata = <?xml version="1.0" encoding="UTF-8"?>
[19:01:25]: [Transporter]: DBG-X: parameter MetadataChecksum = f178528f9169867636cecc6253bc566f
[19:01:25]: [Transporter]: DBG-X: parameter MetadataCompressed = (suppressed)
[19:01:25]: [Transporter]: DBG-X: parameter OSIdentifier = Mac OS X 10.10.5 (x86_64); jvm=24.80-b07; jre=1.7.0-internal-root_2015_01_13_21_57-b00
[19:01:25]: [Transporter]: DBG-X: parameter PackageName = ########.itmsp
[19:01:25]: [Transporter]: DBG-X: parameter PackageSize = 83790755
[19:01:25]: [Transporter]: DBG-X: parameter Throttle = 100000
[19:01:26]: [Transporter]: DBG-X: parameter TransporterArguments = -m upload -u developer@######.com -p **hidden value** -f /tmp/########.itmsp -t Signiant -k 100000
[19:01:26]: [Transporter]: DBG-X: parameter Username = developer@######.com
[19:01:26]: [Transporter]: DBG-X: parameter Version = 1.8.5
[19:01:26]: [Transporter]: INFO: id = 20150928190126-257
[19:01:26]: [Transporter]: DBG-X: Apple's web service operation return value:
[19:01:26]: [Transporter]: DBG-X: parameter CPUToken = 07db23a6-8ddd-438e-94ea-b67ab7430164/1443491936692
[19:01:26]: [Transporter]: DBG-X: parameter AssetsToDescribe = [{UTI=com.apple.ipa, Role=source, ShouldDescribeAsset=true, Filename=27875799e2ac5c39cae3394357f56b9d.ipa}]
[19:01:26]: [Transporter]: DBG-X: parameter FileSizes = {27875799e2ac5c39cae3394357f56b9d.ipa=83790323}
[19:01:26]: [Transporter]: DBG-X: parameter Checksums = {27875799e2ac5c39cae3394357f56b9d.ipa=0d1b9c41e6f43561f34732a9ae28793b}
[19:01:26]: [Transporter]: DBG-X: parameter Success = true
[19:01:26]: [Transporter]: DBG-X: parameter FilesToUpload = [metadata.xml, 27875799e2ac5c39cae3394357f56b9d.ipa]
[19:01:26]: [Transporter]: DBG-X: parameter MinimumFileSizeThresholdForCheckum = 104857600
[19:01:26]: [Transporter]: DBG-X: parameter ProviderNameForToken = #######"24465129
[19:01:26]: [Transporter]: INFO: The list of files requested for upload by Apple is: [metadata.xml, 27875799e2ac5c39cae3394357f56b9d.ipa]. These are the files that will be uploaded.
[19:01:26]: [Transporter]: INFO: Starting media analysis of assets
[19:01:27]: [Transporter]: DEBUG: Handling asset: filename=27875799e2ac5c39cae3394357f56b9d.ipa,uti=com.apple.ipa,role=source,describe=true
[19:01:27]: [Transporter]: DEBUG: Using container type tool name and version: iOS App Describer:1.24
[19:01:27]: [Transporter]: DEBUG: Using path: /tmp/#######.itmsp/27875799e2ac5c39cae3394357f56b9d.ipa
[19:01:36]: [Transporter]: DEBUG: Asset successfully described: com.apple.jingle.leghorn.software.AbstractSoftwareDescriber$1@5f243f31
[19:01:36]: [Transporter]: INFO: Asset media analysis has completed
[19:01:36]: [Transporter]: DBG-X: Memory: [JVM] 26M free, 99M total, 910M max [System] (Physical) 194M free, 8192M total (Swap) 850M free, 5120M total
[19:01:36]: [Transporter]: DBG-X: Using operation named: lookupTransportDiagnostic
[19:01:36]: [Transporter]: DBG-X: Apple's web service operation input parameters:
[19:01:36]: [Transporter]: DBG-X: parameter Application = iTMSTransporter
[19:01:36]: [Transporter]: DBG-X: parameter BaseVersion = 1.8.3
[19:01:36]: [Transporter]: DBG-X: parameter OSIdentifier = Mac OS X 10.10.5 (x86_64); jvm=24.80-b07; jre=1.7.0-internal-root_2015_01_13_21_57-b00
[19:01:36]: [Transporter]: DBG-X: parameter TransporterArguments = -m upload -u developer@######.com -p **hidden value** -f /tmp/########.itmsp -t Signiant -k 100000
[19:01:36]: [Transporter]: DBG-X: parameter Username = developer@######.com
[19:01:36]: [Transporter]: DBG-X: parameter Version = 1.8.5
[19:01:36]: [Transporter]: INFO: id = 20150928190136-223
[19:01:37]: [Transporter]: DBG-X: Apple's web service operation return value:
[19:01:37]: [Transporter]: DBG-X: parameter SigniantLoggingLevel = OFF
[19:01:37]: [Transporter]: DBG-X: parameter AsperaLoggingLevel = OFF
[19:01:38]: [Transporter]: INFO: Signiant TransferEngine build 10.6.0.59156
[19:01:38]: [Transporter]: INFO: Using Signiant UDP transport
[19:01:38]: [Transporter]: DBG-X: Setting the target rate to 15000001 bytes per second.
[19:01:38]: [Transporter]: DBG-X: Setting the throttle to 12500000 bytes per second.
[19:01:38]: [Transporter]: INFO: Transfer engine: 10.6.0.59156
[19:01:38]: [Transporter]: INFO: The Signiant transfer engine's status is DISCONNECTED
[19:01:38]: [Transporter]: INFO: The Signiant transfer engine's status is CONNECTING
[19:01:38]: [Transporter]: INFO: Processing URL list: mxwan://sgr203.apple.com:44001/
[19:01:38]: [Transporter]: INFO: Trying UDP sgr203.apple.com/17.152.249.103:44001...
[19:01:39]: [Transporter]: INFO: Connected to UDP sgr203.apple.com/17.152.249.103:44001
[19:01:39]: [Transporter]: INFO: Authenticating
[19:01:39]: [Transporter]: INFO: The Signiant transfer engine's status is AWAITING_DATA_STREAMS
[19:01:39]: [Transporter]: INFO: Setting up data streams
[19:01:40]: [Transporter]: INFO: The Signiant transfer engine's status is CONNECTED
[19:01:40]: [Transporter]: INFO: Connected using WAN accelerator
[19:01:40]: [Transporter]: INFO: File: 6e98b420-06fd-4c17-8fa8-7f77ce0dc1388248162160090164472.txt 11/11, 100% completed
[19:01:40]: [Transporter]: DBG-X: The status for the file, 6e98b420-06fd-4c17-8fa8-7f77ce0dc1388248162160090164472.txt, is TRANSFERRED.
[19:01:40]: [Transporter]: INFO: The Signiant transfer engine's status is DISCONNECTED
[19:01:41]: [Transporter]: INFO: The Signiant transfer engine's status is DISCONNECTED
[19:01:41]: [Transporter]: DEBUG: Using token file path /Users/#####/.itmstransporter/UploadTokens/azizs-MacBook-Air.local_###########24465129_########.itmsp.token
[19:01:41]: [Transporter]: DEBUG: Attempting exclusive file lock on token file
[19:01:41]: [Transporter]: DEBUG: Token exists, examining
[19:01:41]: [Transporter]: DEBUG: Token pid: 13199, found process = false; my pid: 23194
[19:01:41]: [Transporter]: DEBUG: Reusing existing token: 2be185ca-8e97-47ac-86a4-b7356ebd21b4/1443032843382
[19:01:41]: [Transporter]: DEBUG: Set token: 2be185ca-8e97-47ac-86a4-b7356ebd21b4/1443032843382
[19:01:41]: [Transporter]: DBG-X: Memory: [JVM] 106M free, 158M total, 910M max [System] (Physical) 113M free, 8192M total (Swap) 850M free, 5120M total
[19:01:41]: [Transporter]: DBG-X: Deflated 432 bytes to 376
[19:01:41]: [Transporter]: DBG-X: Deflated 4017843 bytes to 773564
[19:01:41]: [Transporter]: DBG-X: Using operation named: validateAssets
[19:01:41]: [Transporter]: DBG-X: Apple's web service operation input parameters:
[19:01:41]: [Transporter]: DBG-X: parameter Application = iTMSTransporter
[19:01:41]: [Transporter]: DBG-X: parameter BaseVersion = 1.8.3
[19:01:41]: [Transporter]: DBG-X: parameter CPUToken = 2be185ca-8e97-47ac-86a4-b7356ebd21b4/1443032843382
[19:01:41]: [Transporter]: DBG-X: parameter Files = [27875799e2ac5c39cae3394357f56b9d.ipa, metadata.xml]
[19:01:41]: [Transporter]: DBG-X: parameter MetadataChecksum = f178528f9169867636cecc6253bc566f
[19:01:41]: [Transporter]: DBG-X: parameter MetadataCompressed = (suppressed)
[19:01:41]: [Transporter]: DBG-X: parameter OSIdentifier = Mac OS X 10.10.5 (x86_64); jvm=24.80-b07; jre=1.7.0-internal-root_2015_01_13_21_57-b00
[19:01:41]: [Transporter]: DBG-X: parameter PackageName = #######.itmsp
[19:01:41]: [Transporter]: DBG-X: parameter PackageSize = 83790755
[19:01:41]: [Transporter]: DBG-X: parameter Throttle = 100000
[19:01:41]: [Transporter]: DBG-X: parameter Transport = Signiant
[19:01:41]: [Transporter]: DBG-X: parameter TransporterArguments = -m upload -u [email protected] -p **hidden value** -f /tmp/#######.itmsp -t Signiant -k 100000
[19:01:41]: [Transporter]: DBG-X: parameter Username = developer@######.com
[19:01:41]: [Transporter]: DBG-X: parameter Version = 1.8.5
[19:01:41]: [Transporter]: INFO: id = 20150928190141-700
[19:01:46]: [Transporter]: DBG-X: Apple's web service operation return value:
[19:01:46]: [Transporter]: DBG-X: parameter ErrorMessage = ERROR ITMS-90161: "Invalid Provisioning Profile. The provisioning profile included in the bundle com.######.###### [Payload/######.app] is invalid. [Missing code-signing certificate]. A Distribution Provisioning profile should be used when submitting apps to the App Store. For more information, visit the iOS Developer Portal.
[19:01:46]: [Transporter]: DBG-X: parameter CPUToken = 2be185ca-8e97-47ac-86a4-b7356ebd21b4/1443032843382
[19:01:46]: [Transporter]: DBG-X: parameter AssetsToDescribe = [{UTI=com.apple.ipa, Role=source, ShouldDescribeAsset=true, Filename=27875799e2ac5c39cae3394357f56b9d.ipa}]
[19:01:46]: [Transporter]: DBG-X: parameter FileSizes = {27875799e2ac5c39cae3394357f56b9d.ipa=83790323}
[19:01:46]: [Transporter]: DBG-X: parameter Checksums = {27875799e2ac5c39cae3394357f56b9d.ipa=0d1b9c41e6f43561f34732a9ae28793b}
[19:01:46]: [Transporter]: DBG-X: parameter Errors = [ERROR ITMS-90161: "Invalid Provisioning Profile. The provisioning profile included in the bundle com.######.###### [Payload/######.app] is invalid. [Missing code-signing certificate]. A Distribution Provisioning profile should be used when submitting apps to the App Store. For more information, visit the iOS Developer Portal."]
[19:01:46]: [Transporter]: DBG-X: parameter ErrorCode = 1102
[19:01:46]: [Transporter]: DBG-X: parameter Success = false
[19:01:46]: [Transporter]: DBG-X: parameter FilesToUpload = [metadata.xml, 27875799e2ac5c39cae3394357f56b9d.ipa]
[19:01:46]: [Transporter]: DBG-X: parameter MinimumFileSizeThresholdForCheckum = 104857600
[19:01:46]: [Transporter Error Output]: ERROR ITMS-90161: "Invalid Provisioning Profile. The provisioning profile included in the bundle com.######.###### [Payload/#####.app] is invalid. [Missing code-signing certificate]. A Distribution Provisioning profile should be used when submitting apps to the App Store. For more information, visit the iOS Developer Portal."
[19:01:46]: [Transporter]: DBG-X: The error code is: 1102
[19:01:46]: [Transporter]: INFO: Done performing authentication.
[19:01:46]: Transporter transfer failed.
[19:01:46]:
[19:01:46]: ERROR ITMS-90161: "Invalid Provisioning Profile. The provisioning profile included in the bundle com.######.###### [Payload/######.app] is invalid. [Missing code-signing certificate]. A Distribution Provisioning profile should be used when submitting apps to the App Store. For more information, visit the iOS Developer Portal."
[19:01:46]: Return status of iTunes Transporter was 1: ERROR ITMS-90161: "Invalid Provisioning Profile. The provisioning profile included in the bundle com.######.###### [Payload/######.app] is invalid. [Missing code-signing certificate]. A Distribution Provisioning profile should be used when submitting apps to the App Store. For more information, visit the iOS Developer Portal."
[19:01:46]: ERROR ITMS-90161: "Invalid Provisioning Profile. The provisioning profile included in the bundle com.#####.##### [Payload/#####.app] is invalid. [Missing code-signing certificate]. A Distribution Provisioning profile should be used when submitting apps to the App Store. For more information, visit the iOS Developer Portal."
Return status of iTunes Transporter was 1: ERROR ITMS-90161: "Invalid Provisioning Profile. The provisioning profile included in the bundle com.#####.##### [Payload/#####.app] is invalid. [Missing code-signing certificate]. A Distribution Provisioning profile should be used when submitting apps to the App Store. For more information, visit the iOS Developer Portal."
[19:01:46]: Variable Dump:
[19:01:46]: {:DEFAULT_PLATFORM=>:ios, :PLATFORM_NAME=>:ios, :LANE_NAME=>"ios beta", :SIGH_PROFILE_PATH=>"/Users/####/ios-app/AppStore_com.######.######.mobileprovision", :SIGH_PROFILE_PATHS=>["/Users/####/ios-app/AppStore_com.######.######.mobileprovision", "/tmp/AppStore_com.######.######.mobileprovision", "/Users/#####/ios-app/AppStore_com.######.######.mobileprovision"], :SIGH_UDID=>"45c62694-1e71-4401-a469-1fbfb838e340", :SIGH_PROFILE_TYPE=>"app-store", :IPA_OUTPUT_PATH=>"/Users/####/ios-app/Jogabo.ipa", :DSYM_OUTPUT_PATH=>"/Users/####/ios-app/#######.app.dSYM.zip"}
[19:01:46]: Error uploading ipa file, more information see above
+------+-------------------------------------+-------------+
| fastlane summary |
+------+-------------------------------------+-------------+
| Step | Action | Time (in s) |
+------+-------------------------------------+-------------+
| 1 | Verifying required fastlane version | 0 |
| 2 | default_platform | 0 |
| 3 | cocoapods | 56 |
| 4 | sigh | 133 |
| 5 | sigh | 100 |
| 6 | gym | 1162 |
| 7 | sigh | 35 |
| 8 | pilot | 28 |
+------+-------------------------------------+-------------+
[19:01:46]: fastlane finished with errors
/Library/Ruby/Gems/2.0.0/gems/pilot-0.2.1/lib/pilot/build_manager.rb:25:in `upload': Error uploading ipa file, more information see above (RuntimeError)
from /Library/Ruby/Gems/2.0.0/gems/fastlane-1.29.2/lib/fastlane/actions/pilot.rb:13:in `run'
from /Library/Ruby/Gems/2.0.0/gems/fastlane-1.29.2/lib/fastlane/runner.rb:142:in `block (2 levels) in execute_action'
from /Library/Ruby/Gems/2.0.0/gems/fastlane-1.29.2/lib/fastlane/actions/actions_helper.rb:37:in `execute_action'
from /Library/Ruby/Gems/2.0.0/gems/fastlane-1.29.2/lib/fastlane/runner.rb:128:in `block in execute_action'
from /Library/Ruby/Gems/2.0.0/gems/fastlane-1.29.2/lib/fastlane/runner.rb:127:in `chdir'
from /Library/Ruby/Gems/2.0.0/gems/fastlane-1.29.2/lib/fastlane/runner.rb:127:in `execute_action'
from /Library/Ruby/Gems/2.0.0/gems/fastlane-1.29.2/lib/fastlane/fast_file.rb:134:in `method_missing'
from (eval):53:in `block (3 levels) in parse'
from /Library/Ruby/Gems/2.0.0/gems/fastlane-1.29.2/lib/fastlane/lane.rb:36:in `call'
from /Library/Ruby/Gems/2.0.0/gems/fastlane-1.29.2/lib/fastlane/lane.rb:36:in `call'
from /Library/Ruby/Gems/2.0.0/gems/fastlane-1.29.2/lib/fastlane/runner.rb:51:in `block in execute'
from /Library/Ruby/Gems/2.0.0/gems/fastlane-1.29.2/lib/fastlane/runner.rb:46:in `chdir'
from /Library/Ruby/Gems/2.0.0/gems/fastlane-1.29.2/lib/fastlane/runner.rb:46:in `execute'
from /Library/Ruby/Gems/2.0.0/gems/fastlane-1.29.2/lib/fastlane/lane_manager.rb:43:in `cruise_lane'
from /Library/Ruby/Gems/2.0.0/gems/fastlane-1.29.2/lib/fastlane/command_line_handler.rb:31:in `handle'
from /Library/Ruby/Gems/2.0.0/gems/fastlane-1.29.2/bin/fastlane:36:in `block (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:in `call'
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:in `run_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:in `run!'
from /Library/Ruby/Gems/2.0.0/gems/fastlane-1.29.2/bin/fastlane:127:in `run'
from /Library/Ruby/Gems/2.0.0/gems/fastlane-1.29.2/bin/fastlane:133:in `<top (required)>'
from /usr/bin/fastlane:23:in `load'
here is my Fastfile :
fastlane_version "1.26.0"
default_platform :ios
platform :ios do
before_all do
ENV["SLACK_URL"] = "https://hooks.slack.com/services/#####################"
cocoapods
# increment_build_number
sigh
udid = sigh(app_identifier: "com.#######.######", output_path: "/tmp")
ENV["######_UDID"] = lane_context[SharedValues::SIGH_UDID]
gym(scheme: "######")
end
desc "Submit a new Beta Build to Apple TestFlight"
desc "This will also make sure the profile is up to date"
lane :beta do
sigh
deliver(skip_deploy: true, beta: true)
pilot
# sh "your_script.sh"
# You can also use other beta testing services here
end
desc "Deploy a new version to the App Store"
desc "** Full Markdown** Support: `code`"
lane :deploy do
sigh
deliver(skip_deploy: true, force: true)
end
# You can define as many lanes as you want
after_all do |lane|
# This block is called, only if the executed lane was successful
slack(
message: "Successfully deployed new App Update."
)
end
error do |lane, exception|
slack(
message: exception.message,
success: false
)
end
end
I seem to be getting an unauthorized access error after successful login to iTunes Connect. This is true for other pilot resources as well. I've tried deleting the keychain password, entering the username in the parameters and having it reprompt me with the known password and still get this. Should this be working, or is it a problem on my end somehow?
$ pilot builds
[17:23:33]: Login to iTunes Connect
[17:23:34]: Login successful
/Library/Ruby/Gems/2.0.0/gems/spaceship-0.4.0/lib/spaceship/client.rb:239:in `parse_response': {"data"=>nil, "messages"=>{"warn"=>nil, "info"=>nil, "error"=>["Unauthorized access"]}, "statusCode"=>"ERROR"} (Spaceship::Client::UnexpectedResponse)
from /Library/Ruby/Gems/2.0.0/gems/spaceship-0.4.0/lib/spaceship/tunes/tunes_client.rb:129:in `applications'
from /Library/Ruby/Gems/2.0.0/gems/spaceship-0.4.0/lib/spaceship/tunes/application.rb:63:in `all'
from /Library/Ruby/Gems/2.0.0/gems/spaceship-0.4.0/lib/spaceship/tunes/application.rb:69:in `find'
from /Library/Ruby/Gems/2.0.0/gems/pilot-0.1.6/lib/pilot/manager.rb:45:in `fetch_app_id'
from /Library/Ruby/Gems/2.0.0/gems/pilot-0.1.6/lib/pilot/manager.rb:24:in `app'
from /Library/Ruby/Gems/2.0.0/gems/pilot-0.1.6/lib/pilot/build_manager.rb:33:in `list'
from /Library/Ruby/Gems/2.0.0/gems/pilot-0.1.6/lib/pilot/commands_generator.rb:57:in `block (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:in `call'
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:in `run_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:in `run!'
from /Library/Ruby/Gems/2.0.0/gems/pilot-0.1.6/lib/pilot/commands_generator.rb:120:in `run'
from /Library/Ruby/Gems/2.0.0/gems/pilot-0.1.6/lib/pilot/commands_generator.rb:15:in `start'
from /Library/Ruby/Gems/2.0.0/gems/pilot-0.1.6/bin/pilot:6:in `<top (required)>'
from /usr/bin/pilot:23:in `load'
from /usr/bin/pilot:23:in `<main>'
I get the following error when trying to deploy to testflight.. I am using pilot 0.2.1
[11:20:20]: undefined method `collect' for nil:NilClass
+------+-------------------------------------+-------------+
| fastlane summary |
+------+-------------------------------------+-------------+
| Step | Action | Time (in s) |
+------+-------------------------------------+-------------+
| 1 | update_fastlane | 5 |
| 2 | Verifying required fastlane version | 0 |
| 3 | default_platform | 0 |
| 4 | increment_build_number | 2 |
| 5 | increment_version_number | 1 |
| 6 | gym | 221 |
| 7 | commit_version_bump | 1 |
| 8 | push_to_git_remote | 4 |
| 9 | pilot | 127 |
+------+-------------------------------------+-------------+
[11:20:20]: fastlane finished with errors
/Users/dev/.rvm/gems/ruby-2.2.1@testproj/gems/spaceship-0.9.0/lib/spaceship/tunes/build_train.rb:69:in `setup': undefined method `collect' for nil:NilClass (NoMethodError)
As the title suggests I can't upload *.ipa file with --skip_submission
option. Here is the command output:
$ pilot upload -u [email protected] -p 1525304646 --skip_submission
/Library/Ruby/Gems/2.0.0/gems/commander-4.3.4/lib/commander/runner.rb:363:in `parse_global_options': missing argument: --skip_submission (OptionParser::MissingArgument)
from /Library/Ruby/Gems/2.0.0/gems/commander-4.3.4/lib/commander/runner.rb:65: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/pilot-0.1.3/lib/pilot/commands_generator.rb:120:in `run'
from /Library/Ruby/Gems/2.0.0/gems/pilot-0.1.3/lib/pilot/commands_generator.rb:15:in `start'
from /Library/Ruby/Gems/2.0.0/gems/pilot-0.1.3/bin/pilot:6:in `<top (required)>'
from /usr/bin/pilot:23:in `load'
from /usr/bin/pilot:23:in `<main>'
Is there a way how to upload TestFlight build with e.g. "What to Test" info?
$ pilot upload -i App.ipa
...
[13:37:26]: ------------------------------------------------------------------------------------------------------
[13:37:26]: Successfully uploaded package to iTunesConnect. It might take a few minutes until it's visible online.
[13:37:26]: ------------------------------------------------------------------------------------------------------
[13:37:26]: Successfully uploaded the new binary to iTunes Connect
[13:37:26]: Waiting for iTunes Connect to process the new build
[13:38:09]: Waiting for iTunes Connect to process the new build
[13:38:51]: Waiting for iTunes Connect to process the new build
[13:39:34]: Waiting for iTunes Connect to process the new build
[13:40:17]: Waiting for iTunes Connect to process the new build
[13:41:00]: Waiting for iTunes Connect to process the new build
[13:41:43]: Build successfully processed by iTunes Connect
[13:41:43]: Distributing new build to testers
/Library/Ruby/Gems/2.0.0/gems/spaceship-0.10.2/lib/spaceship/tunes/build_train.rb:80:in `block in update_testing_status!': undefined method `[]=' for nil:NilClass (NoMethodError)
from /Library/Ruby/Gems/2.0.0/gems/spaceship-0.10.2/lib/spaceship/tunes/build_train.rb:79:in `each'
from /Library/Ruby/Gems/2.0.0/gems/spaceship-0.10.2/lib/spaceship/tunes/build_train.rb:79:in `update_testing_status!'
from /Library/Ruby/Gems/2.0.0/gems/pilot-0.2.3/lib/pilot/build_manager.rb:94:in `block in distribute_build'
from /Library/Ruby/Gems/2.0.0/gems/pilot-0.2.3/lib/pilot/build_manager.rb:88:in `times'
from /Library/Ruby/Gems/2.0.0/gems/pilot-0.2.3/lib/pilot/build_manager.rb:88:in `distribute_build'
from /Library/Ruby/Gems/2.0.0/gems/pilot-0.2.3/lib/pilot/build_manager.rb:22:in `upload'
from /Library/Ruby/Gems/2.0.0/gems/pilot-0.2.3/lib/pilot/commands_generator.rb:48:in `block (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:in `call'
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:in `run_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:in `run!'
from /Library/Ruby/Gems/2.0.0/gems/pilot-0.2.3/lib/pilot/commands_generator.rb:120:in `run'
from /Library/Ruby/Gems/2.0.0/gems/pilot-0.2.3/lib/pilot/commands_generator.rb:17:in `start'
from /Library/Ruby/Gems/2.0.0/gems/pilot-0.2.3/bin/pilot:6:in `<top (required)>'
from /usr/bin/pilot:23:in `load'
from /usr/bin/pilot:23:in `<main>'
On Thursday, the 27th of August, our pilot upload went from being successful (9 builds delivered to TestFlight the prior day) to "Invalid username and password combination".
I've tried resetting the password, deleting the key from KeyChain and resubmitting it. This had no effect.
I've tried copying the password from KeyChain and logging into iTunesConnect, this works and means the KeyChain creds are valid.
I've tried another set of credentials. This works and is our current workaround, but we'd rather not use these creds for our CI build.
I've tried manually uploading the package via ApplicationLoader and using my credentials as stored in the keychain. Interestingly, this displays a "Your Apple ID or password was entered incorrectly" message but continues on anyway and uploads the package.
The pilot version:
bundle exec pilot -v
pilot 0.1.6
The command used to upload:
DELIVER_ITMSTRANSPORTER_ADDITIONAL_UPLOAD_PARAMETERS="-k 100000;" bundle exec pilot upload -u [email protected] -i Dist/filename.ipa --skip_submission
[09:48:21]: Login to iTunes Connect
/Users/Shared/Jenkins/Home/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/spaceship-0.5.3/lib/spaceship/tunes/tunes_client.rb:69:in `send_login_request': Invalid username and password combination. Used '[email protected]' as the username. (Spaceship::Client::InvalidUserCredentialsError)
from /Users/Shared/Jenkins/Home/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/spaceship-0.5.3/lib/spaceship/client.rb:152:in `login'
from /Users/Shared/Jenkins/Home/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/spaceship-0.5.3/lib/spaceship/client.rb:48:in `login'
from /Users/Shared/Jenkins/Home/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/spaceship-0.5.3/lib/spaceship/tunes/spaceship.rb:22:in `login'
from /Users/Shared/Jenkins/Home/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/pilot-0.1.6/lib/pilot/manager.rb:18:in `login'
from /Users/Shared/Jenkins/Home/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/pilot-0.1.6/lib/pilot/manager.rb:8:in `start'
from /Users/Shared/Jenkins/Home/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/pilot-0.1.6/lib/pilot/build_manager.rb:4:in `upload'
from /Users/Shared/Jenkins/Home/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/pilot-0.1.6/lib/pilot/commands_generator.rb:48:in `block (2 levels) in run'
from /Users/Shared/Jenkins/Home/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/commander-4.3.5/lib/commander/command.rb:178:in `call'
from /Users/Shared/Jenkins/Home/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/commander-4.3.5/lib/commander/command.rb:178:in `call'
from /Users/Shared/Jenkins/Home/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/commander-4.3.5/lib/commander/command.rb:153:in `run'
from /Users/Shared/Jenkins/Home/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/commander-4.3.5/lib/commander/runner.rb:428:in `run_active_command'
from /Users/Shared/Jenkins/Home/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/commander-4.3.5/lib/commander/runner.rb:68:in `run!'
from /Users/Shared/Jenkins/Home/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/commander-4.3.5/lib/commander/delegates.rb:15:in `run!'
from /Users/Shared/Jenkins/Home/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/pilot-0.1.6/lib/pilot/commands_generator.rb:120:in `run'
from /Users/Shared/Jenkins/Home/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/pilot-0.1.6/lib/pilot/commands_generator.rb:15:in `start'
from /Users/Shared/Jenkins/Home/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/pilot-0.1.6/bin/pilot:6:in `<top (required)>'
from /Users/Shared/Jenkins/Home/.rbenv/versions/2.2.2/bin/pilot:23:in `load'
from /Users/Shared/Jenkins/Home/.rbenv/versions/2.2.2/bin/pilot:23:in `<main>'
The ApplicationLoader message:
Since iTunes Connect doesn't support multiple teams, I often use one Apple ID to interact with the Dev Center (defined in an Appfile) and another ID for iTunes Connect (defined in a Deliverfile).
Unfortunately pilot
always tries authenticating with iTunes Connect using the Appfile account (adding -u
to the command works, but it's not as convenient).
It would be great if pilot
could use the ID specified in the Deliverfile by default.
As the appstore has issues processing the builds , it can take forever to see if the build is there.
In this case the ipa was uploaded (confirmed by itsmTransporter). But then hangs forever as the appstore can't process it ( > 1.5 hours).
Ideally I can upload and forget to the appstore without it being non-processing / available.
[06:47:38]: Waiting for iTunes Connect to process the new build
[06:47:43]: Waiting for iTunes Connect to process the new build
[06:47:49]: Waiting for iTunes Connect to process the new build
[06:47:55]: Waiting for iTunes Connect to process the new build
[06:48:01]: Waiting for iTunes Connect to process the new build
[06:48:06]: Waiting for iTunes Connect to process the new build
[06:48:12]: Waiting for iTunes Connect to process the new build
[06:48:18]: Waiting for iTunes Connect to process the new build
[06:48:24]: Waiting for iTunes Connect to process the new build
[06:48:30]: Waiting for iTunes Connect to process the new build
[0
Hi All,
Am trying to upload a IPA file to TestFlight through PILOT, but its throwing the following error as follows,
The console shows the following,
[15:12:51]: [Transporter]: DBG-X: Apple's web service operation return value:
[15:12:51]: [Transporter]: DBG-X: parameter Success = true
[15:12:51]: Transporter transfer failed.
[15:12:51]:
[15:12:51]:
[15:12:51]: Return status of iTunes Transporter was 1:
[15:12:51]: Return status of iTunes Transporter was 1:
/Library/Ruby/Gems/2.0.0/gems/pilot-0.2.0/lib/pilot/build_manager.rb:25:in `upload': Error uploading ipa file, more information see above (RuntimeError)
from /Library/Ruby/Gems/2.0.0/gems/pilot-0.2.0/lib/pilot/commands_generator.rb:48:in `block (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:in `call'
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:in `run_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:in `run!'
from /Library/Ruby/Gems/2.0.0/gems/pilot-0.2.0/lib/pilot/commands_generator.rb:120:in `run'
from /Library/Ruby/Gems/2.0.0/gems/pilot-0.2.0/lib/pilot/commands_generator.rb:17:in `start'
from /Library/Ruby/Gems/2.0.0/gems/pilot-0.2.0/bin/pilot:6:in `<top (required)>'
from /usr/bin/pilot:23:in `load'
from /usr/bin/pilot:23:in `
'
Could anyone please help on this??
Thanks
Is it possible to have Changelog file as opposed to fixing Fastlane file for each submission to include "what's new" in build?
The upload worked great, but the next step died for me (I'm trying your tool for the first time).
$ pilot -v
pilot 0.1.5
$ pilot upload -i push/apps/Directory.ipa -u [email protected]
...
[18:27:36]: Successfully uploaded the new binary to iTunes Connect
...
[18:28:28]: Waiting for iTunes Connect to process the new build
[18:28:37]: Waiting for iTunes Connect to process the new build
[18:28:46]: Waiting for iTunes Connect to process the new build
[18:28:54]: Waiting for iTunes Connect to process the new build
[18:29:02]: Waiting for iTunes Connect to process the new build
[18:29:11]: Build successfully processed by iTunes Connect
[18:29:11]: Distributing new build to testers
/Library/Ruby/Gems/2.0.0/gems/pilot-0.1.5/lib/pilot/build_manager.rb:84:in `distribute_build': undefined method `build_train' for nil:NilClass (NoMethodError)
from /Library/Ruby/Gems/2.0.0/gems/pilot-0.1.5/lib/pilot/build_manager.rb:18:in `upload'
from /Library/Ruby/Gems/2.0.0/gems/pilot-0.1.5/lib/pilot/commands_generator.rb:48: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/pilot-0.1.5/lib/pilot/commands_generator.rb:120:in `run'
from /Library/Ruby/Gems/2.0.0/gems/pilot-0.1.5/lib/pilot/commands_generator.rb:15:in `start'
from /Library/Ruby/Gems/2.0.0/gems/pilot-0.1.5/bin/pilot:6:in `<top (required)>'
from /usr/bin/pilot:23:in `load'
from /usr/bin/pilot:23:in `<main>'
[11:36:03]: Login to iTunes Connect
[11:36:04]: Login successful
/usr/local/lib/ruby/gems/2.2.0/gems/spaceship-0.5.1/lib/spaceship/tunes/build.rb:165:in `testing_status': undefined method `testing_enabled' for #<Spaceship::Tunes::Application:0x007fc37a981418> (NoMethodError)
from /usr/local/lib/ruby/gems/2.2.0/gems/pilot-0.1.6/lib/pilot/build_manager.rb:47:in `describe_build'
from /usr/local/lib/ruby/gems/2.2.0/gems/pilot-0.1.6/lib/pilot/build_manager.rb:33:in `block in list'
from /usr/local/lib/ruby/gems/2.2.0/gems/pilot-0.1.6/lib/pilot/build_manager.rb:33:in `collect'
from /usr/local/lib/ruby/gems/2.2.0/gems/pilot-0.1.6/lib/pilot/build_manager.rb:33:in `list'
from /usr/local/lib/ruby/gems/2.2.0/gems/pilot-0.1.6/lib/pilot/commands_generator.rb:57:in `block (2 levels) in run'
from /usr/local/lib/ruby/gems/2.2.0/gems/commander-4.3.5/lib/commander/command.rb:178:in `call'
from /usr/local/lib/ruby/gems/2.2.0/gems/commander-4.3.5/lib/commander/command.rb:178:in `call'
from /usr/local/lib/ruby/gems/2.2.0/gems/commander-4.3.5/lib/commander/command.rb:153:in `run'
from /usr/local/lib/ruby/gems/2.2.0/gems/commander-4.3.5/lib/commander/runner.rb:428:in `run_active_command'
from /usr/local/lib/ruby/gems/2.2.0/gems/commander-4.3.5/lib/commander/runner.rb:68:in `run!'
from /usr/local/lib/ruby/gems/2.2.0/gems/commander-4.3.5/lib/commander/delegates.rb:15:in `run!'
from /usr/local/lib/ruby/gems/2.2.0/gems/pilot-0.1.6/lib/pilot/commands_generator.rb:120:in `run'
from /usr/local/lib/ruby/gems/2.2.0/gems/pilot-0.1.6/lib/pilot/commands_generator.rb:15:in `start'
from /usr/local/lib/ruby/gems/2.2.0/gems/pilot-0.1.6/bin/pilot:6:in `<top (required)>'
from /usr/local/bin/pilot:23:in `load'
from /usr/local/bin/pilot:23:in `<main>'
via @czechboy0
Hello All,
Am trying to Upload the IPA File to TestFlight through PILOT. My question is "How Can I Upload the Binaries with Different Build Number, If it is possible Can anyone give the Syntax?", Thanks. Also, I tried with "pilot upload -u username -p password -w buildnumber" , its saying Redundant Binary.
Hi I am trying to use pilot with Jenkins.
My ip has been built with the XCode plugin and now I would like to upload it.
But it asks for a password. How do I specify the password so I can automate this process.
Thanks
p.s I have not used fast lane or anything else. I am just calling: "pilot upload -u USERNAME -i PATH_TO_IPA -a APP_ID -p APPLE_APP_ID
[18:32:01]: Waiting for iTunes Connect transporter to be finished.
[18:32:01]: iTunes Transporter progress... this might take a few minutes...
[18:32:31]: [Transporter Error Output]: Could not start delivery: all transports failed diagnostics
[18:32:31]: Transporter transfer failed.
[18:32:31]:
[18:32:31]: Could not start delivery: all transports failed diagnostics
[18:32:31]: Return status of iTunes Transporter was 1: Could not start delivery: all transports failed diagnostics
[18:32:31]: Could not start delivery: all transports failed diagnostics
Return status of iTunes Transporter was 1: Could not start delivery: all transports failed diagnostics
error: Error distributing new beta version!. Use --trace to view backtrace
When trying to upload my beta version through pilot, i have following error. Please let me know how to fix this one.
The upload worked great, but the next step died for me (I'm trying your tool for the first time).
[18:28:28]: Waiting for iTunes Connect to process the new build
[18:28:37]: Waiting for iTunes Connect to process the new build
[18:28:46]: Waiting for iTunes Connect to process the new build
[18:28:54]: Waiting for iTunes Connect to process the new build
[18:29:02]: Waiting for iTunes Connect to process the new build
[18:29:11]: Build successfully processed by iTunes Connect
[18:29:11]: Distributing new build to testers
/Library/Ruby/Gems/2.0.0/gems/pilot-0.1.5/lib/pilot/build_manager.rb:84:in `distribute_build': undefined method `build_train' for nil:NilClass (NoMethodError)
from /Library/Ruby/Gems/2.0.0/gems/pilot-0.1.5/lib/pilot/build_manager.rb:18:in `upload'
from /Library/Ruby/Gems/2.0.0/gems/pilot-0.1.5/lib/pilot/commands_generator.rb:48: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/pilot-0.1.5/lib/pilot/commands_generator.rb:120:in `run'
from /Library/Ruby/Gems/2.0.0/gems/pilot-0.1.5/lib/pilot/commands_generator.rb:15:in `start'
from /Library/Ruby/Gems/2.0.0/gems/pilot-0.1.5/bin/pilot:6:in `<top (required)>'
from /usr/bin/pilot:23:in `load'
from /usr/bin/pilot:23:in `<main>'
testers.csv has the following header
First,Last,Email,Devices,Groups,Installed Version,Install Date
But lacks: install_version, install_date
Caused by b1877ab
Not sure why removed!
This is the output i have got
�[37m[03:45:07]: �[0m�[32m------------------------------------------------------------------------------------------------------�[0m
�[37m[03:45:07]: �[0m�[32mSuccessfully uploaded package to iTunesConnect. It might take a few minutes until it's visible online.�[0m
�[37m[03:45:07]: �[0m�[32m------------------------------------------------------------------------------------------------------�[0m
�[37m[03:45:07]: �[0mSuccessfully uploaded the new binary to iTunes Connect
�[37m[03:45:07]: �[0mWaiting for iTunes Connect to process the new build
�[37m[03:45:40]: �[0mWaiting for iTunes Connect to process the new build
�[37m[03:46:13]: �[0mWaiting for iTunes Connect to process the new build
�[37m[03:46:46]: �[0m�[32mBuild successfully processed by iTunes Connect�[0m
�[37m[03:46:46]: �[0mDistributing new build to testers
�[37m[03:46:48]: �[0mBinary is not yet available online...
�[37m[03:47:20]: �[0mBinary is not yet available online...
�[37m[03:47:52]: �[0mBinary is not yet available online...
�[37m[03:48:25]: �[0mBinary is not yet available online...
�[37m[03:48:57]: �[0mBinary is not yet available online...
�[37m[03:49:29]: �[0mBinary is not yet available online...
�[37m[03:50:03]: �[0mBinary is not yet available online...
�[37m[03:50:36]: �[0mBinary is not yet available online...
�[37m[03:51:08]: �[0mBinary is not yet available online...
�[37m[03:51:41]: �[0mBinary is not yet available online...
�[37m[03:52:13]: �[0mBinary is not yet available online...
�[37m[03:52:45]: �[0mBinary is not yet available online...
�[37m[03:53:17]: �[0mBinary is not yet available online...
�[37m[03:53:49]: �[0mBinary is not yet available online...
�[37m[03:54:21]: �[0mBinary is not yet available online...
�[37m[03:54:54]: �[0mBinary is not yet available online...
�[37m[03:55:26]: �[0mBinary is not yet available online...
�[37m[03:55:58]: �[0mBinary is not yet available online...
�[37m[03:56:30]: �[0mBinary is not yet available online...
�[37m[03:57:03]: �[0mBinary is not yet available online...
�[37m[03:57:35]: �[0mBinary is not yet available online...
�[37m[03:58:07]: �[0mBinary is not yet available online...
�[37m[03:58:39]: �[0mBinary is not yet available online...
�[37m[03:59:11]: �[0mBinary is not yet available online...
�[37m[03:59:44]: �[0mBinary is not yet available online...
�[37m[04:00:16]: �[0mBinary is not yet available online...
�[37m[04:00:49]: �[0mBinary is not yet available online...
�[37m[04:01:21]: �[0mBinary is not yet available online...
�[37m[04:01:53]: �[0mBinary is not yet available online...
�[37m[04:02:26]: �[0mBinary is not yet available online...
�[37m[04:02:58]: �[0mBinary is not yet available online...
�[37m[04:03:30]: �[0mBinary is not yet available online...
�[37m[04:04:02]: �[0mBinary is not yet available online...
�[37m[04:04:35]: �[0mBinary is not yet available online...
�[37m[04:05:07]: �[0mBinary is not yet available online...
�[37m[04:05:40]: �[0mBinary is not yet available online...
�[37m[04:06:12]: �[0mBinary is not yet available online...
�[37m[04:06:44]: �[0mBinary is not yet available online...
�[37m[04:07:17]: �[0mBinary is not yet available online...
�[37m[04:07:49]: �[0mBinary is not yet available online...
�[37m[04:08:21]: �[0mBinary is not yet available online...
�[37m[04:08:54]: �[0mBinary is not yet available online...
�[37m[04:09:26]: �[0mBinary is not yet available online...
�[37m[04:09:59]: �[0mBinary is not yet available online...
�[37m[04:10:31]: �[0mBinary is not yet available online...
�[37m[04:11:03]: �[0mBinary is not yet available online...
�[37m[04:11:36]: �[0mBinary is not yet available online...
�[37m[04:12:08]: �[0mBinary is not yet available online...
�[37m[04:12:40]: �[0mBinary is not yet available online...
�[37m[04:13:15]: �[0mBinary is not yet available online...
�[37m[04:13:47]: �[0mBinary is not yet available online...
�[37m[04:14:19]: �[0mBinary is not yet available online...
�[37m[04:14:51]: �[0mBinary is not yet available online...
�[37m[04:15:23]: �[0mBinary is not yet available online...
�[37m[04:15:56]: �[0mBinary is not yet available online...
�[37m[04:16:28]: �[0mBinary is not yet available online...
�[37m[04:17:00]: �[0mBinary is not yet available online...
�[37m[04:17:32]: �[0mBinary is not yet available online...
�[37m[04:18:04]: �[0mBinary is not yet available online...
�[37m[04:18:36]: �[0mBinary is not yet available online...
�[37m[04:19:08]: �[0mBinary is not yet available online...
�[37m[04:19:40]: �[0mBinary is not yet available online...
�[37m[04:20:12]: �[0mBinary is not yet available online...
�[37m[04:20:44]: �[0mBinary is not yet available online...
�[37m[04:21:16]: �[0mBinary is not yet available online...
�[37m[04:21:49]: �[0mBinary is not yet available online...
�[37m[04:22:22]: �[0mBinary is not yet available online...
�[37m[04:22:54]: �[0mBinary is not yet available online...
�[37m[04:23:26]: �[0mBinary is not yet available online...
�[37m[04:23:58]: �[0mBinary is not yet available online...
�[37m[04:24:30]: �[0mBinary is not yet available online...
�[37m[04:25:02]: �[0mBinary is not yet available online...
�[37m[04:25:37]: �[0mBinary is not yet available online...
�[37m[04:26:11]: �[0mBinary is not yet available online...
�[37m[04:26:43]: �[0mBinary is not yet available online...
�[37m[04:27:16]: �[0mBinary is not yet available online...
�[37m[04:27:48]: �[0mBinary is not yet available online...
�[37m[04:28:20]: �[0mBinary is not yet available online...
�[37m[04:28:52]: �[0mBinary is not yet available online...
�[37m[04:29:25]: �[0mBinary is not yet available online...
�[37m[04:29:57]: �[0mBinary is not yet available online...
�[37m[04:30:29]: �[0mBinary is not yet available online...
�[37m[04:31:01]: �[0mBinary is not yet available online...
�[37m[04:31:34]: �[0mBinary is not yet available online...
�[37m[04:32:06]: �[0mBinary is not yet available online...
�[37m[04:32:38]: �[0mBinary is not yet available online...
�[37m[04:33:10]: �[0mBinary is not yet available online...
�[37m[04:33:43]: �[0mBinary is not yet available online...
�[37m[04:34:15]: �[0mBinary is not yet available online...
�[37m[04:34:47]: �[0mBinary is not yet available online...
�[37m[04:35:18]: �[0mBinary is not yet available online...
�[37m[04:35:51]: �[0mBinary is not yet available online...
�[37m[04:36:23]: �[0mBinary is not yet available online...
�[37m[04:36:55]: �[0mBinary is not yet available online...
�[37m[04:37:27]: �[0mBinary is not yet available online...
�[37m[04:38:00]: �[0mBinary is not yet available online...
�[37m[04:38:32]: �[0mBinary is not yet available online...
�[37m[04:39:04]: �[0mBinary is not yet available online...
�[37m[04:39:37]: �[0mBinary is not yet available online...
�[37m[04:40:09]: �[0mBinary is not yet available online...
�[31m[04:40:39]: �[0m�[31mBuild is not visible on iTunes Connect any more - couldn't distribute to testers.�[0m
�[31m[04:40:39]: �[0m�[31mYou can run `pilot --skip_submission` to only upload the binary without distributing.�[0m
�[31m>> �[39m/Library/Ruby/Gems/2.0.0/gems/pilot-0.2.3/lib/pilot/build_manager.rb:104:in `distribute_build'
�[31m>> �[39m: Error distributing the binary (RuntimeError)�[31m
>> �[39m from /Library/Ruby/Gems/2.0.0/gems/pilot-0.2.3/lib/pilot/build_manager.rb:22:in `upload'�[31m
>> �[39m from /Library/Ruby/Gems/2.0.0/gems/pilot-0.2.3/lib/pilot/commands_generator.rb:48:in `block (2 levels) in run'�[31m
>> �[39m from /Library/Ruby/Gems/2.0.0/gems/commander-4.3.5/lib/commander/command.rb:178:in `call'�[31m
>> �[39m from /Library/Ruby/Gems/2.0.0/gems/commander-4.3.5/lib/commander/command.rb:178:in `call'�[31m
>> �[39m from /Library/Ruby/Gems/2.0.0/gems/commander-4.3.5/lib/commander/command.rb:153:in `run'�[31m
>> �[39m from /Library/Ruby/Gems/2.0.0/gems/commander-4.3.5/lib/commander/runner.rb:428:in `run_active_command'�[31m
>> �[39m from /Library/Ruby/Gems/2.0.0/gems/commander-4.3.5/lib/commander/runner.rb:68:in `run!'�[31m
>> �[39m from /Library/Ruby/Gems/2.0.0/gems/commander-4.3.5/lib/commander/delegates.rb:15:in `run!'�[31m
>> �[39m from /Library/Ruby/Gems/2.0.0/gems/pilot-0.2.3/lib/pilot/commands_generator.rb:120:in `run'�[31m
>> �[39m from /Library/Ruby/Gems/2.0.0/gems/pilot-0.2.3/lib/pilot/commands_generator.rb:17:in `start'�[31m
>> �[39m from /Library/Ruby/Gems/2.0.0/gems/pilot-0.2.3/bin/pilot:6:in `<top (required)>'�[31m
>> �[39m from /usr/local/bin/pilot:23:in `load'�[31m
>> �[39m from /usr/local/bin/pilot:23:in `<main>'
�[31m>> �[39mExited with code: 1.
Is it possible to specify a default username and app ID so I don't have to enter it each time? Thanks for a great tool!
I Want to be able to filter the testers by the app ID.
pilot list -a no.myCompanyID.MyappID
I think 3 of 5 uploads finish like this for us:
[00:35:20][Step 1/2] INFO [2015-09-20 00:34:18.17]: Successfully uploaded the new binary to iTunes Connect
[00:35:20][Step 1/2] INFO [2015-09-20 00:34:18.17]: Waiting for iTunes Connect to process the new build
[00:35:20][Step 1/2] [00:34:23]: GET: ra/apps/972696562/trains/
[00:35:20][Step 1/2] [00:35:20]: GET: ra/apps/972696562/trains/: {"data"=>{a lot of data here}, "statusCode"=>"SUCCESS"}
[00:36:06][Step 1/2] [00:35:20]: GET: ra/apps/972696562/trains/
[00:36:06][Step 1/2] [00:36:06]: GET: ra/apps/972696562/trains/: {"data"=>{a lot of data here}, "statusCode"=>"SUCCESS"}
[00:36:21][Step 1/2] INFO [2015-09-20 00:36:07.29]: Waiting for iTunes Connect to process the new build
[00:36:21][Step 1/2] [00:36:12]: GET: ra/apps/972696562/trains/
[00:36:21][Step 1/2] [00:36:21]: GET: ra/apps/972696562/trains/: {"data"=>nil, "messages"=>{"warn"=>nil, "info"=>nil, "error"=>["Could not generate a response."]}, "statusCode"=>"ERROR"}
[00:36:21][Step 1/2] /Library/Ruby/Gems/2.0.0/gems/spaceship-0.6.1/lib/spaceship/client.rb:240:in `parse_response': {"data"=>nil, "messages"=>{"warn"=>nil, "info"=>nil, "error"=>["Could not generate a response."]}, "statusCode"=>"ERROR"} (Spaceship::Client::UnexpectedResponse)
[00:36:21][Step 1/2] from /Library/Ruby/Gems/2.0.0/gems/spaceship-0.6.1/lib/spaceship/tunes/tunes_client.rb:222:in `build_trains'
[00:36:21][Step 1/2] from /Library/Ruby/Gems/2.0.0/gems/spaceship-0.6.1/lib/spaceship/tunes/application.rb:168:in `pre_processing_builds'
[00:36:21][Step 1/2] from /Library/Ruby/Gems/2.0.0/gems/spaceship-0.6.1/lib/spaceship/tunes/application.rb:183:in `all_processing_builds'
[00:36:21][Step 1/2] from /Library/Ruby/Gems/2.0.0/gems/pilot-0.2.0/lib/pilot/build_manager.rb:68:in `block in wait_for_processing_build'
[00:36:21][Step 1/2] from /Library/Ruby/Gems/2.0.0/gems/pilot-0.2.0/lib/pilot/build_manager.rb:65:in `loop'
[00:36:21][Step 1/2] from /Library/Ruby/Gems/2.0.0/gems/pilot-0.2.0/lib/pilot/build_manager.rb:65:in `wait_for_processing_build'
[00:36:21][Step 1/2] from /Library/Ruby/Gems/2.0.0/gems/pilot-0.2.0/lib/pilot/build_manager.rb:19:in `upload'
[00:36:21][Step 1/2] from /Library/Ruby/Gems/2.0.0/gems/pilot-0.2.0/lib/pilot/commands_generator.rb:48:in `block (2 levels) in run'
[00:36:21][Step 1/2] from /Library/Ruby/Gems/2.0.0/gems/commander-4.3.5/lib/commander/command.rb:178:in `call'
[00:36:21][Step 1/2] from /Library/Ruby/Gems/2.0.0/gems/commander-4.3.5/lib/commander/command.rb:178:in `call'
[00:36:21][Step 1/2] from /Library/Ruby/Gems/2.0.0/gems/commander-4.3.5/lib/commander/command.rb:153:in `run'
[00:36:21][Step 1/2] from /Library/Ruby/Gems/2.0.0/gems/commander-4.3.5/lib/commander/runner.rb:428:in `run_active_command'
[00:36:21][Step 1/2] from /Library/Ruby/Gems/2.0.0/gems/commander-4.3.5/lib/commander/runner.rb:68:in `run!'
[00:36:21][Step 1/2] from /Library/Ruby/Gems/2.0.0/gems/commander-4.3.5/lib/commander/delegates.rb:15:in `run!'
[00:36:21][Step 1/2] from /Library/Ruby/Gems/2.0.0/gems/pilot-0.2.0/lib/pilot/commands_generator.rb:120:in `run'
[00:36:21][Step 1/2] from /Library/Ruby/Gems/2.0.0/gems/pilot-0.2.0/lib/pilot/commands_generator.rb:17:in `start'
[00:36:21][Step 1/2] from /Library/Ruby/Gems/2.0.0/gems/pilot-0.2.0/bin/pilot:6:in `<top (required)>'
[00:36:21][Step 1/2] from /usr/bin/pilot:23:in `load'
[00:36:21][Step 1/2] from /usr/bin/pilot:23:in `<main>'
[00:36:21][Step 1/2] Process exited with code 1
[00:36:22][Step 1/2] Step deploy to beta testers (Command Line) failed
It looks like this error is caused by some temporary itunes connect issue, so is it possible to retry number of times (possibly specified as a command line argument) instead of dying in case of such error?
I've just sent full logs to [email protected].
Hi Felix,
Thank you for the great job that you're doing.
I first had the error " Couldn't find element '.page-subnav' after waiting for quite some time " which was happening because of the new update done by Apple on Itunes Connect.
So I Installed the new beta version of deliver and now I'm having a problem with "pilot".
Here's the error that I'm getting :
[Transporter Error Output]: ERROR ITMS-90161: "Invalid Provisioning Profile.
19:01:18: --- Step: pilot ---
19:01:18: Login to iTunes Connect (developer@######.com)
[19:01:19]: Login successful
[19:01:19]: Ready to upload new build to TestFlight (App: ########)...
[19:01:20]: Going to upload updated app to iTunesConnect
[19:01:20]: This might take a few minutes, please don't interrupt the script
[19:01:24]: [Transporter]: INFO: Transporter is skipping bundle update check: Already checked recently.
[19:01:24]: [Transporter]: INFO: Logging configured successfully.
[19:01:24]: [Transporter]: DEBUG: Attempting refresh of configuration data from https://contentdelivery.itunes.apple.com/transporter/Defaults.properties
[19:01:25]: [Transporter]: DEBUG: Configuration refresh successful.
[19:01:25]: [Transporter]: DEBUG: Saving configuration to local path: /Users/####/.itmstransporter/Defaults.properties
[19:01:25]: [Transporter]: INFO: iTMSTransporter : iTunes Store Transporter [1.8.5]
[19:01:25]: [Transporter]: INFO: OS identifier: Mac OS X 10.10.5 (x86_64); jvm=24.80-b07; jre=1.7.0-internal-root_2015_01_13_21_57-b00
[19:01:25]: [Transporter]: INFO: Memory: [JVM] 66M free, 80M total, 910M max System 57M free, 8192M total (Swap) 850M free, 5120M total
[19:01:25]: [Transporter]: INFO: Upload mode selected.
[19:01:25]: [Transporter]: INFO: Examining the package at: /tmp/########.itmsp
[19:01:25]: [Transporter]: INFO: Ensuring that package has well formed metadata file...
[19:01:25]: [Transporter]: DEBUG: Getting case-sensitive metadata xml filename...
[19:01:25]: [Transporter]: INFO: Gathering the list of valid files from the package ...
[19:01:25]: [Transporter]: DEBUG: 27875799e2ac5c39cae3394357f56b9d.ipa will be verified by Apple's web service to determine if it is a valid file.
[19:01:25]: [Transporter]: DEBUG: metadata.xml will be verified by Apple's web service to determine if it is a valid file.
[19:01:25]: [Transporter]: INFO: Finished gathering the list of valid files from the package.
[19:01:25]: [Transporter]: DEBUG: Case-sensitive metadata filename is: metadata.xml
[19:01:25]: [Transporter]: INFO: Performing authentication of package ########.itmsp ...
[19:01:25]: [Transporter]: DBG-X: Memory: [JVM] 40M free, 80M total, 910M max System 59M free, 8192M total (Swap) 850M free, 5120M total
[19:01:25]: [Transporter]: DBG-X: Memory: [JVM] 40M free, 80M total, 910M max System 59M free, 8192M total (Swap) 850M free, 5120M total
[19:01:25]: [Transporter]: DBG-X: Using operation named: authenticateForSession
[19:01:25]: [Transporter]: DBG-X: Apple's web service operation input parameters:
[19:01:25]: [Transporter]: DBG-X: parameter Application = iTMSTransporter
[19:01:25]: [Transporter]: DBG-X: parameter BaseVersion = 1.8.3
[19:01:25]: [Transporter]: DBG-X: parameter OSIdentifier = Mac OS X 10.10.5 (x86_64); jvm=24.80-b07; jre=1.7.0-internal-root_2015_01_13_21_57-b00
[19:01:25]: [Transporter]: DBG-X: parameter Password = hidden value
[19:01:25]: [Transporter]: DBG-X: parameter TransporterArguments = -m upload -u developer@######.com -p hidden value -f /tmp/########.itmsp -t Signiant -k 100000
[19:01:25]: [Transporter]: DBG-X: parameter Username = developer@######.com
[19:01:25]: [Transporter]: DBG-X: parameter Version = 1.8.5
[19:01:25]: [Transporter]: INFO: id = 20150928190125-921
[19:01:25]: [Transporter]: DBG-X: Apple's web service operation return value:
[19:01:25]: [Transporter]: DBG-X: parameter SessionId = CKWmDBIQkE7E/5mtQ1un/OBhS0VGkg==
[19:01:25]: [Transporter]: DBG-X: parameter SharedSecret = 8ffe8a7e-d756-4410-9508-08c9f86fae11
[19:01:25]: [Transporter]: DBG-X: Deflated 432 bytes to 376
[19:01:25]: [Transporter]: DBG-X: Using operation named: validateMetadata
[19:01:25]: [Transporter]: DBG-X: Apple's web service operation input parameters:
[19:01:25]: [Transporter]: DBG-X: parameter Application = iTMSTransporter
[19:01:25]: [Transporter]: DBG-X: parameter BaseVersion = 1.8.3
[19:01:25]: [Transporter]: DBG-X: parameter Files = [27875799e2ac5c39cae3394357f56b9d.ipa, metadata.xml]
[19:01:25]: [Transporter]: DBG-X: parameter Metadata =
[19:01:25]: [Transporter]: DBG-X: parameter MetadataChecksum = f178528f9169867636cecc6253bc566f
[19:01:25]: [Transporter]: DBG-X: parameter MetadataCompressed = (suppressed)
[19:01:25]: [Transporter]: DBG-X: parameter OSIdentifier = Mac OS X 10.10.5 (x86_64); jvm=24.80-b07; jre=1.7.0-internal-root_2015_01_13_21_57-b00
[19:01:25]: [Transporter]: DBG-X: parameter PackageName = ########.itmsp
[19:01:25]: [Transporter]: DBG-X: parameter PackageSize = 83790755
[19:01:25]: [Transporter]: DBG-X: parameter Throttle = 100000
[19:01:26]: [Transporter]: DBG-X: parameter TransporterArguments = -m upload -u developer@######.com -p hidden value -f /tmp/########.itmsp -t Signiant -k 100000
[19:01:26]: [Transporter]: DBG-X: parameter Username = developer@######.com
[19:01:26]: [Transporter]: DBG-X: parameter Version = 1.8.5
[19:01:26]: [Transporter]: INFO: id = 20150928190126-257
[19:01:26]: [Transporter]: DBG-X: Apple's web service operation return value:
[19:01:26]: [Transporter]: DBG-X: parameter CPUToken = 07db23a6-8ddd-438e-94ea-b67ab7430164/1443491936692
[19:01:26]: [Transporter]: DBG-X: parameter AssetsToDescribe = [{UTI=com.apple.ipa, Role=source, ShouldDescribeAsset=true, Filename=27875799e2ac5c39cae3394357f56b9d.ipa}]
[19:01:26]: [Transporter]: DBG-X: parameter FileSizes = {27875799e2ac5c39cae3394357f56b9d.ipa=83790323}
[19:01:26]: [Transporter]: DBG-X: parameter Checksums = {27875799e2ac5c39cae3394357f56b9d.ipa=0d1b9c41e6f43561f34732a9ae28793b}
[19:01:26]: [Transporter]: DBG-X: parameter Success = true
[19:01:26]: [Transporter]: DBG-X: parameter FilesToUpload = [metadata.xml, 27875799e2ac5c39cae3394357f56b9d.ipa]
[19:01:26]: [Transporter]: DBG-X: parameter MinimumFileSizeThresholdForCheckum = 104857600
[19:01:26]: [Transporter]: DBG-X: parameter ProviderNameForToken = #######"24465129
[19:01:26]: [Transporter]: INFO: The list of files requested for upload by Apple is: [metadata.xml, 27875799e2ac5c39cae3394357f56b9d.ipa]. These are the files that will be uploaded.
[19:01:26]: [Transporter]: INFO: Starting media analysis of assets
[19:01:27]: [Transporter]: DEBUG: Handling asset: filename=27875799e2ac5c39cae3394357f56b9d.ipa,uti=com.apple.ipa,role=source,describe=true
[19:01:27]: [Transporter]: DEBUG: Using container type tool name and version: iOS App Describer:1.24
[19:01:27]: [Transporter]: DEBUG: Using path: /tmp/#######.itmsp/27875799e2ac5c39cae3394357f56b9d.ipa
[19:01:36]: [Transporter]: DEBUG: Asset successfully described: com.apple.jingle.leghorn.software.AbstractSoftwareDescriber$1@5f243f31
[19:01:36]: [Transporter]: INFO: Asset media analysis has completed
[19:01:36]: [Transporter]: DBG-X: Memory: [JVM] 26M free, 99M total, 910M max System 194M free, 8192M total (Swap) 850M free, 5120M total
[19:01:36]: [Transporter]: DBG-X: Using operation named: lookupTransportDiagnostic
[19:01:36]: [Transporter]: DBG-X: Apple's web service operation input parameters:
[19:01:36]: [Transporter]: DBG-X: parameter Application = iTMSTransporter
[19:01:36]: [Transporter]: DBG-X: parameter BaseVersion = 1.8.3
[19:01:36]: [Transporter]: DBG-X: parameter OSIdentifier = Mac OS X 10.10.5 (x86_64); jvm=24.80-b07; jre=1.7.0-internal-root_2015_01_13_21_57-b00
[19:01:36]: [Transporter]: DBG-X: parameter TransporterArguments = -m upload -u developer@######.com -p hidden value -f /tmp/########.itmsp -t Signiant -k 100000
[19:01:36]: [Transporter]: DBG-X: parameter Username = developer@######.com
[19:01:36]: [Transporter]: DBG-X: parameter Version = 1.8.5
[19:01:36]: [Transporter]: INFO: id = 20150928190136-223
[19:01:37]: [Transporter]: DBG-X: Apple's web service operation return value:
[19:01:37]: [Transporter]: DBG-X: parameter SigniantLoggingLevel = OFF
[19:01:37]: [Transporter]: DBG-X: parameter AsperaLoggingLevel = OFF
[19:01:38]: [Transporter]: INFO: Signiant TransferEngine build 10.6.0.59156
[19:01:38]: [Transporter]: INFO: Using Signiant UDP transport
[19:01:38]: [Transporter]: DBG-X: Setting the target rate to 15000001 bytes per second.
[19:01:38]: [Transporter]: DBG-X: Setting the throttle to 12500000 bytes per second.
[19:01:38]: [Transporter]: INFO: Transfer engine: 10.6.0.59156
[19:01:38]: [Transporter]: INFO: The Signiant transfer engine's status is DISCONNECTED
[19:01:38]: [Transporter]: INFO: The Signiant transfer engine's status is CONNECTING
[19:01:38]: [Transporter]: INFO: Processing URL list: mxwan://sgr203.apple.com:44001/
[19:01:38]: [Transporter]: INFO: Trying UDP sgr203.apple.com/17.152.249.103:44001...
[19:01:39]: [Transporter]: INFO: Connected to UDP sgr203.apple.com/17.152.249.103:44001
[19:01:39]: [Transporter]: INFO: Authenticating
[19:01:39]: [Transporter]: INFO: The Signiant transfer engine's status is AWAITING_DATA_STREAMS
[19:01:39]: [Transporter]: INFO: Setting up data streams
[19:01:40]: [Transporter]: INFO: The Signiant transfer engine's status is CONNECTED
[19:01:40]: [Transporter]: INFO: Connected using WAN accelerator
[19:01:40]: [Transporter]: INFO: File: 6e98b420-06fd-4c17-8fa8-7f77ce0dc1388248162160090164472.txt 11/11, 100% completed
[19:01:40]: [Transporter]: DBG-X: The status for the file, 6e98b420-06fd-4c17-8fa8-7f77ce0dc1388248162160090164472.txt, is TRANSFERRED.
[19:01:40]: [Transporter]: INFO: The Signiant transfer engine's status is DISCONNECTED
[19:01:41]: [Transporter]: INFO: The Signiant transfer engine's status is DISCONNECTED
[19:01:41]: [Transporter]: DEBUG: Using token file path /Users/#####/.itmstransporter/UploadTokens/azizs-MacBook-Air.local_###########24465129_########.itmsp.token
[19:01:41]: [Transporter]: DEBUG: Attempting exclusive file lock on token file
[19:01:41]: [Transporter]: DEBUG: Token exists, examining
[19:01:41]: [Transporter]: DEBUG: Token pid: 13199, found process = false; my pid: 23194
[19:01:41]: [Transporter]: DEBUG: Reusing existing token: 2be185ca-8e97-47ac-86a4-b7356ebd21b4/1443032843382
[19:01:41]: [Transporter]: DEBUG: Set token: 2be185ca-8e97-47ac-86a4-b7356ebd21b4/1443032843382
[19:01:41]: [Transporter]: DBG-X: Memory: [JVM] 106M free, 158M total, 910M max System 113M free, 8192M total (Swap) 850M free, 5120M total
[19:01:41]: [Transporter]: DBG-X: Deflated 432 bytes to 376
[19:01:41]: [Transporter]: DBG-X: Deflated 4017843 bytes to 773564
[19:01:41]: [Transporter]: DBG-X: Using operation named: validateAssets
[19:01:41]: [Transporter]: DBG-X: Apple's web service operation input parameters:
[19:01:41]: [Transporter]: DBG-X: parameter Application = iTMSTransporter
[19:01:41]: [Transporter]: DBG-X: parameter BaseVersion = 1.8.3
[19:01:41]: [Transporter]: DBG-X: parameter CPUToken = 2be185ca-8e97-47ac-86a4-b7356ebd21b4/1443032843382
[19:01:41]: [Transporter]: DBG-X: parameter Files = [27875799e2ac5c39cae3394357f56b9d.ipa, metadata.xml]
[19:01:41]: [Transporter]: DBG-X: parameter MetadataChecksum = f178528f9169867636cecc6253bc566f
[19:01:41]: [Transporter]: DBG-X: parameter MetadataCompressed = (suppressed)
[19:01:41]: [Transporter]: DBG-X: parameter OSIdentifier = Mac OS X 10.10.5 (x86_64); jvm=24.80-b07; jre=1.7.0-internal-root_2015_01_13_21_57-b00
[19:01:41]: [Transporter]: DBG-X: parameter PackageName = #######.itmsp
[19:01:41]: [Transporter]: DBG-X: parameter PackageSize = 83790755
[19:01:41]: [Transporter]: DBG-X: parameter Throttle = 100000
[19:01:41]: [Transporter]: DBG-X: parameter Transport = Signiant
[19:01:41]: [Transporter]: DBG-X: parameter TransporterArguments = -m upload -u [email protected] -p hidden value -f /tmp/#######.itmsp -t Signiant -k 100000
[19:01:41]: [Transporter]: DBG-X: parameter Username = developer@######.com
[19:01:41]: [Transporter]: DBG-X: parameter Version = 1.8.5
[19:01:41]: [Transporter]: INFO: id = 20150928190141-700
[19:01:46]: [Transporter]: DBG-X: Apple's web service operation return value:
[19:01:46]: [Transporter]: DBG-X: parameter ErrorMessage = ERROR ITMS-90161: "Invalid Provisioning Profile. The provisioning profile included in the bundle com.######.###### [Payload/######.app] is invalid. [Missing code-signing certificate]. A Distribution Provisioning profile should be used when submitting apps to the App Store. For more information, visit the iOS Developer Portal.
[19:01:46]: [Transporter]: DBG-X: parameter CPUToken = 2be185ca-8e97-47ac-86a4-b7356ebd21b4/1443032843382
[19:01:46]: [Transporter]: DBG-X: parameter AssetsToDescribe = [{UTI=com.apple.ipa, Role=source, ShouldDescribeAsset=true, Filename=27875799e2ac5c39cae3394357f56b9d.ipa}]
[19:01:46]: [Transporter]: DBG-X: parameter FileSizes = {27875799e2ac5c39cae3394357f56b9d.ipa=83790323}
[19:01:46]: [Transporter]: DBG-X: parameter Checksums = {27875799e2ac5c39cae3394357f56b9d.ipa=0d1b9c41e6f43561f34732a9ae28793b}
[19:01:46]: [Transporter]: DBG-X: parameter Errors = [ERROR ITMS-90161: "Invalid Provisioning Profile. The provisioning profile included in the bundle com.######.###### [Payload/######.app] is invalid. [Missing code-signing certificate]. A Distribution Provisioning profile should be used when submitting apps to the App Store. For more information, visit the iOS Developer Portal."]
[19:01:46]: [Transporter]: DBG-X: parameter ErrorCode = 1102
[19:01:46]: [Transporter]: DBG-X: parameter Success = false
[19:01:46]: [Transporter]: DBG-X: parameter FilesToUpload = [metadata.xml, 27875799e2ac5c39cae3394357f56b9d.ipa]
[19:01:46]: [Transporter]: DBG-X: parameter MinimumFileSizeThresholdForCheckum = 104857600
[19:01:46]: [Transporter Error Output]: ERROR ITMS-90161: "Invalid Provisioning Profile. The provisioning profile included in the bundle com.######.###### [Payload/#####.app] is invalid. [Missing code-signing certificate]. A Distribution Provisioning profile should be used when submitting apps to the App Store. For more information, visit the iOS Developer Portal."
[19:01:46]: [Transporter]: DBG-X: The error code is: 1102
[19:01:46]: [Transporter]: INFO: Done performing authentication.
[19:01:46]: Transporter transfer failed.
[19:01:46]:
[19:01:46]: ERROR ITMS-90161: "Invalid Provisioning Profile. The provisioning profile included in the bundle com.######.###### [Payload/######.app] is invalid. [Missing code-signing certificate]. A Distribution Provisioning profile should be used when submitting apps to the App Store. For more information, visit the iOS Developer Portal."
[19:01:46]: Return status of iTunes Transporter was 1: ERROR ITMS-90161: "Invalid Provisioning Profile. The provisioning profile included in the bundle com.######.###### [Payload/######.app] is invalid. [Missing code-signing certificate]. A Distribution Provisioning profile should be used when submitting apps to the App Store. For more information, visit the iOS Developer Portal."
[19:01:46]: ERROR ITMS-90161: "Invalid Provisioning Profile. The provisioning profile included in the bundle com.#####.##### [Payload/#####.app] is invalid. [Missing code-signing certificate]. A Distribution Provisioning profile should be used when submitting apps to the App Store. For more information, visit the iOS Developer Portal."
Return status of iTunes Transporter was 1: ERROR ITMS-90161: "Invalid Provisioning Profile. The provisioning profile included in the bundle com.#####.##### [Payload/#####.app] is invalid. [Missing code-signing certificate]. A Distribution Provisioning profile should be used when submitting apps to the App Store. For more information, visit the iOS Developer Portal."
[19:01:46]: Variable Dump:
[19:01:46]: {:DEFAULT_PLATFORM=>:ios, :PLATFORM_NAME=>:ios, :LANE_NAME=>"ios beta", :SIGH_PROFILE_PATH=>"/Users/####/ios-app/AppStore_com.######.######.mobileprovision", :SIGH_PROFILE_PATHS=>["/Users/####/ios-app/AppStore_com.######.######.mobileprovision", "/tmp/AppStore_com.######.######.mobileprovision", "/Users/#####/ios-app/AppStore_com.######.######.mobileprovision"], :SIGH_UDID=>"45c62694-1e71-4401-a469-1fbfb838e340", :SIGH_PROFILE_TYPE=>"app-store", :IPA_OUTPUT_PATH=>"/Users/####/ios-app/Jogabo.ipa", :DSYM_OUTPUT_PATH=>"/Users/####/ios-app/#######.app.dSYM.zip"}
[19:01:46]: Error uploading ipa file, more information see above
+------+-------------------------------------+-------------+
| fastlane summary |
+------+-------------------------------------+-------------+
| Step | Action | Time (in s) |
+------+-------------------------------------+-------------+
| 1 | Verifying required fastlane version | 0 |
| 2 | default_platform | 0 |
| 3 | cocoapods | 56 |
| 4 | sigh | 133 |
| 5 | sigh | 100 |
| 6 | gym | 1162 |
| 7 | sigh | 35 |
| 8 | pilot | 28 |
+------+-------------------------------------+-------------+
[19:01:46]: fastlane finished with errors
/Library/Ruby/Gems/2.0.0/gems/pilot-0.2.1/lib/pilot/build_manager.rb:25:in upload': Error uploading ipa file, more information see above (RuntimeError) from /Library/Ruby/Gems/2.0.0/gems/fastlane-1.29.2/lib/fastlane/actions/pilot.rb:13:in
run'
from /Library/Ruby/Gems/2.0.0/gems/fastlane-1.29.2/lib/fastlane/runner.rb:142:in block (2 levels) in execute_action' from /Library/Ruby/Gems/2.0.0/gems/fastlane-1.29.2/lib/fastlane/actions/actions_helper.rb:37:in
execute_action'
from /Library/Ruby/Gems/2.0.0/gems/fastlane-1.29.2/lib/fastlane/runner.rb:128:in block in execute_action' from /Library/Ruby/Gems/2.0.0/gems/fastlane-1.29.2/lib/fastlane/runner.rb:127:in
chdir'
from /Library/Ruby/Gems/2.0.0/gems/fastlane-1.29.2/lib/fastlane/runner.rb:127:in execute_action' from /Library/Ruby/Gems/2.0.0/gems/fastlane-1.29.2/lib/fastlane/fast_file.rb:134:in
method_missing'
from (eval):53:in block (3 levels) in parse' from /Library/Ruby/Gems/2.0.0/gems/fastlane-1.29.2/lib/fastlane/lane.rb:36:in
call'
from /Library/Ruby/Gems/2.0.0/gems/fastlane-1.29.2/lib/fastlane/lane.rb:36:in call' from /Library/Ruby/Gems/2.0.0/gems/fastlane-1.29.2/lib/fastlane/runner.rb:51:in
block in execute'
from /Library/Ruby/Gems/2.0.0/gems/fastlane-1.29.2/lib/fastlane/runner.rb:46:in chdir' from /Library/Ruby/Gems/2.0.0/gems/fastlane-1.29.2/lib/fastlane/runner.rb:46:in
execute'
from /Library/Ruby/Gems/2.0.0/gems/fastlane-1.29.2/lib/fastlane/lane_manager.rb:43:in cruise_lane' from /Library/Ruby/Gems/2.0.0/gems/fastlane-1.29.2/lib/fastlane/command_line_handler.rb:31:in
handle'
from /Library/Ruby/Gems/2.0.0/gems/fastlane-1.29.2/bin/fastlane:36:in block (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:in call' 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:in run_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:in run!' from /Library/Ruby/Gems/2.0.0/gems/fastlane-1.29.2/bin/fastlane:127:in
run'
from /Library/Ruby/Gems/2.0.0/gems/fastlane-1.29.2/bin/fastlane:133:in <top (required)>' from /usr/bin/fastlane:23:in
load'
here is my Fastfile :
fastlane actions
commandfastlane
fastlane_version "1.26.0"
default_platform :ios
platform :ios do
before_all do
ENV["SLACK_URL"] = "https://hooks.slack.com/services/#####################"
cocoapods
sigh
udid = sigh(app_identifier: "com.#######.######", output_path: "/tmp")
ENV["######_UDID"] = lane_context[SharedValues::SIGH_UDID]
#udid = sigh(app_identifier: "com.######.######", output_path: "/tmp")
#ENV["PROFILE_UDID"] = lane_context[SharedValues::SIGH_UDID]
gym(scheme: "######") # Build your app - more options available
end
desc "Submit a new Beta Build to Apple TestFlight"
desc "This will also make sure the profile is up to date"
lane :beta do
sigh #This will generate and download your App Store provisioning profile.
# sigh will store the generated profile in the current folder.
deliver(skip_deploy: true, beta: true)
pilot
end
desc "Deploy a new version to the App Store"
desc "* Full Markdown* Support: code
"
lane :deploy do
#sigh
#deliver(skip_deploy: true, force: true) # To don't submit the app for review (works with both App Store and beta builds)
end
after_all do |lane|
slack(
message: "Successfully deployed new App Update."
)
end
error do |lane, exception|
#slack(
# message: exception.message,
# success: false
#)
end
end
I get the following crash:
[master] $ pilot builds
[22:06:20]: Login to iTunes Connect
[22:06:20]: Login successful
/Users/ekurutepe/.rvm/gems/ruby-2.1.2/gems/spaceship-0.3.0/lib/spaceship/tunes/build.rb:164:in `testing_status': undefined method `>' for nil:NilClass (NoMethodError)
from /Users/ekurutepe/.rvm/gems/ruby-2.1.2/gems/pilot-0.1.3/lib/pilot/build_manager.rb:47:in `describe_build'
from /Users/ekurutepe/.rvm/gems/ruby-2.1.2/gems/pilot-0.1.3/lib/pilot/build_manager.rb:33:in `block in list'
from /Users/ekurutepe/.rvm/gems/ruby-2.1.2/gems/pilot-0.1.3/lib/pilot/build_manager.rb:33:in `collect'
from /Users/ekurutepe/.rvm/gems/ruby-2.1.2/gems/pilot-0.1.3/lib/pilot/build_manager.rb:33:in `list'
from /Users/ekurutepe/.rvm/gems/ruby-2.1.2/gems/pilot-0.1.3/lib/pilot/commands_generator.rb:57:in `block (2 levels) in run'
from /Users/ekurutepe/.rvm/gems/ruby-2.1.2/gems/commander-4.3.4/lib/commander/command.rb:178:in `call'
from /Users/ekurutepe/.rvm/gems/ruby-2.1.2/gems/commander-4.3.4/lib/commander/command.rb:178:in `call'
from /Users/ekurutepe/.rvm/gems/ruby-2.1.2/gems/commander-4.3.4/lib/commander/command.rb:153:in `run'
from /Users/ekurutepe/.rvm/gems/ruby-2.1.2/gems/commander-4.3.4/lib/commander/runner.rb:428:in `run_active_command'
from /Users/ekurutepe/.rvm/gems/ruby-2.1.2/gems/commander-4.3.4/lib/commander/runner.rb:68:in `run!'
from /Users/ekurutepe/.rvm/gems/ruby-2.1.2/gems/commander-4.3.4/lib/commander/delegates.rb:15:in `run!'
from /Users/ekurutepe/.rvm/gems/ruby-2.1.2/gems/pilot-0.1.3/lib/pilot/commands_generator.rb:120:in `run'
from /Users/ekurutepe/.rvm/gems/ruby-2.1.2/gems/pilot-0.1.3/lib/pilot/commands_generator.rb:15:in `start'
from /Users/ekurutepe/.rvm/gems/ruby-2.1.2/gems/pilot-0.1.3/bin/pilot:6:in `<top (required)>'
from /Users/ekurutepe/.rvm/gems/ruby-2.1.2/bin/pilot:23:in `load'
from /Users/ekurutepe/.rvm/gems/ruby-2.1.2/bin/pilot:23:in `<main>'
from /Users/ekurutepe/.rvm/gems/ruby-2.1.2/bin/ruby_executable_hooks:15:in `eval'
from /Users/ekurutepe/.rvm/gems/ruby-2.1.2/bin/ruby_executable_hooks:15:in `<main>'
[master] $
Hi,
I'm getting this error. However the build is visible in iTunes Connect then.
�[35m[22:25:50]: �[0m[Transporter]: INFO: Done performing upload.
�[35m[22:25:50]: �[0m[Transporter]: DBG-X: The transfer time for the package was 744551 milliseconds.
�[35m[22:25:50]: �[0m[Transporter]: DBG-X: Throughput information for 1025555717.itmsp: 12 minutes, 24.55 seconds, 37.17MB, 51.12KB/sec
�[35m[22:25:50]: �[0m[Transporter]: INFO: Performing uploadDone notification to Apple for package 1025555717.itmsp ...
�[35m[22:25:50]: �[0m[Transporter]: DBG-X: Memory: [JVM] 119M free, 165M total, 910M max [System] (Physical) 1282M free, 10240M total (Swap) 0 free, 0 total
�[35m[22:25:50]: �[0m[Transporter]: DBG-X: Deflated 31816 bytes to 6656
�[35m[22:25:50]: �[0m[Transporter]: DBG-X: Deflated 815 bytes to 404
�[35m[22:25:50]: �[0m[Transporter]: DBG-X: Using operation named: uploadDoneWithArguments
�[35m[22:25:50]: �[0m[Transporter]: DBG-X: Apple's web service operation input parameters:
�[35m[22:25:50]: �[0m[Transporter]: DBG-X: parameter Application = iTMSTransporter
�[35m[22:25:50]: �[0m[Transporter]: DBG-X: parameter BaseVersion = 1.8.6
�[35m[22:25:50]: �[0m[Transporter]: DBG-X: parameter CPUToken = xxx
�[35m[22:25:50]: �[0m[Transporter]: DBG-X: parameter ClientChecksumInfo = [{FileSize=38974824, CalculatedChecksum=xxxx, FileLastModified=1442689950000, Filename=xxx.ipa, CalculationTime=139}]
�[35m[22:25:50]: �[0m[Transporter]: DBG-X: parameter ExtraTransportLogCompressed = (suppressed)
�[35m[22:25:50]: �[0m[Transporter]: DBG-X: parameter FileSizeInfo = {metadata.xml=433, xxx.ipa=38974824}
�[35m[22:25:50]: �[0m[Transporter]: DBG-X: parameter NewPackageName = 1025555717-20150919121325-787.itmsp
�[35m[22:25:50]: �[0m[Transporter]: DBG-X: parameter NumberBytesTransferred = 38975257
�[35m[22:25:50]: �[0m[Transporter]: DBG-X: parameter OSIdentifier = Mac OS X 10.10.5 (x86_64); jvm=24.80-b07; jre=1.7.0-internal-root_2015_05_12_09_52-b00
�[35m[22:25:50]: �[0m[Transporter]: DBG-X: parameter PackagePathWithoutBase = sgr2_pod1/transporter/content/transporter/DHAF9N95WZ
�[35m[22:25:50]: �[0m[Transporter]: DBG-X: parameter Throttle = 100000
�[35m[22:25:50]: �[0m[Transporter]: DBG-X: parameter TransferTime = 744551
�[35m[22:25:51]: �[0m[Transporter]: DBG-X: parameter Transport = Signiant
�[35m[22:25:51]: �[0m[Transporter]: DBG-X: parameter TransportLogCompressed = (suppressed)
�[35m[22:25:51]: �[0m[Transporter]: DBG-X: parameter TransporterArguments = -m upload -u xxxx -p **hidden value** -f /tmp/1025555717.itmsp -t Signiant -k 100000
�[35m[22:25:51]: �[0m[Transporter]: DBG-X: parameter Username = xxxx
�[35m[22:25:51]: �[0m[Transporter]: DBG-X: parameter Version = 1.8.6
�[35m[22:25:51]: �[0m[Transporter]: INFO: id = 20150919222551-808
�[31m[22:28:32]: �[0m�[31m[Transporter Error Output]: Communication error. Please use diagnostic mode to check connectivity. You need to have outbound access to TCP port 443.
�[0m
�[31m[22:28:32]: �[0m�[31m[Transporter Error Output]: An exception has occurred: Operation timed out
�[0m
�[35m[22:28:32]: �[0m[Transporter]: DEBUG: java.net.SocketException: Operation timed out
�[35m[22:29:02]: �[0m[Transporter]: DBG-X: Deflated 31816 bytes to 6656
�[35m[22:29:02]: �[0m[Transporter]: DBG-X: Deflated 815 bytes to 404
�[35m[22:29:02]: �[0m[Transporter]: DBG-X: Using operation named: uploadDoneWithArguments
�[35m[22:29:02]: �[0m[Transporter]: DBG-X: Apple's web service operation input parameters:
�[35m[22:29:02]: �[0m[Transporter]: DBG-X: parameter Application = iTMSTransporter
�[35m[22:29:02]: �[0m[Transporter]: DBG-X: parameter BaseVersion = 1.8.6
�[35m[22:29:02]: �[0m[Transporter]: DBG-X: parameter CPUToken = xxxx
�[35m[22:29:02]: �[0m[Transporter]: DBG-X: parameter ClientChecksumInfo = [{FileSize=38974824, CalculatedChecksum=xxxx, FileLastModified=1442689950000, Filename=xxx.ipa, CalculationTime=139}]
�[35m[22:29:02]: �[0m[Transporter]: DBG-X: parameter ExtraTransportLogCompressed = (suppressed)
�[35m[22:29:02]: �[0m[Transporter]: DBG-X: parameter FileSizeInfo = {metadata.xml=433, 027f8574a7c136db565a604c9ae08772.ipa=38974824}
�[35m[22:29:02]: �[0m[Transporter]: DBG-X: parameter NewPackageName = 1025555717-20150919121325-787.itmsp
�[35m[22:29:02]: �[0m[Transporter]: DBG-X: parameter NumberBytesTransferred = 38975257
�[35m[22:29:02]: �[0m[Transporter]: DBG-X: parameter OSIdentifier = Mac OS X 10.10.5 (x86_64); jvm=24.80-b07; jre=1.7.0-internal-root_2015_05_12_09_52-b00
�[35m[22:29:02]: �[0m[Transporter]: DBG-X: parameter PackagePathWithoutBase = sgr2_pod1/transporter/content/transporter/DHAF9N95WZ
�[35m[22:29:02]: �[0m[Transporter]: DBG-X: parameter Throttle = 100000
�[35m[22:29:02]: �[0m[Transporter]: DBG-X: parameter TransferTime = 744551
�[35m[22:29:02]: �[0m[Transporter]: DBG-X: parameter Transport = Signiant
�[35m[22:29:02]: �[0m[Transporter]: DBG-X: parameter TransportLogCompressed = (suppressed)
�[35m[22:29:02]: �[0m[Transporter]: DBG-X: parameter TransporterArguments = -m upload -u xxx -p **hidden value** -f /tmp/1023848717.itmsp -t Signiant -k 100000
�[35m[22:29:02]: �[0m[Transporter]: DBG-X: parameter Username = xxxx
�[35m[22:29:02]: �[0m[Transporter]: DBG-X: parameter Version = 1.8.6
�[35m[22:29:02]: �[0m[Transporter]: INFO: id = 20150919222902-421
�[35m[22:29:05]: �[0m[Transporter]: DBG-X: Apple's web service operation return value:
�[35m[22:29:05]: �[0m[Transporter]: DBG-X: parameter Success = true
�[35m[22:29:05]: �[0m[Transporter]: DBG-X: Unlocking token at path /xxxx.itmsp.token
�[35m[22:29:05]: �[0m[Transporter]: DBG-X: Releasing token file lock
�[35m[22:29:05]: �[0m[Transporter]: DBG-X: Removing token at path /xxxx.itmsp.token
�[35m[22:29:05]: �[0m[Transporter]: INFO: Done performing uploadDone notification to Apple.
�[35m[22:29:05]: �[0m[Transporter]: INFO: The package: /tmp/1025555717.itmsp has been successfully uploaded.
�[37m[22:29:05]: �[0m�[32miTunes Transporter successfully finished its job�[0m
�[35m[22:29:05]: �[0m[Transporter]: DBG-X: Returning 0
�[31m[22:29:06]: �[0mCommunication error. Please use diagnostic mode to check connectivity. You need to have outbound access to TCP port 443.
An exception has occurred: Operation timed out
/Library/Ruby/Gems/2.0.0/gems/pilot-0.2.0/lib/pilot/build_manager.rb:25:in `upload': �[31mError uploading ipa file, more information see above�[0m (RuntimeError)
from /Library/Ruby/Gems/2.0.0/gems/pilot-0.2.0/lib/pilot/commands_generator.rb:48:in `block (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:in `call'
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:in `run_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:in `run!'
from /Library/Ruby/Gems/2.0.0/gems/pilot-0.2.0/lib/pilot/commands_generator.rb:120:in `run'
from /Library/Ruby/Gems/2.0.0/gems/pilot-0.2.0/lib/pilot/commands_generator.rb:17:in `start'
from /Library/Ruby/Gems/2.0.0/gems/pilot-0.2.0/bin/pilot:6:in `<top (required)>'
from /usr/bin/pilot:23:in `load'
from /usr/bin/pilot:23:in `<main>'
I have a lane named :alpha
which modifies by project in order to produce a 'nightly' build:
lane :alpha do
# Ensure clean develop branch
ensure_git_branch(branch: 'develop')
ensure_git_status_clean
# Replace app icons with alpha icons
sh "../alpha/copy_images.sh"
codesign # See below
# Set special version number
update_version_numbers # sets version number based on a changelog
build_number = Time.new.strftime("%Y.%m.%d")
increment_build_number build_number: build_number
# alpha.config contains one key:
# BUNDLE_IDENTIFIER=uk.co.arcam.nmusiclife
gym(xcconfig: "alpha/alpha.xcconfig",output_name: "MusicLife-Alpha.ipa")
# I suppose I don't need to declare the identifier here, as I declare it in Appfile?
pilot(app_identifier: "uk.co.arcam.nmusiclife")
# get rid of the temporary changes
reset_git_repo
end
lane :codesign do
# Download or create a signing certificate
cert(output_path: '/tmp')
# Download or create a provisioning profile
sigh(output_path: '/tmp')
# Use the new provisioning profile within the project
ENV["PROFILE_UDID"] = lane_context[SharedValues::SIGH_UDID]
end
My AppFile
looks as follows:
apple_id "[email protected]" # anonymised
team_id "ABCDEF123" # anonymised
for_platform :ios do
for_lane :alpha do
app_identifier 'uk.co.arcam.nmusiclife'
end
for_lane :beta do
app_identifier "com.arcam.MusicLife"
end
end
Running the :alpha
lane results in the following error during the pilot
stage:
...
ERROR ITMS-90055: "This bundle is invalid. The bundle identifier cannot be changed from the current value, 'uk.co.arcam.nmusiclife'. If you want to change your bundle identifier, you will need to create a new application in iTunes Connect."
Return status of iTunes Transporter was 1: ERROR ITMS-90053: "This bundle is invalid. The bundle identifi\nERROR ITMS-90055: "This bundle is invalid. The bundle identifier cannot be changed from the current value, 'uk.co.arcam.nmusiclife'. If you want to change your bundle identifier, you will need to create a new application in iTunes Connect."
[09:15:07]: Variable Dump:
[09:15:07]: {:DEFAULT_PLATFORM=>:ios, :PLATFORM_NAME=>:ios, :LANE_NAME=>"ios alpha", :GIT_REPO_WAS_CLEAN_ON_START=>true, :CERT_FILE_PATH=>"/tmp/XG25VHLZ4W.cer", :CERT_CERTIFICATE_ID=>"XG25VHLZ4W", :SIGH_PROFILE_PATH=>"/tmp/AppStore_uk.co.arcam.nmusiclife.mobileprovision", :SIGH_PROFILE_PATHS=>["/tmp/AppStore_uk.co.arcam.nmusiclife.mobileprovision"], :SIGH_UDID=>"a9b4bb3b-b906-4801-aa23-4e0dcdfe98d3", :SIGH_PROFILE_TYPE=>"app-store", :BUILD_NUMBER=>"2015.10.08", :VERSION_NUMBER=>"1.1.0", :IPA_OUTPUT_PATH=>"/path/to/build/MusicLife-Alpha.ipa", :DSYM_OUTPUT_PATH=>"/path/to/build/MusicLife-Alpha.app.dSYM.zip"}
[09:15:07]: Error uploading ipa file, more information see above
If, once I've run the lane and had the error, I run pilot
manually using:
pilot upload -i "build/MusicLife-Alpha.ipa" -a "uk.co.arcam.nmusiclife" -p "[email protected]"
The app uploads fine. If I alter the Fastfile
:
pilot(app_identifier: "uk.co.arcam.nmusiclife", ipa: "build/MusicLife-Alpha.ipa")
Then everything proceeds as normal. Is this a bug with pilot
or gym
?
We've exchanged some time ago, the fact that I like the functionality of the fastlane tools , but as a sysadmin I dislike the magic. Here I will go through the current ready , function to give feedback:
HTH
This is actually a suggestion/question than a issue,
This tool allows you to manage all important features of Apple TestFlight using your terminal.
Upload new builds and distribute them to all testers
There's a way to only Distribute to all testers, instead of upload another .ipa file and then distribute?
If I opt only to submit to Itunes Connect but not distribute, and later I want distribute.
So I'd like a way to distribute to Internal Tester and External Tester a build is already at Itunes Connect. And handle Submit for Beta App Review
Thank you!
When I attempt to lists build (or upload a new binary) in iTunes Connect, it looks like iTC gives an "Unauthorized access" error, which crashes Pilot. I'm not sure why iTC is giving an "Unauthorized access" message, as I can log in and manually make changes/upload binaries with no problems using the same account.
I'm using Pilot straight from the command line (latest v.0.1.6)— not as part of a larger Fastlane setup.
[20:14:02]: Login to iTunes Connect
[20:14:03]: Login successful
App Identifier: <BUNDLE ID HERE>
/usr/local/lib/ruby/gems/2.2.0/gems/spaceship-0.4.0/lib/spaceship/client.rb:239:in `parse_response': {"data"=>nil, "messages"=>{"warn"=>nil, "info"=>nil, "error"=>["Unauthorized access"]}, "statusCode"=>"ERROR"} (Spaceship::Client::UnexpectedResponse)
from /usr/local/lib/ruby/gems/2.2.0/gems/spaceship-0.4.0/lib/spaceship/tunes/tunes_client.rb:129:in `applications'
from /usr/local/lib/ruby/gems/2.2.0/gems/spaceship-0.4.0/lib/spaceship/tunes/application.rb:63:in `all'
from /usr/local/lib/ruby/gems/2.2.0/gems/spaceship-0.4.0/lib/spaceship/tunes/application.rb:69:in `find'
from /usr/local/lib/ruby/gems/2.2.0/gems/pilot-0.1.6/lib/pilot/manager.rb:45:in `fetch_app_id'
from /usr/local/lib/ruby/gems/2.2.0/gems/pilot-0.1.6/lib/pilot/manager.rb:24:in `app'
from /usr/local/lib/ruby/gems/2.2.0/gems/pilot-0.1.6/lib/pilot/build_manager.rb:33:in `list'
from /usr/local/lib/ruby/gems/2.2.0/gems/pilot-0.1.6/lib/pilot/commands_generator.rb:57:in `block (2 levels) in run'
from /usr/local/lib/ruby/gems/2.2.0/gems/commander-4.3.5/lib/commander/command.rb:178:in `call'
from /usr/local/lib/ruby/gems/2.2.0/gems/commander-4.3.5/lib/commander/command.rb:178:in `call'
from /usr/local/lib/ruby/gems/2.2.0/gems/commander-4.3.5/lib/commander/command.rb:153:in `run'
from /usr/local/lib/ruby/gems/2.2.0/gems/commander-4.3.5/lib/commander/runner.rb:428:in `run_active_command'
from /usr/local/lib/ruby/gems/2.2.0/gems/commander-4.3.5/lib/commander/runner.rb:68:in `run!'
from /usr/local/lib/ruby/gems/2.2.0/gems/commander-4.3.5/lib/commander/delegates.rb:15:in `run!'
from /usr/local/lib/ruby/gems/2.2.0/gems/pilot-0.1.6/lib/pilot/commands_generator.rb:120:in `run'
from /usr/local/lib/ruby/gems/2.2.0/gems/pilot-0.1.6/lib/pilot/commands_generator.rb:15:in `start'
from /usr/local/lib/ruby/gems/2.2.0/gems/pilot-0.1.6/bin/pilot:6:in `<top (required)>'
from /usr/local/bin/pilot:23:in `load'
from /usr/local/bin/pilot:23:in `<main>'
Any ideas what might be going on?
Hi,
I'm having trouble uploading an ipa using the command: pilot upload -u appleuser -p appid -a bundleid
Here the result:
[17:56:36]: Going to upload updated app to iTunesConnect
[17:56:36]: This might take a few minutes, please don't interrupt the script
[17:56:36]: Input/output error @ io_fillbuf - fd:8 /dev/pts/2
[17:56:36]: Input/output error @ io_fillbuf - fd:8 /dev/pts/2
/usr/local/rvm/gems/ruby-2.2.1/gems/pilot-0.2.0/lib/pilot/build_manager.rb:25:in `upload': Error uploading ipa file, more information see above (RuntimeError)
from /usr/local/rvm/gems/ruby-2.2.1/gems/pilot-0.2.0/lib/pilot/commands_generator.rb:48:in `block (2 levels) in run'
from /usr/local/rvm/gems/ruby-2.2.1/gems/commander-4.3.5/lib/commander/command.rb:178:in `call'
from /usr/local/rvm/gems/ruby-2.2.1/gems/commander-4.3.5/lib/commander/command.rb:178:in `call'
from /usr/local/rvm/gems/ruby-2.2.1/gems/commander-4.3.5/lib/commander/command.rb:153:in `run'
from /usr/local/rvm/gems/ruby-2.2.1/gems/commander-4.3.5/lib/commander/runner.rb:428:in `run_active_command'
from /usr/local/rvm/gems/ruby-2.2.1/gems/commander-4.3.5/lib/commander/runner.rb:68:in `run!'
from /usr/local/rvm/gems/ruby-2.2.1/gems/commander-4.3.5/lib/commander/delegates.rb:15:in `run!'
from /usr/local/rvm/gems/ruby-2.2.1/gems/pilot-0.2.0/lib/pilot/commands_generator.rb:120:in `run'
from /usr/local/rvm/gems/ruby-2.2.1/gems/pilot-0.2.0/lib/pilot/commands_generator.rb:17:in `start'
from /usr/local/rvm/gems/ruby-2.2.1/gems/pilot-0.2.0/bin/pilot:6:in `<top (required)>'
from /usr/local/rvm/gems/ruby-2.2.1/bin/pilot:23:in `load'
from /usr/local/rvm/gems/ruby-2.2.1/bin/pilot:23:in `<main>'
from /usr/local/rvm/gems/ruby-2.2.1/bin/ruby_executable_hooks:15:in `eval'
from /usr/local/rvm/gems/ruby-2.2.1/bin/ruby_executable_hooks:15:in `<main>'
I'm very new to this and not very used to ruby, did I miss something ?
Thanks
Hello Felix,
Thank you very much for your great job!
I have a question: Is it possible to use Pilot to distribute the app to one of the internal testers only?
Regard,
Bill
When using pilot add [email protected]
a user will be created but firstname and lastname will be null
& null
. Not very important but annoying enogh to make me go in and edit user so he at least has blank empty strings.
Would it be possible to have an parameter to add firstname, lastname to this tool.
And if these parameters are not available maybe provide an empty string for itunes so it wil not result in null
which look strange
After solving my problems from in #42 I ran right into the next one: After uploading the .ipa to the AppStore, I get an email from iTunesConnect:
Invalid Bundle - Failed to verify bitcode in ReactiveCocoa.framework/ReactiveCocoa: error: Bundle only contains bitcode-marker qonnect scan.app/Frameworks/ReactiveCocoa.framework/ReactiveCocoa (armv7) ...
(listing all the Frameworks that I've included via Carthage)
When uploading the same archive from Xcode directly, I need to uncheck the "Include Bitcode" checkmark, otherwise I get the same errors. With that checkmark unchecked, it works from Xcode.
I'm not sure if this option needs to be available in pilot as well, or if something else is the problem again.
I run command:
pilot upload -i MyApp.ipa
and got error:
[17:10:37]: Distributing new build to testers
/Users/petrkorolev/.rvm/gems/ruby-2.1.5@global/gems/spaceship-0.11.0/lib/spaceship/tunes/build_train.rb:76:in `update_testing_status!': wrong number of arguments (1 for 2) (ArgumentError)
from /Users/petrkorolev/.rvm/gems/ruby-2.1.5/gems/pilot-0.2.1/lib/pilot/build_manager.rb:92:in `block in distribute_build'
from /Users/petrkorolev/.rvm/gems/ruby-2.1.5/gems/pilot-0.2.1/lib/pilot/build_manager.rb:86:in `times'
from /Users/petrkorolev/.rvm/gems/ruby-2.1.5/gems/pilot-0.2.1/lib/pilot/build_manager.rb:86:in `distribute_build'
from /Users/petrkorolev/.rvm/gems/ruby-2.1.5/gems/pilot-0.2.1/lib/pilot/build_manager.rb:20:in `upload'
from /Users/petrkorolev/.rvm/gems/ruby-2.1.5/gems/pilot-0.2.1/lib/pilot/commands_generator.rb:48:in `block (2 levels) in run'
from /Users/petrkorolev/.rvm/gems/ruby-2.1.5@global/gems/commander-4.3.5/lib/commander/command.rb:178:in `call'
from /Users/petrkorolev/.rvm/gems/ruby-2.1.5@global/gems/commander-4.3.5/lib/commander/command.rb:178:in `call'
from /Users/petrkorolev/.rvm/gems/ruby-2.1.5@global/gems/commander-4.3.5/lib/commander/command.rb:153:in `run'
from /Users/petrkorolev/.rvm/gems/ruby-2.1.5@global/gems/commander-4.3.5/lib/commander/runner.rb:428:in `run_active_command'
from /Users/petrkorolev/.rvm/gems/ruby-2.1.5@global/gems/commander-4.3.5/lib/commander/runner.rb:68:in `run!'
from /Users/petrkorolev/.rvm/gems/ruby-2.1.5@global/gems/commander-4.3.5/lib/commander/delegates.rb:15:in `run!'
from /Users/petrkorolev/.rvm/gems/ruby-2.1.5/gems/pilot-0.2.1/lib/pilot/commands_generator.rb:120:in `run'
from /Users/petrkorolev/.rvm/gems/ruby-2.1.5/gems/pilot-0.2.1/lib/pilot/commands_generator.rb:17:in `start'
from /Users/petrkorolev/.rvm/gems/ruby-2.1.5/gems/pilot-0.2.1/bin/pilot:6:in `<top (required)>'
from /Users/petrkorolev/.rvm/gems/ruby-2.1.5/bin/pilot:23:in `load'
from /Users/petrkorolev/.rvm/gems/ruby-2.1.5/bin/pilot:23:in `<main>'
from /Users/petrkorolev/.rvm/gems/ruby-2.1.5/bin/ruby_executable_hooks:15:in `eval'
from /Users/petrkorolev/.rvm/gems/ruby-2.1.5/bin/ruby_executable_hooks:15:in `<main>'
Is there anyway to know if pilot as an action in a fastfile was successful?
Issue
Currently the distribute_build
method of build_manager.rb
is responsible for two things:
external
flag to true
.This prevents setting change logs for builds during an internal testing phase.
Suggested Fix
upload
method of build_manager.rb
determine whether to wait for processing to complete. Wait for processing if there is a changelog
argument or if skip_submission
is not specified.distribute_build
method set changelog
if present. Then set the external
flag based on skip_submission
instead of always setting it to true
.Hi!
Deliver gem had environment variable called DELIVER_WHAT_TO_TEST, that allowed setting "What to test" section for TestFlight. I cannot find this option on pilot gem, is it implemented?
/cc @KrauseFx
In case somebody else have same issue.
I'm guessing this occurs because I haven't created an App on iTunes Connect.
$ pilot upload
[15:50:36]: Login to iTunes Connect
[15:50:38]: Login successful
/Library/Ruby/Gems/2.0.0/gems/pilot-0.1.3/lib/pilot/manager.rb:46:in `fetch_app_id': undefined method `apple_id' for nil:NilClass (NoMethodError)
from /Library/Ruby/Gems/2.0.0/gems/pilot-0.1.3/lib/pilot/manager.rb:24:in `app'
from /Library/Ruby/Gems/2.0.0/gems/pilot-0.1.3/lib/pilot/build_manager.rb:6:in `upload'
from /Library/Ruby/Gems/2.0.0/gems/pilot-0.1.3/lib/pilot/commands_generator.rb:48: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/pilot-0.1.3/lib/pilot/commands_generator.rb:120:in `run'
from /Library/Ruby/Gems/2.0.0/gems/pilot-0.1.3/lib/pilot/commands_generator.rb:15:in `start'
from /Library/Ruby/Gems/2.0.0/gems/pilot-0.1.3/bin/pilot:6:in `<top (required)>'
from /usr/bin/pilot:23:in `load'
from /usr/bin/pilot:23:in `<main>'
pilot builds --apple_id DDDDDDD -u [email protected]
This returns a nice list below, not really sorted but that's okay. Is there any way to just return the latest build number? In the example below, "0.9.134" appears to be the highest.
Reasons: Some of my shared build scripts have issues with ITC uploads where the ITC version increment is higher than the local version number. Am wondering if this is a viable way to pull highest ITC version, and always upload a +1 version number to avoid submission errors.
+-----------+---------+----------+----------+----------+
| App Name Builds |
+-----------+---------+----------+----------+----------+
| Version # | Build # | Testing | Installs | Sessions |
+-----------+---------+----------+----------+----------+
| 0.9.1 | 0.9.130 | Inactive | 0 | 0 |
| 0.9.1 | 0.9.132 | Inactive | 2 | 17 |
| 0.9.1 | 0.9.59 | Inactive | 0 | 0 |
| 0.9.1 | 0.9.50 | Inactive | 0 | 0 |
| 0.9.1 | 0.9.133 | Inactive | 3 | 3 |
| 0.9.1 | 0.9.112 | Inactive | 0 | 0 |
| 0.9.1 | 0.9.131 | Inactive | 0 | 0 |
| 0.9.1 | 0.9.134 | Internal | 3 | 0 |
| 0.9.1 | 0.9.3 | Expired | 2 | 0 |
| 0.9.1 | 0.9.5 | Expired | 2 | 0 |
| 0.9.1 | 0.9.2 | Expired | 2 | 0 |
Hi,
when I build and upload an app to testflight, iTunes Transporter succeeds, but Pilot somehow finishes with errors (see log below). I can see the uploaded build in iTunes Connect and I successfully started an internal test with it.
[13:08:42]: [Transporter]: INFO: Done performing uploadDone notification to Apple.
[13:08:42]: [Transporter]: INFO: The package: /tmp/XXXX45300.itmsp has been successfully uploaded.
[13:08:42]: iTunes Transporter successfully finished its job
[13:08:42]: [Transporter]: DBG-X: Returning 0
[13:08:42]: Could not retrieve remote configuration details.
An exception has occurred: Server returned HTTP response code: 503 for URL: https://contentdelivery.itunes.apple.com/transporter/Defaults.properties
[13:08:42]: Variable Dump:
[13:08:42]: {:DEFAULT_PLATFORM=>:ios, :PLATFORM_NAME=>:ios, :LANE_NAME=>"ios testflight_internal", :SIGH_PROFILE_PATH=>"/Users/ffittschen/hybrid-app/clients/testclient/ios/appstore.mobileprovision", :SIGH_PROFILE_PATHS=>["/Users/ffittschen/hybrid-app/clients/testclient/ios/appstore.mobileprovision"], :SIGH_UDID=>"23ceadfc-7c7a-425b-bb09-abcde247a0ea", :SIGH_PROFILE_TYPE=>"app-store", :BUILD_NUMBER=>"493", :IPA_OUTPUT_PATH=>"/Users/ffittschen/hybrid-app/artefacts/testclient/3_1_14/testclient-v3_1_14beta.ipa", :DSYM_OUTPUT_PATH=>"/Users/ffittschen/hybrid-app/artefacts/testclient/3_1_14/testclient-v3_1_14beta.app.dSYM.zip"}
[13:08:42]: Error uploading ipa file, more information see above
+------+---------------------------------------------------------------+-------------+
| fastlane summary |
+------+---------------------------------------------------------------+-------------+
| Step | Action | Time (in s) |
+------+---------------------------------------------------------------+-------------+
| 1 | Verifying required fastlane version | 0 |
| 2 | default_platform | 0 |
| 3 | Switch to ios build lane | 0 |
| 4 | Switch to ios configured_sigh lane | 0 |
| 5 | sigh | 19 |
| 6 | get_svn_revision | 0 |
| 7 | increment_build_number | 1 |
| 8 | gym | 19 |
| 9 | testflight | 68 |
+------+---------------------------------------------------------------+-------------+
[13:08:42]: fastlane finished with errors
>> /Users/ffittschen/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/pilot-0.2.3/lib/pilot/build_manager.rb:27:in `upload'
>> Error uploading ipa file, more information see above (RuntimeError)
>> from /Users/ffittschen/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/fastlane-1.32.1/lib/fastlane/actions/pilot.rb:15:in `run'
>> from /Users/ffittschen/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/fastlane-1.32.1/lib/fastlane/actions/testflight.rb:5:in `run'
>> from /Users/ffittschen/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/fastlane-1.32.1/lib/fastlane/runner.rb:142:in `block (2 levels) in execute_action'
>> from /Users/ffittschen/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/fastlane-1.32.1/lib/fastlane/actions/actions_helper.rb:37:in `execute_action'
>> from /Users/ffittschen/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/fastlane-1.32.1/lib/fastlane/runner.rb:128:in `block in execute_action'
>> from /Users/ffittschen/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/fastlane-1.32.1/lib/fastlane/runner.rb:127:in `chdir'
>> from /Users/ffittschen/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/fastlane-1.32.1/lib/fastlane/runner.rb:127:in `execute_action'
>> from /Users/ffittschen/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/fastlane-1.32.1/lib/fastlane/fast_file.rb:137:in `method_missing'
>> from (eval):91:in `block (3 levels) in parse'
>> from /Users/ffittschen/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/fastlane-1.32.1/lib/fastlane/lane.rb:36:in `call'
>> from /Users/ffittschen/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/fastlane-1.32.1/lib/fastlane/lane.rb:36:in `call'
>> from /Users/ffittschen/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/fastlane-1.32.1/lib/fastlane/runner.rb:51:in `block in execute'
>> from /Users/ffittschen/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/fastlane-1.32.1/lib/fastlane/runner.rb:46:in `chdir'
>> from /Users/ffittschen/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/fastlane-1.32.1/lib/fastlane/runner.rb:46:in `execute'
>> from /Users/ffittschen/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/fastlane-1.32.1/lib/fastlane/lane_manager.rb:43:in `cruise_lane'
>> from /Users/ffittschen/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/fastlane-1.32.1/lib/fastlane/command_line_handler.rb:31:in `handle'
>> from /Users/ffittschen/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/fastlane-1.32.1/bin/fastlane:35:in `block (2 levels) in run'
>> from /Users/ffittschen/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/commander-4.3.5/lib/commander/command.rb:178:in `call'
>> from /Users/ffittschen/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/commander-4.3.5/lib/commander/command.rb:178:in `call'
>> from /Users/ffittschen/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/commander-4.3.5/lib/commander/command.rb:153:in `run'
>> from /Users/ffittschen/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/commander-4.3.5/lib/commander/runner.rb:428:in `run_active_command'
>> from /Users/ffittschen/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/commander-4.3.5/lib/commander/runner.rb:68:in `run!'
>> from /Users/ffittschen/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/commander-4.3.5/lib/commander/delegates.rb:15:in `run!'
>> from /Users/ffittschen/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/fastlane-1.32.1/bin/fastlane:136:in `run'
>> from /Users/ffittschen/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/fastlane-1.32.1/bin/fastlane:142:in `<top (required)>'
>> from /Users/ffittschen/.rbenv/versions/2.2.3/bin/fastlane:23:in `load'
>> from /Users/ffittschen/.rbenv/versions/2.2.3/bin/fastlane:23:in `<main>'
Can we not set pilot to work with gym, as now it is not taking IPA_OUTPUT_PATH of gym.
for now, i have to use following additional command to come out from this.
ENV["PILOT_IPA"] = ENV["IPA_OUTPUT_PATH"]
We use the user groups functionality in iTunes Connect for our beta tests a lot. I don't see support for that in pilot at the moment. Am I missing it?
What we do is recruit a set of testers, add them to the iTunes account in a user group ("MyApp Beta 1") and then add the group to the app. This way we know which tests a user is on, and also why they're on the account in the first place (we have many, many apps in the account).
Is there a way to specify a group when importing a CSV so that the user is also added to that group (and have it created if it doesn't exist)?
Hi :)
I'm trying to upload a build to test flight from my Xcode server, steps performed:
submit the same App through Xcode works perfectly.
configuration: osx 10.10.4 - xcode 6.4 - OSX server 4.1.3
this is the Log:
�[37m[18:10:30]: �[0mLogin to iTunes Connect
�[37m[18:10:32]: �[0mLogin successful
�[37m[18:10:32]: �[0m�[32mReady to upload new build to TestFlight (App: )...�[0m
�[37m[18:10:32]: �[0mGoing to upload updated app to iTunesConnect
�[37m[18:10:32]: �[0m�[32mThis might take a few minutes, please don't interrupt the script�[0m
�[35m[18:10:35]: �[0m[Transporter]: INFO: Transporter is skipping bundle update check: Already checked recently.
�[35m[18:10:35]: �[0m[Transporter]: INFO: Logging configured successfully.
�[35m[18:10:35]: �[0m[Transporter]: DEBUG: Attempting refresh of configuration data from https://contentdelivery.itunes.apple.com/transporter/Defaults.properties
�[35m[18:10:36]: �[0m[Transporter]: DEBUG: Configuration refresh successful.
�[35m[18:10:36]: �[0m[Transporter]: DEBUG: Saving configuration to local path: /var/root/.itmstransporter/Defaults.properties
�[35m[18:10:36]: �[0m[Transporter]: INFO: iTMSTransporter : iTunes Store Transporter [1.8.5]
�[35m[18:10:36]: �[0m[Transporter]: INFO: OS identifier: Mac OS X 10.10.4 (x86_64); jvm=24.80-b07; jre=1.7.0-internal-root_2015_01_13_21_57-b00
�[35m[18:10:36]: �[0m[Transporter]: INFO: Memory: [JVM] 31M free, 56M total, 910M max [System] (Physical) 7522M free, 16384M total (Swap) 0 free, 0 total
�[35m[18:10:36]: �[0m[Transporter]: INFO: Upload mode selected.
�[35m[18:10:36]: �[0m[Transporter]: INFO: Examining the package at: /tmp/.itmsp
�[35m[18:10:36]: �[0m[Transporter]: INFO: Ensuring that package has well formed metadata file...
�[35m[18:10:36]: �[0m[Transporter]: DEBUG: Getting case-sensitive metadata xml filename...
�[35m[18:10:36]: �[0m[Transporter]: INFO: Gathering the list of valid files from the package ...
�[35m[18:10:36]: �[0m[Transporter]: DEBUG: 1b3d065e63ebc86a8d9a37821e9c7982.ipa will be verified by Apple's web service to determine if it is a valid file.
�[35m[18:10:36]: �[0m[Transporter]: DEBUG: metadata.xml will be verified by Apple's web service to determine if it is a valid file.
�[35m[18:10:36]: �[0m[Transporter]: INFO: Finished gathering the list of valid files from the package.
�[35m[18:10:36]: �[0m[Transporter]: DEBUG: Case-sensitive metadata filename is: metadata.xml
�[35m[18:10:36]: �[0m[Transporter]: INFO: Performing authentication of package .itmsp ...
�[35m[18:10:36]: �[0m[Transporter]: DBG-X: Memory: [JVM] 5M free, 56M total, 910M max [System] (Physical) 7501M free, 16384M total (Swap) 0 free, 0 total
�[35m[18:10:36]: �[0m[Transporter]: DBG-X: Memory: [JVM] 5M free, 56M total, 910M max [System] (Physical) 7501M free, 16384M total (Swap) 0 free, 0 total
�[35m[18:10:36]: �[0m[Transporter]: DBG-X: Using operation named: authenticateForSession
�[35m[18:10:36]: �[0m[Transporter]: DBG-X: Apple's web service operation input parameters:
�[35m[18:10:36]: �[0m[Transporter]: DBG-X: parameter Application = iTMSTransporter
�[35m[18:10:36]: �[0m[Transporter]: DBG-X: parameter BaseVersion = 1.8.3
�[35m[18:10:36]: �[0m[Transporter]: DBG-X: parameter OSIdentifier = Mac OS X 10.10.4 (x86_64); jvm=24.80-b07; jre=1.7.0-internal-root_2015_01_13_21_57-b00
�[35m[18:10:36]: �[0m[Transporter]: DBG-X: parameter Password = **hidden value**
�[35m[18:10:36]: �[0m[Transporter]: DBG-X: parameter TransporterArguments = -m upload -u [email protected] -p **hidden value** -f /tmp/.itmsp -t Signiant -k 100000
�[35m[18:10:36]: �[0m[Transporter]: DBG-X: parameter Username = [email protected]
�[35m[18:10:36]: �[0m[Transporter]: DBG-X: parameter Version = 1.8.5
�[35m[18:10:36]: �[0m[Transporter]: INFO: id = 20150721181036-110
�[35m[18:10:37]: �[0m[Transporter]: DBG-X: Apple's web service operation return value:
�[35m[18:10:37]: �[0m[Transporter]: DBG-X: parameter SessionId = CKOmDBIQX72Uurf1QVGqo4LuWlfV/w==
�[35m[18:10:37]: �[0m[Transporter]: DBG-X: parameter SharedSecret = 231d78c7-0bb4-47fb-9776-81529ce95c8d
�[35m[18:10:37]: �[0m[Transporter]: DBG-X: Deflated 422 bytes to 368
�[35m[18:10:37]: �[0m[Transporter]: DBG-X: Using operation named: validateMetadata
�[35m[18:10:37]: �[0m[Transporter]: DBG-X: Apple's web service operation input parameters:
�[35m[18:10:37]: �[0m[Transporter]: DBG-X: parameter Application = iTMSTransporter
�[35m[18:10:37]: �[0m[Transporter]: DBG-X: parameter BaseVersion = 1.8.3
�[35m[18:10:37]: �[0m[Transporter]: DBG-X: parameter Files = [1b3d065e63ebc86a8d9a37821e9c7982.ipa, metadata.xml]
�[35m[18:10:37]: �[0m[Transporter]: DBG-X: parameter Metadata = <?xml version="1.0" encoding="UTF-8"?>
�[35m[18:10:37]: �[0m[Transporter]: DBG-X: parameter MetadataChecksum = f180a447ba295eab19393abfe4832781
�[35m[18:10:37]: �[0m[Transporter]: DBG-X: parameter MetadataCompressed = (suppressed)
�[35m[18:10:37]: �[0m[Transporter]: DBG-X: parameter OSIdentifier = Mac OS X 10.10.4 (x86_64); jvm=24.80-b07; jre=1.7.0-internal-root_2015_01_13_21_57-b00
�[35m[18:10:37]: �[0m[Transporter]: DBG-X: parameter PackageName = .itmsp
�[35m[18:10:37]: �[0m[Transporter]: DBG-X: parameter PackageSize = 1397606
�[35m[18:10:37]: �[0m[Transporter]: DBG-X: parameter Throttle = 100000
�[35m[18:10:37]: �[0m[Transporter]: DBG-X: parameter TransporterArguments = -m upload -u [email protected] -p **hidden value** -f /tmp/.itmsp -t Signiant -k 100000
�[35m[18:10:37]: �[0m[Transporter]: DBG-X: parameter Username = [email protected]
�[35m[18:10:37]: �[0m[Transporter]: DBG-X: parameter Version = 1.8.5
�[35m[18:10:37]: �[0m[Transporter]: INFO: id = 20150721181037-499
�[35m[18:10:38]: �[0m[Transporter]: DBG-X: Apple's web service operation return value:
�[35m[18:10:38]: �[0m[Transporter]: DBG-X: parameter ErrorMessage = ERROR ITMS-3000: "Line 3 column 32: value of attribute "apple_id" is invalid; must be an integer at XPath /package/software_assets"
�[35m[18:10:38]: �[0m[Transporter]: DBG-X: parameter CPUToken = 040298b8-4a8d-44d9-ae83-feae13974b0c/1437498638144
�[35m[18:10:38]: �[0m[Transporter]: DBG-X: parameter AssetsToDescribe = []
�[35m[18:10:38]: �[0m[Transporter]: DBG-X: parameter Errors = [ERROR ITMS-3000: "Line 3 column 32: value of attribute "apple_id" is invalid; must be an integer at XPath /package/software_assets", The package name .itmsp contains an invalid character(s). The valid characters are: A-Z, a-z, 0-9, dash, period, underscore, but the name cannot start with a dash, period, or underscore]
�[35m[18:10:38]: �[0m[Transporter]: DBG-X: parameter ErrorCode = 1102
�[35m[18:10:38]: �[0m[Transporter]: DBG-X: parameter Success = false
�[35m[18:10:38]: �[0m[Transporter]: DBG-X: parameter FilesToUpload = [metadata.xml]
�[35m[18:10:38]: �[0m[Transporter]: DBG-X: parameter MinimumFileSizeThresholdForCheckum = 104857600
�[31m[18:10:38]: �[0m�[31m[Transporter Error Output]: ERROR ITMS-3000: "Line 3 column 32: value of attribute "apple_id" is invalid; must be an integer at XPath /package/software_assets"
�[0m
�[31m[18:10:38]: �[0m�[31m[Transporter Error Output]: The package name .itmsp contains an invalid character(s). The valid characters are: A-Z, a-z, 0-9, dash, period, underscore, but the name cannot start with a dash, period, or underscore
�[0m
�[35m[18:10:38]: �[0m[Transporter]: DBG-X: The error code is: 1102
�[1m�[31m[18:10:38]: �[0m�[0m�[31mTransporter transfer failed.�[0m
�[33m[18:10:38]: �[0m�[33m�[0m
�[31m[18:10:38]: �[0m�[31mERROR ITMS-3000: "Line 3 column 32: value of attribute "apple_id" is invalid; must be an integer at XPath /package/software_assets"
The package name .itmsp contains an invalid character(s). The valid characters are: A-Z, a-z, 0-9, dash, period, underscore, but the name cannot start with a dash, period, or underscore
�[0m
�[1m�[31m[18:10:38]: �[0m�[0m�[31mReturn status of iTunes Transporter was 1: ERROR ITMS-3000: "Line 3 column 32: value of attribute "apple_id" is invalid; must be an integer at XPath /package/software_assets"
\nThe package name .itmsp contains an invalid character(s). The valid characters are: A-Z, a-z, 0-9, dash, period, underscore, but the name cannot start with a dash, period, or underscore
�[0m
�[31m[18:10:38]: �[0mERROR ITMS-3000: "Line 3 column 32: value of attribute "apple_id" is invalid; must be an integer at XPath /package/software_assets"
The package name .itmsp contains an invalid character(s). The valid characters are: A-Z, a-z, 0-9, dash, period, underscore, but the name cannot start with a dash, period, or underscore
�[31mReturn status of iTunes Transporter was 1: ERROR ITMS-3000: "Line 3 column 32: value of attribute "apple_id" is invalid; must be an integer at XPath /package/software_assets"
\nThe package name .itmsp contains an invalid character(s). The valid characters are: A-Z, a-z, 0-9, dash, period, underscore, but the name cannot start with a dash, period, or underscore
�[0m
Is there a way pilot
can be used to switch off TestFlight for selected apps on iTunes Connect. As I have noticed iTunes Connect doesn't allow more than 10 apps to be under TestFlight mode at the same time.
Hi All,
Am trying to upload a IPA file to TestFlight through PILOT, but its throwing the following error as follows,
The console shows the following,
[15:12:51]: [Transporter]: DBG-X: Apple's web service operation return value:
[15:12:51]: [Transporter]: DBG-X: parameter Success = true
[15:12:51]: Transporter transfer failed.
[15:12:51]:
[15:12:51]:
[15:12:51]: Return status of iTunes Transporter was 1:
[15:12:51]: Return status of iTunes Transporter was 1:
/Library/Ruby/Gems/2.0.0/gems/pilot-0.2.0/lib/pilot/build_manager.rb:25:in `upload': Error uploading ipa file, more information see above (RuntimeError)
from /Library/Ruby/Gems/2.0.0/gems/pilot-0.2.0/lib/pilot/commands_generator.rb:48:in `block (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:in `call'
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:in `run_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:in `run!'
from /Library/Ruby/Gems/2.0.0/gems/pilot-0.2.0/lib/pilot/commands_generator.rb:120:in `run'
from /Library/Ruby/Gems/2.0.0/gems/pilot-0.2.0/lib/pilot/commands_generator.rb:17:in `start'
from /Library/Ruby/Gems/2.0.0/gems/pilot-0.2.0/bin/pilot:6:in `<top (required)>'
from /usr/bin/pilot:23:in `load'
from /usr/bin/pilot:23:in `<main>'
Could anyone please help on this??
Thanks
Hi,
I'm getting the following error when using pilot upload
from the directory of my project which contains the IPA.
[12:01:21]: [Transporter Error Output]: Path specified for argument -f (/tmp/.itmsp) is invalid.
[12:01:21]: [Transporter]: DEBUG: full path: /tmp/.itmsp
[12:01:21]: Transporter transfer failed.
[12:01:21]:
[12:01:21]: Path specified for argument -f (/tmp/.itmsp) is invalid.
[12:01:21]: Return status of iTunes Transporter was 1: Path specified for argument -f (/tmp/.itmsp) is invalid.
[12:01:21]: Path specified for argument -f (/tmp/.itmsp) is invalid.
Return status of iTunes Transporter was 1: Path specified for argument -f (/tmp/.itmsp) is invalid.
/Users/Hesham/.rvm/gems/ruby-2.2.1@global/gems/pilot-0.1.3/lib/pilot/build_manager.rb:23:in `upload': Error uploading ipa file, more information see above (RuntimeError)
from /Users/Hesham/.rvm/gems/ruby-2.2.1@global/gems/pilot-0.1.3/lib/pilot/commands_generator.rb:48:in `block (2 levels) in run'
from /Users/Hesham/.rvm/gems/ruby-2.2.1@global/gems/commander-4.3.4/lib/commander/command.rb:178:in `call'
from /Users/Hesham/.rvm/gems/ruby-2.2.1@global/gems/commander-4.3.4/lib/commander/command.rb:178:in `call'
from /Users/Hesham/.rvm/gems/ruby-2.2.1@global/gems/commander-4.3.4/lib/commander/command.rb:153:in `run'
from /Users/Hesham/.rvm/gems/ruby-2.2.1@global/gems/commander-4.3.4/lib/commander/runner.rb:428:in `run_active_command'
from /Users/Hesham/.rvm/gems/ruby-2.2.1@global/gems/commander-4.3.4/lib/commander/runner.rb:68:in `run!'
from /Users/Hesham/.rvm/gems/ruby-2.2.1@global/gems/commander-4.3.4/lib/commander/delegates.rb:15:in `run!'
from /Users/Hesham/.rvm/gems/ruby-2.2.1@global/gems/pilot-0.1.3/lib/pilot/commands_generator.rb:120:in `run'
from /Users/Hesham/.rvm/gems/ruby-2.2.1@global/gems/pilot-0.1.3/lib/pilot/commands_generator.rb:15:in `start'
from /Users/Hesham/.rvm/gems/ruby-2.2.1@global/gems/pilot-0.1.3/bin/pilot:6:in `<top (required)>'
from /Users/Hesham/.rvm/rubies/ruby-2.2.1/bin/pilot:23:in `load'
from /Users/Hesham/.rvm/rubies/ruby-2.2.1/bin/pilot:23:in `<main>'
from /Users/Hesham/.rvm/gems/ruby-2.2.1/bin/ruby_executable_hooks:15:in `eval'
from /Users/Hesham/.rvm/gems/ruby-2.2.1/bin/ruby_executable_hooks:15:in `<main>'
Is this a bug or I'm doing something wrong?
I plan to the following flow:
I like the way of only one command, i.e. 'fastlane beta'. But it looks that the pilot isn't supported for Fastfile. So how to do it better now?
I used gym to build a tvOS app (incidentally, I had to use --destination generic/platform=tvOS
to convince gym that it was not building an iOS app).
I then used pilot to upload the app, but got this error:
Return status of iTunes Transporter was 1: ERROR ITMS-90545: "Invalid Provisioning Profile. This provisioning profile is not compatible with iOS apps."
I'm able upload the app just fine using the Organizer, but would prefer to automate this.
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.