Uploaded image for project: 'Nuxeo Mobile'
  1. Nuxeo Mobile
  2. NXMOB-575

iOS production build fails with "\xC3" on US-ASCII

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: iOS 1.20.0
    • Component/s: Delivery, iOS

      Description

      See https://qa.nuxeo.org/jenkins/job/Private/job/Mobile/job/nuxeo-mobile-ios-production/36/console

      19:00:03 [20:00:03]: WARNING: fastlane requires your locale to be set to UTF-8. To learn more go to https://docs.fastlane.tools/getting-started/ios/setup/#set-up-environment-variables
      

      then

      19:00:15 [20:00:15]: Loading './fastlane/metadata/ios/de-DE/release_notes.txt'...
      19:00:15 [20:00:15]: Loading './fastlane/metadata/ios/en-US/release_notes.txt'...
      19:00:15 [20:00:15]: Loading './fastlane/metadata/ios/es-ES/release_notes.txt'...
      19:00:15 [20:00:15]: Loading './fastlane/metadata/ios/fr-FR/release_notes.txt'...
      19:00:15 [20:00:15]: Loading './fastlane/metadata/ios/it/release_notes.txt'...
      19:00:15 [20:00:15]: Loading './fastlane/metadata/ios/ja/release_notes.txt'...
      19:00:15 [20:00:15]: Loading './fastlane/metadata/ios/nl-NL/release_notes.txt'...
      19:00:15 [20:00:15]: Loading './fastlane/metadata/ios/sv/release_notes.txt'...
      19:00:20 [20:00:19]: Activating languages de-DE, en-US, es-ES, fr-FR, it, ja, nl-NL, sv...
      19:00:26 [20:00:25]: Uploading metadata to App Store Connect
      19:00:26 +------------------+----------------+
      19:00:26 |           Lane Context            |
      19:00:26 +------------------+----------------+
      19:00:26 | DEFAULT_PLATFORM | ios            |
      19:00:26 | PLATFORM_NAME    | ios            |
      19:00:26 | LANE_NAME        | ios production |
      19:00:26 | VERSION_NUMBER   | 1.20.0         |
      19:00:26 +------------------+----------------+
      19:00:26 [20:00:25]: "\xC3" on US-ASCII
      19:00:26 
      19:00:26 +------+----------------------------+-------------+
      19:00:26 |                fastlane summary                 |
      19:00:26 +------+----------------------------+-------------+
      19:00:26 | Step | Action                     | Time (in s) |
      19:00:26 +------+----------------------------+-------------+
      19:00:26 | 1    | update_fastlane            | 2           |
      19:00:26 | 2    | Verifying fastlane version | 0           |
      19:00:26 | 3    | default_platform           | 0           |
      19:00:26 | 4    | unlock_keychain            | 0           |
      19:00:26 | 5    | get_version_number         | 0           |
      19:00:26 | 💥   | deliver                    | 19          |
      19:00:26 +------+----------------------------+-------------+
      19:00:26 
      19:00:26 [20:00:25]: fastlane finished with errors
      19:00:26 
      19:00:26 Looking for related GitHub issues on fastlane/fastlane...
      19:00:26 
      19:00:26 ➡️  Deliver failed to read accented characters ("\xC3" on US-ASCII)
      19:00:26     https://github.com/fastlane/fastlane/issues/6688 [closed] 10 💬
      19:00:26     05 Jun 2017
      19:00:26 
      19:00:26 ➡️  using supply with ant
      19:00:26     https://github.com/fastlane/fastlane/issues/1968 [closed] 2 💬
      19:00:26     12 Nov 2016
      19:00:26 
      19:00:26 ➡️  Error with posting data with 0x00FA character
      19:00:26     https://github.com/fastlane/fastlane/issues/1967 [closed] 27 💬
      19:00:26     29 Sep 2016
      19:00:26 
      19:00:26 🔗  You can ⌘ + double-click on links to open them directly in your browser.
      19:00:26 [20:00:26]: WARNING: fastlane requires your locale to be set to UTF-8. To learn more go to https://docs.fastlane.tools/getting-started/ios/setup/#set-up-environment-variables
      19:00:26 /usr/local/lib/ruby/gems/2.5.0/gems/fastlane-2.108.0/spaceship/lib/spaceship/base.rb:66:in `encode': [!] "\xC3" on US-ASCII (Encoding::InvalidByteSequenceError)
      19:00:26 	from /usr/local/lib/ruby/gems/2.5.0/gems/fastlane-2.108.0/spaceship/lib/spaceship/base.rb:66:in `to_json'
      19:00:26 	from /usr/local/lib/ruby/gems/2.5.0/gems/fastlane-2.108.0/spaceship/lib/spaceship/base.rb:66:in `to_json'
      19:00:26 	from /usr/local/lib/ruby/gems/2.5.0/gems/fastlane-2.108.0/spaceship/lib/spaceship/tunes/tunes_client.rb:432:in `block (2 levels) in update_app_version!'
      19:00:26 	from /usr/local/lib/ruby/gems/2.5.0/gems/faraday-0.15.1/lib/faraday/connection.rb:384:in `block in run_request'
      19:00:26 	from /usr/local/lib/ruby/gems/2.5.0/gems/faraday-0.15.1/lib/faraday/connection.rb:398:in `block in build_request'
      19:00:26 	from /usr/local/lib/ruby/gems/2.5.0/gems/faraday-0.15.1/lib/faraday/request.rb:26:in `block in create'
      19:00:26 	from /usr/local/lib/ruby/gems/2.5.0/gems/faraday-0.15.1/lib/faraday/request.rb:25:in `tap'
      19:00:26 	from /usr/local/lib/ruby/gems/2.5.0/gems/faraday-0.15.1/lib/faraday/request.rb:25:in `create'
      19:00:26 	from /usr/local/lib/ruby/gems/2.5.0/gems/faraday-0.15.1/lib/faraday/connection.rb:394:in `build_request'
      19:00:26 	from /usr/local/lib/ruby/gems/2.5.0/gems/faraday-0.15.1/lib/faraday/connection.rb:379:in `run_request'
      19:00:26 	from /usr/local/lib/ruby/gems/2.5.0/gems/faraday-0.15.1/lib/faraday/connection.rb:175:in `post'
      19:00:26 	from /usr/local/lib/ruby/gems/2.5.0/gems/fastlane-2.108.0/spaceship/lib/spaceship/client.rb:701:in `block in send_request'
      19:00:26 	from /usr/local/lib/ruby/gems/2.5.0/gems/fastlane-2.108.0/spaceship/lib/spaceship/client.rb:533:in `with_retry'
      19:00:26 	from /usr/local/lib/ruby/gems/2.5.0/gems/fastlane-2.108.0/spaceship/lib/spaceship/client.rb:700:in `send_request'
      19:00:26 	from /usr/local/lib/ruby/gems/2.5.0/gems/fastlane-2.108.0/spaceship/lib/spaceship/client.rb:586:in `request'
      19:00:26 	from /usr/local/lib/ruby/gems/2.5.0/gems/fastlane-2.108.0/spaceship/lib/spaceship/tunes/tunes_client.rb:430:in `block in update_app_version!'
      19:00:26 	from /usr/local/lib/ruby/gems/2.5.0/gems/fastlane-2.108.0/spaceship/lib/spaceship/tunes/tunes_client.rb:1433:in `with_tunes_retry'
      19:00:26 	from /usr/local/lib/ruby/gems/2.5.0/gems/fastlane-2.108.0/spaceship/lib/spaceship/tunes/tunes_client.rb:429:in `update_app_version!'
      19:00:26 	from /usr/local/lib/ruby/gems/2.5.0/gems/fastlane-2.108.0/spaceship/lib/spaceship/tunes/app_version.rb:403:in `save!'
      19:00:26 	from /usr/local/lib/ruby/gems/2.5.0/gems/fastlane-2.108.0/deliver/lib/deliver/upload_metadata.rb:130:in `upload'
      19:00:26 	from /usr/local/lib/ruby/gems/2.5.0/gems/fastlane-2.108.0/deliver/lib/deliver/runner.rb:120:in `upload_metadata'
      19:00:26 	from /usr/local/lib/ruby/gems/2.5.0/gems/fastlane-2.108.0/deliver/lib/deliver/runner.rb:38:in `run'
      19:00:26 	from /usr/local/lib/ruby/gems/2.5.0/gems/fastlane-2.108.0/fastlane/lib/fastlane/actions/upload_to_app_store.rb:16:in `run'
      19:00:26 	from /usr/local/lib/ruby/gems/2.5.0/gems/fastlane-2.108.0/fastlane/lib/fastlane/runner.rb:253:in `block (2 levels) in execute_action'
      19:00:26 	from /usr/local/lib/ruby/gems/2.5.0/gems/fastlane-2.108.0/fastlane/lib/fastlane/actions/actions_helper.rb:50:in `execute_action'
      19:00:26 	from /usr/local/lib/ruby/gems/2.5.0/gems/fastlane-2.108.0/fastlane/lib/fastlane/runner.rb:232:in `block in execute_action'
      19:00:26 	from /usr/local/lib/ruby/gems/2.5.0/gems/fastlane-2.108.0/fastlane/lib/fastlane/runner.rb:227:in `chdir'
      19:00:26 	from /usr/local/lib/ruby/gems/2.5.0/gems/fastlane-2.108.0/fastlane/lib/fastlane/runner.rb:227:in `execute_action'
      19:00:26 	from /usr/local/lib/ruby/gems/2.5.0/gems/fastlane-2.108.0/fastlane/lib/fastlane/runner.rb:157:in `trigger_action_by_name'
      19:00:26 	from /usr/local/lib/ruby/gems/2.5.0/gems/fastlane-2.108.0/fastlane/lib/fastlane/fast_file.rb:149:in `method_missing'
      19:00:26 	from Fastfile:284:in `block (2 levels) in parsing_binding'
      19:00:26 	from /usr/local/lib/ruby/gems/2.5.0/gems/fastlane-2.108.0/fastlane/lib/fastlane/lane.rb:33:in `call'
      19:00:26 	from /usr/local/lib/ruby/gems/2.5.0/gems/fastlane-2.108.0/fastlane/lib/fastlane/runner.rb:49:in `block in execute'
      19:00:26 	from /usr/local/lib/ruby/gems/2.5.0/gems/fastlane-2.108.0/fastlane/lib/fastlane/runner.rb:45:in `chdir'
      19:00:26 	from /usr/local/lib/ruby/gems/2.5.0/gems/fastlane-2.108.0/fastlane/lib/fastlane/runner.rb:45:in `execute'
      19:00:26 	from /usr/local/lib/ruby/gems/2.5.0/gems/fastlane-2.108.0/fastlane/lib/fastlane/lane_manager.rb:56:in `cruise_lane'
      19:00:26 	from /usr/local/lib/ruby/gems/2.5.0/gems/fastlane-2.108.0/fastlane/lib/fastlane/command_line_handler.rb:36:in `handle'
      19:00:26 	from /usr/local/lib/ruby/gems/2.5.0/gems/fastlane-2.108.0/fastlane/lib/fastlane/commands_generator.rb:108:in `block (2 levels) in run'
      19:00:26 	from /usr/local/lib/ruby/gems/2.5.0/gems/commander-fastlane-4.4.6/lib/commander/command.rb:178:in `call'
      19:00:26 	from /usr/local/lib/ruby/gems/2.5.0/gems/commander-fastlane-4.4.6/lib/commander/command.rb:153:in `run'
      19:00:26 	from /usr/local/lib/ruby/gems/2.5.0/gems/commander-fastlane-4.4.6/lib/commander/runner.rb:476:in `run_active_command'
      19:00:26 	from /usr/local/lib/ruby/gems/2.5.0/gems/fastlane-2.108.0/fastlane_core/lib/fastlane_core/ui/fastlane_runner.rb:76:in `run!'
      19:00:26 	from /usr/local/lib/ruby/gems/2.5.0/gems/commander-fastlane-4.4.6/lib/commander/delegates.rb:15:in `run!'
      19:00:26 	from /usr/local/lib/ruby/gems/2.5.0/gems/fastlane-2.108.0/fastlane/lib/fastlane/commands_generator.rb:333:in `run'
      19:00:26 	from /usr/local/lib/ruby/gems/2.5.0/gems/fastlane-2.108.0/fastlane/lib/fastlane/commands_generator.rb:41:in `start'
      19:00:26 	from /usr/local/lib/ruby/gems/2.5.0/gems/fastlane-2.108.0/fastlane/lib/fastlane/cli_tools_distributor.rb:108:in `take_off'
      19:00:26 	from /usr/local/lib/ruby/gems/2.5.0/gems/fastlane-2.108.0/bin/fastlane:23:in `<top (required)>'
      19:00:26 	from /usr/local/bin/fastlane:23:in `load'
      19:00:26 	from /usr/local/bin/fastlane:23:in `<main>'
      19:00:26 error Command failed with exit code 1.
      

      ---------------------------------------
      Fixed by setting the locale environment variables as required by Fastlane, see https://docs.fastlane.tools/getting-started/ios/setup/#set-up-environment-variables.

        Attachments

          Activity

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Time Tracking

                Estimated:
                Original Estimate - 0 minutes
                0m
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 1 hour
                1h