2016-03-01 63 views
2

我目前正在使用与travis-ci中的fastlane一起试点,一切工作正常,我的构建被上传到TestFlight并发布到内部测试人员,因为它应该。试点失败,即使它完成上传构建

但我不明白的是,fastlane完成退出代码1,并说:“你必须提供这个问题的答案”,甚至没有问什么。

这是奇怪的输出:

[12:29:40]: Successfully finished processing the build 
[12:29:40]: You can now tweet: 
[12:29:40]: iTunes Connect #iosprocessingtime 15 minutes 
[12:29:40]: Distributing new build to testers 
[12:29:43]: Variable Dump: 
[12:29:43]: {:DEFAULT_PLATFORM=>:ios, :PLATFORM_NAME=>:ios, :LANE_NAME=>"ios beta_ci", :SIGH_PROFILE_TYPE=>"app-store", :LATEST_TESTFLIGHT_BUILD_NUMBER=>3, :BUILD_NUMBER=>"4", :IPA_OUTPUT_PATH=>"/Users/travis/build/KWStudios/Walk-iOS/Pods.ipa", :DSYM_OUTPUT_PATH=>"/Users/travis/build/KWStudios/Walk-iOS/Pods.app.dSYM.zip", :XCODEBUILD_ARCHIVE=>"/Users/travis/Library/Developer/Xcode/Archives/2016-03-01/Pods 2016-03-01 12.06.19.xcarchive"} 
[12:29:43]: You must provide an answer for this question. 
+------+-------------------------------------+-------------+ 
|      fastlane summary      | 
+------+-------------------------------------+-------------+ 
| Step | Action        | Time (in s) | 
+------+-------------------------------------+-------------+ 
| 1 | Verifying required fastlane version | 0   | 
| 2 | default_platform     | 0   | 
| 3 | cocoapods       | 110   | 
| 4 | match        | 27   | 
| 5 | match        | 4   | 
| 6 | latest_testflight_build_number  | 8   | 
| 7 | increment_build_number    | 2   | 
| 8 | gym         | 413   | 
| 9 | pilot        | 995   | 
+------+-------------------------------------+-------------+ 
[12:29:43]: fastlane finished with errors 
------------------------------------------------------------------------------------------- 
    An error occured. Please enable crash reports using `fastlane enable_crash_reporting`. 
    This makes resolving issues much easier and helps improve fastlane. 
    The reports will be stored securely on getsentry.com. 
    More information about privacy: https://github.com/fastlane/fastlane/releases/tag/1.33.3 
