Closed fousa closed 9 years ago
This was really helpful, it makes finding the issue for me so much easier.
I think I found the problem:
xcode_select "/Applications/Xcode-Beta 6.3.app"
I think, the location of the transporter file has changed. deliver
should handle this issue, this is related to https://github.com/KrauseFx/fastlane_core/pull/13, which had to be reverted, as it didn't work as expected.
I'll find a fix for it tomorrow morning, sorry for the troubles this caused you. In the mean time, you can use the latest official Xcode release (if that's possible for you)
Also, feel free to remove the Building and Testing
section in your Deliverfile
with the 2 ipa blocks.
No worries! Glad I'm of any help. :)
Unfortunately I'm already using Swift 1.2, so using the latest stable build isn't possible.
I just pushed a fix, please update to the pre-release using sudo gem update fastlane_core --pre
and let me know if it works now :+1:
Should I remove the old fastlane_core gems? Because just updating doesn't seem to do the trick. Same error.
➜ Logs git:(develop) gem list fastlane_core
*** LOCAL GEMS ***
fastlane_core (0.4.3.pre, 0.4.1, 0.3.4, 0.3.1)
Oh, yes, please uninstall the old fastlane_core
gem.
The same problem persists.
INFO [2015-04-03 11:23:08.37]: -------------------------------------------------
INFO [2015-04-03 11:23:08.37]: --- Step: Verifying required fastlane version ---
INFO [2015-04-03 11:23:08.37]: -------------------------------------------------
INFO [2015-04-03 11:23:08.37]: fastlane version valid
INFO [2015-04-03 11:23:08.37]: Driving the lane 'beta'
INFO [2015-04-03 11:23:08.37]: --------------------------
INFO [2015-04-03 11:23:08.37]: --- Step: xcode_select ---
INFO [2015-04-03 11:23:08.37]: --------------------------
INFO [2015-04-03 11:23:08.37]: Setting Xcode version to /Applications/Xcode-Beta 6.3.app for all build steps
INFO [2015-04-03 11:23:08.37]: -----------------
INFO [2015-04-03 11:23:08.37]: --- Step: ipa ---
INFO [2015-04-03 11:23:08.37]: -----------------
DEBUG [2015-04-03 11:23:08.37]: ipa build -c "Release" --archive "true"
INFO [2015-04-03 11:23:08.37]: [SHELL COMMAND]: ipa build -c "Release" --archive "true"
INFO [2015-04-03 11:23:11.38]: [SHELL OUTPUT]: xcodebuild Logs.xcworkspace
INFO [2015-04-03 11:23:11.38]: [SHELL OUTPUT]: xcodebuild -sdk iphoneos -workspace "Logs.xcworkspace" -scheme "Logs" -configuration "Release" clean build archive 1> /dev/null
INFO [2015-04-03 11:23:11.55]: [SHELL OUTPUT]: 2015-04-03 11:23:11.553 xcodebuild[13238:19129546] [MT] PluginLoading: Required plug-in compatibility UUID 992275C1-432A-4CF7-B659-D84ED6D42D3F for plug-in at path '~/Library/Application Support/Developer/Shared/Xcode/Plug-ins/XToDo.xcplugin' not present in DVTPlugInCompatibilityUUIDs
INFO [2015-04-03 11:23:11.55]: [SHELL OUTPUT]: 2015-04-03 11:23:11.554 xcodebuild[13238:19129546] [MT] PluginLoading: Required plug-in compatibility UUID 992275C1-432A-4CF7-B659-D84ED6D42D3F for plug-in at path '~/Library/Application Support/Developer/Shared/Xcode/Plug-ins/RevealPlugin.xcplugin' not present in DVTPlugInCompatibilityUUIDs
INFO [2015-04-03 11:23:11.55]: [SHELL OUTPUT]: 2015-04-03 11:23:11.555 xcodebuild[13238:19129546] [MT] PluginLoading: Required plug-in compatibility UUID 992275C1-432A-4CF7-B659-D84ED6D42D3F for plug-in at path '~/Library/Application Support/Developer/Shared/Xcode/Plug-ins/OMColorSense.xcplugin' not present in DVTPlugInCompatibilityUUIDs
INFO [2015-04-03 11:23:11.57]: [SHELL OUTPUT]: 2015-04-03 11:23:11.579 xcodebuild[13238:19129546] [MT] PluginLoading: Required plug-in compatibility UUID 992275C1-432A-4CF7-B659-D84ED6D42D3F for plug-in at path '~/Library/Application Support/Developer/Shared/Xcode/Plug-ins/BBUFullIssueNavigator.xcplugin' not present in DVTPlugInCompatibilityUUIDs
INFO [2015-04-03 11:23:11.81]: [SHELL OUTPUT]: 2015-04-03 11:23:11.817 xcodebuild[13238:19129546] [MT] DVTAssertions: Warning in /SourceCache/IDEFrameworks/IDEFrameworks-7522.6/IDEFoundation/SourceControl/Model/IDESourceControlManager.m:423
INFO [2015-04-03 11:23:11.81]: [SHELL OUTPUT]: Details: Error Domain=com.apple.dt.IDESourceControlErrorDomain Code=-1 "Missing extension: public.vcs.subversion" UserInfo=0x7fd88f02e820 {NSLocalizedDescription=Missing extension: public.vcs.subversion}
INFO [2015-04-03 11:23:11.81]: [SHELL OUTPUT]: Object: <IDESourceControlManager: 0x7fd88b8e6d80>
INFO [2015-04-03 11:23:11.81]: [SHELL OUTPUT]: Method: -loadRepositories
INFO [2015-04-03 11:23:11.81]: [SHELL OUTPUT]: Thread: <NSThread: 0x7fd88af2e5b0>{number = 1, name = main}
INFO [2015-04-03 11:23:11.81]: [SHELL OUTPUT]: Please file a bug at http://bugreport.apple.com with this warning message and any useful information you can provide.
INFO [2015-04-03 11:23:53.39]: [SHELL OUTPUT]: xcrun PackageApplication
INFO [2015-04-03 11:23:54.52]: [SHELL OUTPUT]: zip /Users/hornet/Projects/Fousa/Logs/Logs.app.dSYM
INFO [2015-04-03 11:23:54.70]: [SHELL OUTPUT]: Successfully built:
INFO [2015-04-03 11:23:54.70]: [SHELL OUTPUT]: /Users/hornet/Projects/Fousa/Logs/Logs.ipa
INFO [2015-04-03 11:23:54.70]: ---------------------
INFO [2015-04-03 11:23:54.70]: --- Step: deliver ---
INFO [2015-04-03 11:23:54.70]: ---------------------
INFO [2015-04-03 11:24:01.59]: Got all information needed to deploy a new update ('1.0.0') for app 'be.fousa.logs.ios'
INFO [2015-04-03 11:24:01.59]: Uploading ipa file to iTunesConnect
INFO [2015-04-03 11:24:01.67]: Going to upload updated app to iTunesConnect
INFO [2015-04-03 11:24:01.67]: This might take a few minutes, please don't interrupt the script
INFO [2015-04-03 11:24:01.69]: ------------------------------------------------------------------------------------------------------
INFO [2015-04-03 11:24:01.69]: Successfully uploaded package to iTunesConnect. It might take a few minutes until it's visible online.
INFO [2015-04-03 11:24:01.69]: ------------------------------------------------------------------------------------------------------
INFO [2015-04-03 11:24:01.69]: Distributing the latest build to Beta Testers.
INFO [2015-04-03 11:24:02.89]: Logging into iTunesConnect
INFO [2015-04-03 11:24:13.09]: Successfully logged into iTunesConnect
INFO [2015-04-03 11:24:13.30]: Opening detail page for app 979188540 - be.fousa.logs.ios
INFO [2015-04-03 11:24:21.03]: Choosing the latest build on iTunesConnect for beta distribution
INFO [2015-04-03 11:24:22.48]: Variable Dump:
INFO [2015-04-03 11:24:22.48]: {:ENVIRONMENT=>nil, :LANE_NAME=>:beta, :IPA_OUTPUT_PATH=>"/Users/hornet/Projects/Fousa/Logs/Logs.ipa", :DSYM_OUTPUT_PATH=>"/Users/hornet/Projects/Fousa/Logs/Logs.app.dSYM.zip"}
FATAL [2015-04-03 11:24:22.48]: undefined method `[]' for nil:NilClass
FATAL [2015-04-03 11:24:22.48]: fastlane finished with errors
/Users/hornet/.rvm/gems/ruby-2.1.5/gems/deliver-0.8.2/lib/deliver/itunes_connect/itunes_connect_submission.rb:43:in `block in put_build_into_beta_testing!': undefined method `[]' for nil:NilClass (NoMethodError)
from /Users/hornet/.rvm/gems/ruby-2.1.5/gems/deliver-0.8.2/lib/deliver/itunes_connect/itunes_connect_submission.rb:26:in `loop'
from /Users/hornet/.rvm/gems/ruby-2.1.5/gems/deliver-0.8.2/lib/deliver/itunes_connect/itunes_connect_submission.rb:26:in `put_build_into_beta_testing!'
from /Users/hornet/.rvm/gems/ruby-2.1.5/gems/deliver-0.8.2/lib/deliver/ipa_uploader.rb:101:in `publish_beta_build'
from /Users/hornet/.rvm/gems/ruby-2.1.5/gems/deliver-0.8.2/lib/deliver/ipa_uploader.rb:93:in `publish_on_itunes_connect'
from /Users/hornet/.rvm/gems/ruby-2.1.5/gems/deliver-0.8.2/lib/deliver/ipa_uploader.rb:77:in `upload!'
from /Users/hornet/.rvm/gems/ruby-2.1.5/gems/deliver-0.8.2/lib/deliver/deliver_process.rb:296:in `trigger_ipa_upload'
from /Users/hornet/.rvm/gems/ruby-2.1.5/gems/deliver-0.8.2/lib/deliver/deliver_process.rb:55:in `run'
from /Users/hornet/.rvm/gems/ruby-2.1.5/gems/deliver-0.8.2/lib/deliver/deliverer.rb:132:in `finished_executing_deliver_file'
from /Users/hornet/.rvm/gems/ruby-2.1.5/gems/deliver-0.8.2/lib/deliver/deliverfile/deliverfile.rb:31:in `initialize'
from /Users/hornet/.rvm/gems/ruby-2.1.5/gems/deliver-0.8.2/lib/deliver/deliverer.rb:84:in `new'
from /Users/hornet/.rvm/gems/ruby-2.1.5/gems/deliver-0.8.2/lib/deliver/deliverer.rb:84:in `initialize'
from /Users/hornet/.rvm/gems/ruby-2.1.5/gems/fastlane-0.5.0/lib/fastlane/actions/deliver.rb:18:in `new'
from /Users/hornet/.rvm/gems/ruby-2.1.5/gems/fastlane-0.5.0/lib/fastlane/actions/deliver.rb:18:in `block in run'
from /Users/hornet/.rvm/gems/ruby-2.1.5/gems/fastlane-0.5.0/lib/fastlane/actions/deliver.rb:16:in `chdir'
from /Users/hornet/.rvm/gems/ruby-2.1.5/gems/fastlane-0.5.0/lib/fastlane/actions/deliver.rb:16:in `run'
from /Users/hornet/.rvm/gems/ruby-2.1.5/gems/fastlane-0.5.0/lib/fastlane/fast_file.rb:82:in `block (2 levels) in method_missing'
from /Users/hornet/.rvm/gems/ruby-2.1.5/gems/fastlane-0.5.0/lib/fastlane/actions/actions_helper.rb:29:in `execute_action'
from /Users/hornet/.rvm/gems/ruby-2.1.5/gems/fastlane-0.5.0/lib/fastlane/fast_file.rb:81:in `block in method_missing'
from /Users/hornet/.rvm/gems/ruby-2.1.5/gems/fastlane-0.5.0/lib/fastlane/fast_file.rb:80:in `chdir'
from /Users/hornet/.rvm/gems/ruby-2.1.5/gems/fastlane-0.5.0/lib/fastlane/fast_file.rb:80:in `method_missing'
from (eval):42:in `block (2 levels) in parse'
from /Users/hornet/.rvm/gems/ruby-2.1.5/gems/fastlane-0.5.0/lib/fastlane/runner.rb:19:in `call'
from /Users/hornet/.rvm/gems/ruby-2.1.5/gems/fastlane-0.5.0/lib/fastlane/runner.rb:19:in `block in execute'
from /Users/hornet/.rvm/gems/ruby-2.1.5/gems/fastlane-0.5.0/lib/fastlane/runner.rb:13:in `chdir'
from /Users/hornet/.rvm/gems/ruby-2.1.5/gems/fastlane-0.5.0/lib/fastlane/runner.rb:13:in `execute'
from /Users/hornet/.rvm/gems/ruby-2.1.5/gems/fastlane-0.5.0/lib/fastlane/lane_manager.rb:29:in `block in cruise_lanes'
from /Users/hornet/.rvm/gems/ruby-2.1.5/gems/fastlane-0.5.0/lib/fastlane/lane_manager.rb:28:in `each'
from /Users/hornet/.rvm/gems/ruby-2.1.5/gems/fastlane-0.5.0/lib/fastlane/lane_manager.rb:28:in `cruise_lanes'
from /Users/hornet/.rvm/gems/ruby-2.1.5/gems/fastlane-0.5.0/bin/fastlane:32:in `block (2 levels) in run'
from /Users/hornet/.rvm/gems/ruby-2.1.5/gems/commander-4.3.0/lib/commander/command.rb:179:in `call'
from /Users/hornet/.rvm/gems/ruby-2.1.5/gems/commander-4.3.0/lib/commander/command.rb:179:in `call'
from /Users/hornet/.rvm/gems/ruby-2.1.5/gems/commander-4.3.0/lib/commander/command.rb:154:in `run'
from /Users/hornet/.rvm/gems/ruby-2.1.5/gems/commander-4.3.0/lib/commander/runner.rb:421:in `run_active_command'
from /Users/hornet/.rvm/gems/ruby-2.1.5/gems/commander-4.3.0/lib/commander/runner.rb:81:in `run!'
from /Users/hornet/.rvm/gems/ruby-2.1.5/gems/commander-4.3.0/lib/commander/delegates.rb:15:in `run!'
from /Users/hornet/.rvm/gems/ruby-2.1.5/gems/fastlane-0.5.0/bin/fastlane:60:in `run'
from /Users/hornet/.rvm/gems/ruby-2.1.5/gems/fastlane-0.5.0/bin/fastlane:64:in `<top (required)>'
from /Users/hornet/.rvm/gems/ruby-2.1.5/bin/fastlane:23:in `load'
from /Users/hornet/.rvm/gems/ruby-2.1.5/bin/fastlane:23:in `<main>'
from /Users/hornet/.rvm/gems/ruby-2.1.5/bin/ruby_executable_hooks:15:in `eval'
from /Users/hornet/.rvm/gems/ruby-2.1.5/bin/ruby_executable_hooks:15:in `<main>'
Thank you for helping me with this. I just installed the latest beta of Xcode and tried solving this bug. Please update using sudo gem update deliver --pre
and let me know if that works. Make sure you're running the .pre
version by running deliver -v
Thanks :+1:
Same problem.
➜ Logs git:(develop) ✗ deliver -v
deliver 0.9.0.pre2
➜ Logs git:(develop) ✗ fastlane beta
INFO [2015-04-03 13:41:45.49]: -------------------------------------------------
INFO [2015-04-03 13:41:45.49]: --- Step: Verifying required fastlane version ---
INFO [2015-04-03 13:41:45.49]: -------------------------------------------------
INFO [2015-04-03 13:41:45.49]: fastlane version valid
INFO [2015-04-03 13:41:45.49]: Driving the lane 'beta'
INFO [2015-04-03 13:41:45.49]: --------------------------
INFO [2015-04-03 13:41:45.49]: --- Step: xcode_select ---
INFO [2015-04-03 13:41:45.49]: --------------------------
INFO [2015-04-03 13:41:45.49]: Setting Xcode version to /Applications/Xcode-Beta 6.3.app for all build steps
INFO [2015-04-03 13:41:45.49]: -----------------
INFO [2015-04-03 13:41:45.49]: --- Step: ipa ---
INFO [2015-04-03 13:41:45.49]: -----------------
DEBUG [2015-04-03 13:41:45.49]: ipa build -c "Release" --archive "true"
INFO [2015-04-03 13:41:45.49]: [SHELL COMMAND]: ipa build -c "Release" --archive "true"
INFO [2015-04-03 13:41:48.77]: [SHELL OUTPUT]: xcodebuild Logs.xcworkspace
INFO [2015-04-03 13:41:48.77]: [SHELL OUTPUT]: xcodebuild -sdk iphoneos -workspace "Logs.xcworkspace" -scheme "Logs" -configuration "Release" clean build archive 1> /dev/null
INFO [2015-04-03 13:41:48.93]: [SHELL OUTPUT]: 2015-04-03 13:41:48.937 xcodebuild[1066:43240] [MT] PluginLoading: Required plug-in compatibility UUID 992275C1-432A-4CF7-B659-D84ED6D42D3F for plug-in at path '~/Library/Application Support/Developer/Shared/Xcode/Plug-ins/XToDo.xcplugin' not present in DVTPlugInCompatibilityUUIDs
INFO [2015-04-03 13:41:48.93]: [SHELL OUTPUT]: 2015-04-03 13:41:48.938 xcodebuild[1066:43240] [MT] PluginLoading: Required plug-in compatibility UUID 992275C1-432A-4CF7-B659-D84ED6D42D3F for plug-in at path '~/Library/Application Support/Developer/Shared/Xcode/Plug-ins/RevealPlugin.xcplugin' not present in DVTPlugInCompatibilityUUIDs
INFO [2015-04-03 13:41:48.93]: [SHELL OUTPUT]: 2015-04-03 13:41:48.938 xcodebuild[1066:43240] [MT] PluginLoading: Required plug-in compatibility UUID 992275C1-432A-4CF7-B659-D84ED6D42D3F for plug-in at path '~/Library/Application Support/Developer/Shared/Xcode/Plug-ins/OMColorSense.xcplugin' not present in DVTPlugInCompatibilityUUIDs
INFO [2015-04-03 13:41:48.96]: [SHELL OUTPUT]: 2015-04-03 13:41:48.961 xcodebuild[1066:43240] [MT] PluginLoading: Required plug-in compatibility UUID 992275C1-432A-4CF7-B659-D84ED6D42D3F for plug-in at path '~/Library/Application Support/Developer/Shared/Xcode/Plug-ins/BBUFullIssueNavigator.xcplugin' not present in DVTPlugInCompatibilityUUIDs
INFO [2015-04-03 13:41:49.20]: [SHELL OUTPUT]: 2015-04-03 13:41:49.206 xcodebuild[1066:43240] [MT] DVTAssertions: Warning in /SourceCache/IDEFrameworks/IDEFrameworks-7522.6/IDEFoundation/SourceControl/Model/IDESourceControlManager.m:423
INFO [2015-04-03 13:41:49.20]: [SHELL OUTPUT]: Details: Error Domain=com.apple.dt.IDESourceControlErrorDomain Code=-1 "Missing extension: public.vcs.subversion" UserInfo=0x7f8ac24de150 {NSLocalizedDescription=Missing extension: public.vcs.subversion}
INFO [2015-04-03 13:41:49.20]: [SHELL OUTPUT]: Object: <IDESourceControlManager: 0x7f8ac5117b50>
INFO [2015-04-03 13:41:49.20]: [SHELL OUTPUT]: Method: -loadRepositories
INFO [2015-04-03 13:41:49.20]: [SHELL OUTPUT]: Thread: <NSThread: 0x7f8ac2015110>{number = 1, name = main}
INFO [2015-04-03 13:41:49.20]: [SHELL OUTPUT]: Please file a bug at http://bugreport.apple.com with this warning message and any useful information you can provide.
INFO [2015-04-03 13:42:23.85]: [SHELL OUTPUT]: xcrun PackageApplication
INFO [2015-04-03 13:42:24.94]: [SHELL OUTPUT]: zip /Users/hornet/Projects/Fousa/Logs/Logs.app.dSYM
INFO [2015-04-03 13:42:25.10]: [SHELL OUTPUT]: Successfully built:
INFO [2015-04-03 13:42:25.10]: [SHELL OUTPUT]: /Users/hornet/Projects/Fousa/Logs/Logs.ipa
INFO [2015-04-03 13:42:25.11]: ---------------------
INFO [2015-04-03 13:42:25.11]: --- Step: deliver ---
INFO [2015-04-03 13:42:25.11]: ---------------------
INFO [2015-04-03 13:42:34.56]: Got all information needed to deploy a new update ('1.0.0') for app 'be.fousa.logs.ios'
INFO [2015-04-03 13:42:34.56]: Uploading ipa file to iTunesConnect
INFO [2015-04-03 13:42:34.65]: Going to upload updated app to iTunesConnect
INFO [2015-04-03 13:42:34.65]: This might take a few minutes, please don't interrupt the script
INFO [2015-04-03 13:42:34.66]: ------------------------------------------------------------------------------------------------------
INFO [2015-04-03 13:42:34.66]: Successfully uploaded package to iTunesConnect. It might take a few minutes until it's visible online.
INFO [2015-04-03 13:42:34.66]: ------------------------------------------------------------------------------------------------------
INFO [2015-04-03 13:42:34.66]: Distributing the latest build to Beta Testers.
INFO [2015-04-03 13:42:35.84]: Logging into iTunesConnect
INFO [2015-04-03 13:42:46.34]: Successfully logged into iTunesConnect
INFO [2015-04-03 13:42:46.64]: Opening detail page for app 979188540 - be.fousa.logs.ios
INFO [2015-04-03 13:42:57.37]: Choosing the latest build on iTunesConnect for beta distribution
INFO [2015-04-03 13:42:58.98]: Variable Dump:
INFO [2015-04-03 13:42:58.98]: {:ENVIRONMENT=>nil, :LANE_NAME=>:beta, :IPA_OUTPUT_PATH=>"/Users/hornet/Projects/Fousa/Logs/Logs.ipa", :DSYM_OUTPUT_PATH=>"/Users/hornet/Projects/Fousa/Logs/Logs.app.dSYM.zip"}
FATAL [2015-04-03 13:42:58.98]: undefined method `[]' for nil:NilClass
FATAL [2015-04-03 13:42:58.98]: fastlane finished with errors
/Users/hornet/.rvm/gems/ruby-2.1.5/gems/deliver-0.9.0.pre2/lib/deliver/itunes_connect/itunes_connect_submission.rb:43:in `block in put_build_into_beta_testing!': undefined method `[]' for nil:NilClass (NoMethodError)
from /Users/hornet/.rvm/gems/ruby-2.1.5/gems/deliver-0.9.0.pre2/lib/deliver/itunes_connect/itunes_connect_submission.rb:26:in `loop'
from /Users/hornet/.rvm/gems/ruby-2.1.5/gems/deliver-0.9.0.pre2/lib/deliver/itunes_connect/itunes_connect_submission.rb:26:in `put_build_into_beta_testing!'
from /Users/hornet/.rvm/gems/ruby-2.1.5/gems/deliver-0.9.0.pre2/lib/deliver/ipa_uploader.rb:101:in `publish_beta_build'
from /Users/hornet/.rvm/gems/ruby-2.1.5/gems/deliver-0.9.0.pre2/lib/deliver/ipa_uploader.rb:93:in `publish_on_itunes_connect'
from /Users/hornet/.rvm/gems/ruby-2.1.5/gems/deliver-0.9.0.pre2/lib/deliver/ipa_uploader.rb:77:in `upload!'
from /Users/hornet/.rvm/gems/ruby-2.1.5/gems/deliver-0.9.0.pre2/lib/deliver/deliver_process.rb:296:in `trigger_ipa_upload'
from /Users/hornet/.rvm/gems/ruby-2.1.5/gems/deliver-0.9.0.pre2/lib/deliver/deliver_process.rb:55:in `run'
from /Users/hornet/.rvm/gems/ruby-2.1.5/gems/deliver-0.9.0.pre2/lib/deliver/deliverer.rb:132:in `finished_executing_deliver_file'
from /Users/hornet/.rvm/gems/ruby-2.1.5/gems/deliver-0.9.0.pre2/lib/deliver/deliverfile/deliverfile.rb:31:in `initialize'
from /Users/hornet/.rvm/gems/ruby-2.1.5/gems/deliver-0.9.0.pre2/lib/deliver/deliverer.rb:84:in `new'
from /Users/hornet/.rvm/gems/ruby-2.1.5/gems/deliver-0.9.0.pre2/lib/deliver/deliverer.rb:84:in `initialize'
from /Users/hornet/.rvm/gems/ruby-2.1.5/gems/fastlane-0.5.0/lib/fastlane/actions/deliver.rb:18:in `new'
from /Users/hornet/.rvm/gems/ruby-2.1.5/gems/fastlane-0.5.0/lib/fastlane/actions/deliver.rb:18:in `block in run'
from /Users/hornet/.rvm/gems/ruby-2.1.5/gems/fastlane-0.5.0/lib/fastlane/actions/deliver.rb:16:in `chdir'
from /Users/hornet/.rvm/gems/ruby-2.1.5/gems/fastlane-0.5.0/lib/fastlane/actions/deliver.rb:16:in `run'
from /Users/hornet/.rvm/gems/ruby-2.1.5/gems/fastlane-0.5.0/lib/fastlane/fast_file.rb:82:in `block (2 levels) in method_missing'
from /Users/hornet/.rvm/gems/ruby-2.1.5/gems/fastlane-0.5.0/lib/fastlane/actions/actions_helper.rb:29:in `execute_action'
from /Users/hornet/.rvm/gems/ruby-2.1.5/gems/fastlane-0.5.0/lib/fastlane/fast_file.rb:81:in `block in method_missing'
from /Users/hornet/.rvm/gems/ruby-2.1.5/gems/fastlane-0.5.0/lib/fastlane/fast_file.rb:80:in `chdir'
from /Users/hornet/.rvm/gems/ruby-2.1.5/gems/fastlane-0.5.0/lib/fastlane/fast_file.rb:80:in `method_missing'
from (eval):42:in `block (2 levels) in parse'
from /Users/hornet/.rvm/gems/ruby-2.1.5/gems/fastlane-0.5.0/lib/fastlane/runner.rb:19:in `call'
from /Users/hornet/.rvm/gems/ruby-2.1.5/gems/fastlane-0.5.0/lib/fastlane/runner.rb:19:in `block in execute'
from /Users/hornet/.rvm/gems/ruby-2.1.5/gems/fastlane-0.5.0/lib/fastlane/runner.rb:13:in `chdir'
from /Users/hornet/.rvm/gems/ruby-2.1.5/gems/fastlane-0.5.0/lib/fastlane/runner.rb:13:in `execute'
from /Users/hornet/.rvm/gems/ruby-2.1.5/gems/fastlane-0.5.0/lib/fastlane/lane_manager.rb:29:in `block in cruise_lanes'
from /Users/hornet/.rvm/gems/ruby-2.1.5/gems/fastlane-0.5.0/lib/fastlane/lane_manager.rb:28:in `each'
from /Users/hornet/.rvm/gems/ruby-2.1.5/gems/fastlane-0.5.0/lib/fastlane/lane_manager.rb:28:in `cruise_lanes'
from /Users/hornet/.rvm/gems/ruby-2.1.5/gems/fastlane-0.5.0/bin/fastlane:32:in `block (2 levels) in run'
from /Users/hornet/.rvm/gems/ruby-2.1.5/gems/commander-4.3.0/lib/commander/command.rb:179:in `call'
from /Users/hornet/.rvm/gems/ruby-2.1.5/gems/commander-4.3.0/lib/commander/command.rb:179:in `call'
from /Users/hornet/.rvm/gems/ruby-2.1.5/gems/commander-4.3.0/lib/commander/command.rb:154:in `run'
from /Users/hornet/.rvm/gems/ruby-2.1.5/gems/commander-4.3.0/lib/commander/runner.rb:421:in `run_active_command'
from /Users/hornet/.rvm/gems/ruby-2.1.5/gems/commander-4.3.0/lib/commander/runner.rb:81:in `run!'
from /Users/hornet/.rvm/gems/ruby-2.1.5/gems/commander-4.3.0/lib/commander/delegates.rb:15:in `run!'
from /Users/hornet/.rvm/gems/ruby-2.1.5/gems/fastlane-0.5.0/bin/fastlane:60:in `run'
from /Users/hornet/.rvm/gems/ruby-2.1.5/gems/fastlane-0.5.0/bin/fastlane:64:in `<top (required)>'
from /Users/hornet/.rvm/gems/ruby-2.1.5/bin/fastlane:23:in `load'
from /Users/hornet/.rvm/gems/ruby-2.1.5/bin/fastlane:23:in `<main>'
from /Users/hornet/.rvm/gems/ruby-2.1.5/bin/ruby_executable_hooks:15:in `eval'
from /Users/hornet/.rvm/gems/ruby-2.1.5/bin/ruby_executable_hooks:15:in `<main>'
Wow, I don't understand this, it's working fine for me.
Could you please run
irb
require 'fastlane_core'
FastlaneCore::Helper.transporter_path
What's the output?
Here is is:
=> "/Applications/Xcode.app/Contents/Developer/../Applications/Application Loader.app/Contents/MacOS/itms/bin/iTMSTransporter"
Okay, When manually switching the command line tools before entering the command gives me this path:
=> "/Applications/Xcode-Beta 6.3.app/Contents/Developer/../Applications/Application Loader.app/Contents/itms/bin/iTMSTransporter"
Can you update sudo gem update fastlane_core
and let me know if that helps somehow?
Still the same.
I tried to do some debugging. The following line in the itunes_connect_submission.rb file:
trains = JSON.parse(Excon.get(trains_url, headers: { "Cookie" => cookie_string } ).body)
always returns this:
{"data"=>{"sectionErrorKeys"=>[], "sectionInfoKeys"=>[], "sectionWarningKeys"=>[], "trains"=>[], "processingBuilds"=>[], "currentTestingApps"=>0, "maxTestingApps"=>10, "isBetaDataAvailable"=>true}, "messages"=>{"error"=>nil, "info"=>nil, "warn"=>nil}, "statusCode"=>"SUCCESS"}
Is this of any help? I'm very familiar with Ruby, so if I have to add some manual logging, let me kno!
It seems like for some reason, the ipa
file isn't even uploaded. I published a new version of deliver
yesterday, but I don't know if that solves your issue.
If you want to help me debugging, open itunes_transporter.rb
in deliver
on line 84 after the command =
and add a puts command
.
To run the local version of deliver, just use ./bin/deliver
instead of only deliver
.
You'll see the generated transporter command, which you can then manually execute.
The command outputted is this one:
➜ Logs git:(develop) ✗ /Applications/Xcode-Beta 6.3.app/Contents/Developer/../Applications/Application Loader.app/Contents/itms/bin/iTMSTransporter -m upload -u 'USERNAME' -p 'PASSWORD' -f '/tmp//9732488540.itmsp' -t 'Signiant' -k 100000
But when I try to execute this, it appears that the tmp file doesn't exist... Can I change the tmp directory for debugging purpose? Here is the logging:
[2015-04-07 11:03:09 CEST] <main> INFO: Transporter is skipping bundle update check: Already checked recently.
[2015-04-07 11:03:09 CEST] <main> INFO: Logging configured successfully.
[2015-04-07 11:03:09 CEST] <main> DEBUG: Attempting refresh of configuration data from https://contentdelivery.itunes.apple.com/transporter/Defaults.properties
[2015-04-07 11:03:10 CEST] <main> DEBUG: Configuration refresh successful.
[2015-04-07 11:03:10 CEST] <main> DEBUG: Saving configuration to local path: /Users/hornet/.itmstransporter/Defaults.properties
[2015-04-07 11:03:10 CEST] <main> INFO: iTMSTransporter : iTunes Store Transporter [1.8.3]
[2015-04-07 11:03:10 CEST] <main> INFO: OS identifier: Mac OS X 10.10.2 (x86_64); jvm=24.0-b26; jre=1.7.0-internal-root_2014_11_22_10_57-b00
[2015-04-07 11:03:10 CEST] <main> INFO: Memory: [JVM] 20M free, 31M total, 989M max [System] (Physical) 406M free, 8192M total (Swap) 917M free, 1024M total
[2015-04-07 11:03:10 CEST] <main> ERROR: Path specified for argument -f (/tmp/979188540.itmsp) is invalid.
[2015-04-07 11:03:10 CEST] <main> DEBUG: full path: /tmp/979188540.itmsp
[2015-04-07 11:03:10 CEST] <main> DBG-X: Returning 1
Oh wow, why isn't that displayed when you run it in deliver
? You didn't see any output there, right?
Just create the /tmp
directory and let me know if that works for you.
Okay, it's unclear to me, why the output wasn't displayed for you:
DEBUG [2015-04-07 11:14:17.43]: [Transporter Output]: INFO: Transporter is skipping bundle update check: Already checked recently.
ERROR [2015-04-07 11:14:17.51]: [Transporter Error Output]: The specified directory, /invalid does not exist and could not be created.
ERROR [2015-04-07 11:14:17.51]: [Transporter Error Output]: The specified destination directory is not valid.
ERROR [2015-04-07 11:14:17.57]: The specified directory, /invalid, does not exist and could not be created.
I already asked you if you specified to hide the transporter output, right?
I'm running it with the fastlane command. And currently I'm modifying the gem's source.
The /tmp already exists, but the itmsp is never added.
Wups, sorry, I meant to put the puts
to the download
command, not the upload
one. Please share the command of the download
command and the results when running this command.
It looks like your final version of deliver gives me some proper error information.
Looks like I can't submit with the Xcode beta version. Too bad my current application is running on swift 1.2...
Return status of iTunes Transporter was 1: ERROR ITMS-90209: "Invalid Segment Alignment. The app binary at 'Logs.app/Frameworks/libswiftCore.dylib' does not have proper segment alignment. Try rebuildin\nERROR ITMS-90209: "Invalid Segment Alignment. The app binary at 'Logs.app/Frameworks/libswiftCoreGraphics.dylib' does not have proper segment alignment. Try rebuilding the app with the latest Xcode v\nERROR ITMS-90209: "Invalid Segment Alignment. The app binary at 'Logs.app/Frameworks/libswiftCoreImage.dylib' does not have proper segment alignment. Try rebuilding the app with the latest Xcode vers\nERROR ITMS-90209: "Invalid Segment Alignment. The app binary at 'Logs.app/Frameworks/libswiftDarwin.dylib' does not have proper segment alignment. Try rebuilding the app with the latest Xcode version\nERROR ITMS-90209: "Invalid Segment Alignment. The app binary at 'Logs.app/Frameworks/libswiftDispatch.dylib' does not have proper segment alignment. Try rebuilding the app with the latest Xcode versi\nERROR ITMS-90209: "Invalid Segment Alignment. The app binary at 'Logs.app/Frameworks/libswiftFoundation.dylib' does not have proper segment alignment. Try rebuilding the app with the latest Xcode ver\nERROR ITMS-90209: "Invalid Segment Alignment. The app binary at 'Logs.app/Frameworks/libswiftObjectiveC.dylib' does not have proper segment alignment. Try rebuilding the app with the latest Xcode ver\nERROR ITMS-90209: "Invalid Segment Alignment. The app binary at 'Logs.app/Frameworks/libswiftSecurity.dylib' does not have proper segment alignment. Try rebuilding the app with the latest Xcode versi\nERROR ITMS-90209: "Invalid Segment Alignment. The app binary at 'Logs.app/Frameworks/libswiftUIKit.dylib' does not have proper segment alignment. Try rebuilding the app with the latest Xcode version.\nERROR ITMS-90209: "Invalid Segment Alignment. The app binary at 'SwiftSupport/libswiftCoreGraphics.dylib' does not have proper segment alignment. Try rebuilding the app with the latest Xcode version.\nERROR ITMS-90209: "Invalid Segment Alignment. The app binary at 'SwiftSupport/libswiftUIKit.dylib' does not have proper segment alignment. Try rebuilding the app with the latest Xcode version."n."."
INFO [2015-04-07 16:06:16.24]: Variable Dump:
INFO [2015-04-07 16:06:16.24]: {:ENVIRONMENT=>nil, :LANE_NAME=>:beta, :IPA_OUTPUT_PATH=>"/Users/hornet/Projects/Fousa/Logs/Logs.ipa", :DSYM_OUTPUT_PATH=>"/Users/hornet/Projects/Fousa/Logs/Logs.app.dSYM.zip"}
FATAL [2015-04-07 16:06:16.24]: Error uploading ipa file
FATAL [2015-04-07 16:06:16.24]: fastlane finished with errors
/Users/hornet/.rvm/gems/ruby-2.1.5/gems/deliver-0.8.3/lib/deliver/deliver_process.rb:297:in `trigger_ipa_upload': Error uploading ipa file (RuntimeError)
Okay great, so the problem was you're using a beta version of Xcode and deliver
wasn't correctly displaying the error message, which is now fixed, right?
Yes!
Thank you for all the help!
This issue was migrated to https://github.com/fastlane/fastlane/issues/2352. Please post all further comments there.
fastlane
is now a mono repo, you can read more about the change in our blog post. All tools are now available in the fastlane main repo :rocket:
Hi Felix,
You asked to submit an new issue when the uploading problem persisted. So here it is. I updated to the latest version of both fastlane (v0.4.2) and deliver (v0.8.2).
When I run the following command I get a stacktrace and a screenshot of an empty iTunes Connect page. After waiting for a few minutes, I still can't locate the build online. The logging says that the upload was successful. But unfortunately it's not.
I already uploaded builds with deliver with success. But this time it's for a new app without any builds online.
Here is the stacktrace:
Here is the content of the Fastfile:
And here is is the Deliverfile:
Any idea what is happening?