Closed chauvincent closed 7 years ago
Remove the spaces from the file name. It looks like yours is ../Mighty Networks.ipa, so just change it to MightyNetworks.ipa or something else. I ran into the same issue, even though I have been uploading apps with spaces prior to today. I guess Apple decided to start enforcing that rule.
This is not a change by Apple but a regression of fastlane. Here is the change which has caused this: https://github.com/fastlane/fastlane/pull/10248
Adding the original name for the uploaded ipa causes the following transporter error if the file name contains spaces:
ERROR ITMS-3000: "Line 7 column 111: character content of element "file_name" invalid; must be a
string matching the regular expression "[^/: ]+" at XPath
/package/software_assets/asset/data_file/file_name"
I think the spaces should be replaced with underscore.
My ipa file has a space in it "XYZ abc.ipa", so it is failing after updating fastlane to 2.57.0+. Right now the workaround is to replace the file name to "XYZ_abc.ipa" and run deliver/pilot again.
I think this needs to be fixed since it is a regression.
I have same issue, because having a space between my app name. @@ facing issue after updating to 2.57.0 versioin too
Same problem here after updating to 2.57.1. I still have it with 2.57.2. Temporarily fixed it by adding an underscore instead of the space before using deliver.
Sorry everyone, I really thought we already fixed this, to be sure it's fixed, we're gonna roll back the changes since the last release with https://github.com/fastlane/fastlane/pull/10376 and push a hotfix. Sorry for the troubles
Alright, just pushed a new release which fixes the problem. Again, sorry for introducing the issue in the first place, this should be fixed now š
New Issue Checklist
Issue Description
Complete output when running fastlane, including the stack trace and command used
Environment
Please run
fastlane env
and copy the output below. This will help us help you :+1: If you used--capture_output
option please remove this block - as it is already included there.ā fastlane environment ā
### Stack | Key | Value | | --------------------------- | ------------------------------------------- | | OS | 10.12.6 | | Ruby | 2.2.4 | | Bundler? | false | | Git | git version 2.11.0 (Apple Git-81) | | Installation Source | ~/.fastlane/bin/bundle/bin/fastlane | | Host | Mac OS X 10.12.6 (16G29) | | Ruby Lib Dir | ~/.fastlane/bin/bundle/lib | | OpenSSL Version | OpenSSL 1.0.2g 1 Mar 2016 | | Is contained | false | | Is homebrew | true | | Is installed via Fabric.app | false | | Xcode Path | /Applications/Xcode.app/Contents/Developer/ | | Xcode Version | 8.3.3 | ### System Locale | Variable | Value | | | -------- | ----------- | - | | LANG | en_US.UTF-8 | ā | | LC_ALL | en_US.UTF-8 | ā | | LANGUAGE | en_US.UTF-8 | ā | ### fastlane files:`./fastlane/Fastfile`
```ruby # Fastlane Constants fastlane_version "1.54.0" default_platform :ios platform :ios do desc "Send apps to Testflight based off the Manifest.json. Assumes apps were succesfully built." lane :upload_to_testflight do puts 'Uploading apps to Testflight' puts '' loop_manifest_apps do |app_data| app_long_name = app_data['localized_metadata']['Base']['long_name'] puts "Uploading #{app_long_name} to Testflight" # Send to TestFlight testflight( app_identifier: app_data["ios_bundle_id"], ipa: "#{build_directory}/#{app_long_name}.ipa" ) puts '' end puts '' puts '' end end ````./fastlane/Appfile`
```ruby apple_id "XXXX@XXX.com" # Your Apple email address, please don't check in your own email itc_team_id "XXXX" ```Loaded gems
| Gem | Version | | ------------------------- | ------------ | | slack-notifier | 1.5.1 | | CFPropertyList | 2.3.5 | | claide | 1.0.2 | | colored2 | 3.1.2 | | nanaimo | 0.2.3 | | xcodeproj | 1.5.1 | | rouge | 1.11.1 | | xcpretty | 0.2.6 | | terminal-notifier | 1.7.1 | | unicode-display_width | 1.1.3 | | terminal-table | 1.7.3 | | plist | 3.2.0 | | public_suffix | 2.0.5 | | addressable | 2.5.1 | | multipart-post | 2.0.0 | | word_wrap | 1.0.0 | | tty-screen | 0.5.0 | | babosa | 1.0.2 | | colored | 1.2 | | highline | 1.7.8 | | commander-fastlane | 4.4.5 | | excon | 0.55.0 | | faraday | 0.12.1 | | unf_ext | 0.0.7.4 | | unf | 0.1.4 | | domain_name | 0.5.20170404 | | http-cookie | 1.0.3 | | faraday-cookie_jar | 0.0.6 | | fastimage | 2.1.0 | | gh_inspector | 1.0.3 | | json | 1.8.1 | | mini_magick | 4.5.1 | | multi_json | 1.12.1 | | multi_xml | 0.6.0 | | rubyzip | 1.2.1 | | security | 0.1.3 | | xcpretty-travis-formatter | 0.0.4 | | dotenv | 2.2.0 | | bundler | 1.14.6 | | faraday_middleware | 0.11.0.1 | | uber | 0.0.15 | | declarative | 0.0.9 | | declarative-option | 0.1.0 | | representable | 3.0.4 | | retriable | 2.1.0 | | mime-types-data | 3.2016.0521 | | mime-types | 3.1 | | little-plugger | 1.1.4 | | logging | 2.2.2 | | jwt | 1.5.6 | | memoist | 0.15.0 | | os | 0.9.6 | | signet | 0.7.3 | | googleauth | 0.5.1 | | httpclient | 2.8.3 | | google-api-client | 0.13.2 |