------------------------------------------------------------------------------------------- 
/Users/travis/.rvm/gems/[email protected]/gems/spaceship-0.21.1/lib/spaceship/tunes/tunes_client.rb:219:in `handle_itc_response': [!] You must provide an answer for this question. (Spaceship::TunesClient::ITunesConnectError) 
    from /Users/travis/.rvm/gems/[email protected]/gems/spaceship-0.21.1/lib/spaceship/tunes/tunes_client.rb:538:in `update_build_trains!' 
    from /Users/travis/.rvm/gems/[email protected]/gems/spaceship-0.21.1/lib/spaceship/tunes/build_train.rb:118:in `update_testing_status!' 
    from /Users/travis/.rvm/gems/[email protected]/gems/pilot-1.4.1/lib/pilot/build_manager.rb:124:in `distribute_build' 
    from /Users/travis/.rvm/gems/[email protected]/gems/pilot-1.4.1/lib/pilot/build_manager.rb:26:in `upload' 
    from /Users/travis/.rvm/gems/[email protected]/gems/fastlane-1.63.1/lib/fastlane/actions/pilot.rb:18:in `run' 
    from /Users/travis/.rvm/gems/[email protected]/gems/fastlane-1.63.1/lib/fastlane/runner.rb:143:in `block (2 levels) in execute_action' 
    from /Users/travis/.rvm/gems/[email protected]/gems/fastlane-1.63.1/lib/fastlane/actions/actions_helper.rb:35:in `execute_action' 
    from /Users/travis/.rvm/gems/[email protected]/gems/fastlane-1.63.1/lib/fastlane/runner.rb:129:in `block in execute_action' 
    from /Users/travis/.rvm/gems/[email protected]/gems/fastlane-1.63.1/lib/fastlane/runner.rb:128:in `chdir' 
    from /Users/travis/.rvm/gems/[email protected]/gems/fastlane-1.63.1/lib/fastlane/runner.rb:128:in `execute_action' 
    from /Users/travis/.rvm/gems/[email protected]/gems/fastlane-1.63.1/lib/fastlane/fast_file.rb:149:in `method_missing' 
    from Fastfile:68:in `block (2 levels) in parsing_binding' 
    from /Users/travis/.rvm/gems/[email protected]/gems/fastlane-1.63.1/lib/fastlane/lane.rb:36:in `call' 
    from /Users/travis/.rvm/gems/[email protected]/gems/fastlane-1.63.1/lib/fastlane/lane.rb:36:in `call' 
    from /Users/travis/.rvm/gems/[email protected]/gems/fastlane-1.63.1/lib/fastlane/runner.rb:52:in `block in execute' 
    from /Users/travis/.rvm/gems/[email protected]/gems/fastlane-1.63.1/lib/fastlane/runner.rb:46:in `chdir' 
    from /Users/travis/.rvm/gems/[email protected]/gems/fastlane-1.63.1/lib/fastlane/runner.rb:46:in `execute' 
    from /Users/travis/.rvm/gems/[email protected]/gems/fastlane-1.63.1/lib/fastlane/lane_manager.rb:46:in `cruise_lane' 
    from /Users/travis/.rvm/gems/[email protected]/gems/fastlane-1.63.1/lib/fastlane/command_line_handler.rb:30:in `handle' 
    from /Users/travis/.rvm/gems/[email protected]/gems/fastlane-1.63.1/bin/fastlane:38:in `block (2 levels) in run' 
    from /Users/travis/.rvm/gems/ruby-2.0.0-p643/gems/commander-4.3.5/lib/commander/command.rb:178:in `call' 
    from /Users/travis/.rvm/gems/ruby-2.0.0-p643/gems/commander-4.3.5/lib/commander/command.rb:178:in `call' 
    from /Users/travis/.rvm/gems/ruby-2.0.0-p643/gems/commander-4.3.5/lib/commander/command.rb:153:in `run' 
    from /Users/travis/.rvm/gems/ruby-2.0.0-p643/gems/commander-4.3.5/lib/commander/runner.rb:428:in `run_active_command' 
    from /Users/travis/.rvm/gems/[email protected]/gems/fastlane_core-0.36.9/lib/fastlane_core/ui/fastlane_runner.rb:23:in `run!' 
    from /Users/travis/.rvm/gems/ruby-2.0.0-p643/gems/commander-4.3.5/lib/commander/delegates.rb:15:in `run!' 
    from /Users/travis/.rvm/gems/[email protected]/gems/fastlane-1.63.1/bin/fastlane:156:in `run' 
    from /Users/travis/.rvm/gems/[email protected]/gems/fastlane-1.63.1/bin/fastlane:162:in `<top (required)>' 
    from /Users/travis/.rvm/gems/ruby-2.0.0-p643/bin/fastlane:23:in `load' 
    from /Users/travis/.rvm/gems/ruby-2.0.0-p643/bin/fastlane:23:in `<main>' 
    from /Users/travis/.rvm/gems/ruby-2.0.0-p643/bin/ruby_executable_hooks:15:in `eval' 
    from /Users/travis/.rvm/gems/ruby-2.0.0-p643/bin/ruby_executable_hooks:15:in `<main>' 
The command "fastlane beta_ci" exited with 1. 

有什么我可以为了防止特拉维斯从1而不是0退出呢?

回答

1

Apple在TestFlight发布过程中引入了新的步骤,该步骤需要对产品中加密可用性做出回答。为了确保这个问题不会中断自动释放流程,如果您不使用加密技术,应该将以下行添加到Info.plist中: <key>ITSAppUsesNonExemptEncryption</key> <false/>

相关问题