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/ruby-2.0.0-p643@global/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/ruby-2.0.0-p643@global/gems/spaceship-0.21.1/lib/spaceship/tunes/tunes_client.rb:538:in `update_build_trains!'
    from /Users/travis/.rvm/gems/ruby-2.0.0-p643@global/gems/spaceship-0.21.1/lib/spaceship/tunes/build_train.rb:118:in `update_testing_status!'
    from /Users/travis/.rvm/gems/ruby-2.0.0-p643@global/gems/pilot-1.4.1/lib/pilot/build_manager.rb:124:in `distribute_build'
    from /Users/travis/.rvm/gems/ruby-2.0.0-p643@global/gems/pilot-1.4.1/lib/pilot/build_manager.rb:26:in `upload'
    from /Users/travis/.rvm/gems/ruby-2.0.0-p643@global/gems/fastlane-1.63.1/lib/fastlane/actions/pilot.rb:18:in `run'
    from /Users/travis/.rvm/gems/ruby-2.0.0-p643@global/gems/fastlane-1.63.1/lib/fastlane/runner.rb:143:in `block (2 levels) in execute_action'
    from /Users/travis/.rvm/gems/ruby-2.0.0-p643@global/gems/fastlane-1.63.1/lib/fastlane/actions/actions_helper.rb:35:in `execute_action'
    from /Users/travis/.rvm/gems/ruby-2.0.0-p643@global/gems/fastlane-1.63.1/lib/fastlane/runner.rb:129:in `block in execute_action'
    from /Users/travis/.rvm/gems/ruby-2.0.0-p643@global/gems/fastlane-1.63.1/lib/fastlane/runner.rb:128:in `chdir'
    from /Users/travis/.rvm/gems/ruby-2.0.0-p643@global/gems/fastlane-1.63.1/lib/fastlane/runner.rb:128:in `execute_action'
    from /Users/travis/.rvm/gems/ruby-2.0.0-p643@global/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/ruby-2.0.0-p643@global/gems/fastlane-1.63.1/lib/fastlane/lane.rb:36:in `call'
    from /Users/travis/.rvm/gems/ruby-2.0.0-p643@global/gems/fastlane-1.63.1/lib/fastlane/lane.rb:36:in `call'
    from /Users/travis/.rvm/gems/ruby-2.0.0-p643@global/gems/fastlane-1.63.1/lib/fastlane/runner.rb:52:in `block in execute'
    from /Users/travis/.rvm/gems/ruby-2.0.0-p643@global/gems/fastlane-1.63.1/lib/fastlane/runner.rb:46:in `chdir'
    from /Users/travis/.rvm/gems/ruby-2.0.0-p643@global/gems/fastlane-1.63.1/lib/fastlane/runner.rb:46:in `execute'
    from /Users/travis/.rvm/gems/ruby-2.0.0-p643@global/gems/fastlane-1.63.1/lib/fastlane/lane_manager.rb:46:in `cruise_lane'
    from /Users/travis/.rvm/gems/ruby-2.0.0-p643@global/gems/fastlane-1.63.1/lib/fastlane/command_line_handler.rb:30:in `handle'
    from /Users/travis/.rvm/gems/ruby-2.0.0-p643@global/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/ruby-2.0.0-p643@global/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/ruby-2.0.0-p643@global/gems/fastlane-1.63.1/bin/fastlane:156:in `run'
    from /Users/travis/.rvm/gems/ruby-2.0.0-p643@global/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.

travis が 0 ではなく 1 で終了するのを防ぐためにできることはありますか?

4

1 に答える 1

1

Apple は、TestFlight リリース プロセスに新しいステップを導入しました。これには、製品での暗号化の可用性に対する回答が必要です。Info.plist暗号化を使用しない場合に備え て、この質問によって自動リリース フローが中断されないようにするには、次の行を追加する必要があります。 <key>ITSAppUsesNonExemptEncryption</key> <false/>

于 2016-03-03T01:07:51.113 に答える