Comments (9)
Ok, finally figured it out ... documentation on both fastlane and apple side is confusing.
Turns out there is nothing to do differently build-side for publishing an ios app to mac testflight.
All you have to do is upload the IPA just like for iPhone .... then go into TestFlight, select the group of testers and check a friggin' check box allowing testers to test your app on Apple Silicon macs.
Nice job as usual Apple .... release something cool then bury how to use it. You can get this info via Google but you really have to work at it searching for the right phrase.
Hope this helps others :P
from fastlane.
I experience the same issue ... note that is after using build_mac_app
lane :mac do
match(
type: "appstore",
git_url: "xxx.git"
)
build_mac_app(scheme: "XXXXX", clean: true)
changelog = File.read("./testflight-changelog.txt")
upload_to_testflight(
app_platform: "osx",
changelog: changelog,
distribute_external: false
)
end
stacktrace:
31: from /Users/dch/.rvm/gems/ruby-2.7.2/bin/fastlane:23:in `<main>'
30: from /Users/dch/.rvm/gems/ruby-2.7.2/bin/fastlane:23:in `load'
29: from /Users/dch/.rvm/gems/ruby-2.7.2/gems/fastlane-2.208.0/bin/fastlane:23:in `<top (required)>'
28: from /Users/dch/.rvm/gems/ruby-2.7.2/gems/fastlane-2.208.0/fastlane/lib/fastlane/cli_tools_distributor.rb:123:in `take_off'
27: from /Users/dch/.rvm/gems/ruby-2.7.2/gems/fastlane-2.208.0/fastlane/lib/fastlane/commands_generator.rb:43:in `start'
26: from /Users/dch/.rvm/gems/ruby-2.7.2/gems/fastlane-2.208.0/fastlane/lib/fastlane/commands_generator.rb:354:in `run'
25: from /Users/dch/.rvm/gems/ruby-2.7.2/gems/commander-4.6.0/lib/commander/delegates.rb:18:in `run!'
24: from /Users/dch/.rvm/gems/ruby-2.7.2/gems/fastlane-2.208.0/fastlane_core/lib/fastlane_core/ui/fastlane_runner.rb:124:in `run!'
23: from /Users/dch/.rvm/gems/ruby-2.7.2/gems/commander-4.6.0/lib/commander/runner.rb:444:in `run_active_command'
22: from /Users/dch/.rvm/gems/ruby-2.7.2/gems/commander-4.6.0/lib/commander/command.rb:157:in `run'
21: from /Users/dch/.rvm/gems/ruby-2.7.2/gems/commander-4.6.0/lib/commander/command.rb:187:in `call'
20: from /Users/dch/.rvm/gems/ruby-2.7.2/gems/fastlane-2.208.0/fastlane/lib/fastlane/commands_generator.rb:110:in `block (2 levels) in run'
19: from /Users/dch/.rvm/gems/ruby-2.7.2/gems/fastlane-2.208.0/fastlane/lib/fastlane/command_line_handler.rb:36:in `handle'
18: from /Users/dch/.rvm/gems/ruby-2.7.2/gems/fastlane-2.208.0/fastlane/lib/fastlane/lane_manager.rb:47:in `cruise_lane'
17: from /Users/dch/.rvm/gems/ruby-2.7.2/gems/fastlane-2.208.0/fastlane/lib/fastlane/runner.rb:45:in `execute'
16: from /Users/dch/.rvm/gems/ruby-2.7.2/gems/fastlane-2.208.0/fastlane/lib/fastlane/runner.rb:45:in `chdir'
15: from /Users/dch/.rvm/gems/ruby-2.7.2/gems/fastlane-2.208.0/fastlane/lib/fastlane/runner.rb:49:in `block in execute'
14: from /Users/dch/.rvm/gems/ruby-2.7.2/gems/fastlane-2.208.0/fastlane/lib/fastlane/lane.rb:33:in `call'
13: from Fastfile:38:in `block (2 levels) in parsing_binding'
12: from /Users/dch/.rvm/gems/ruby-2.7.2/gems/fastlane-2.208.0/fastlane/lib/fastlane/fast_file.rb:159:in `method_missing'
11: from /Users/dch/.rvm/gems/ruby-2.7.2/gems/fastlane-2.208.0/fastlane/lib/fastlane/runner.rb:157:in `trigger_action_by_name'
10: from /Users/dch/.rvm/gems/ruby-2.7.2/gems/fastlane-2.208.0/fastlane/lib/fastlane/runner.rb:229:in `execute_action'
9: from /Users/dch/.rvm/gems/ruby-2.7.2/gems/fastlane-2.208.0/fastlane/lib/fastlane/runner.rb:229:in `chdir'
8: from /Users/dch/.rvm/gems/ruby-2.7.2/gems/fastlane-2.208.0/fastlane/lib/fastlane/runner.rb:255:in `block in execute_action'
7: from /Users/dch/.rvm/gems/ruby-2.7.2/gems/fastlane-2.208.0/fastlane/lib/fastlane/actions/actions_helper.rb:69:in `execute_action'
6: from /Users/dch/.rvm/gems/ruby-2.7.2/gems/fastlane-2.208.0/fastlane/lib/fastlane/runner.rb:263:in `block (2 levels) in execute_action'
5: from /Users/dch/.rvm/gems/ruby-2.7.2/gems/fastlane-2.208.0/fastlane/lib/fastlane/actions/upload_to_testflight.rb:34:in `run'
4: from /Users/dch/.rvm/gems/ruby-2.7.2/gems/fastlane-2.208.0/pilot/lib/pilot/build_manager.rb:43:in `upload'
3: from /Users/dch/.rvm/gems/ruby-2.7.2/gems/fastlane-2.208.0/fastlane_core/lib/fastlane_core/pkg_upload_package_builder.rb:20:in `generate'
2: from /Users/dch/.rvm/gems/ruby-2.7.2/gems/fastlane-2.208.0/fastlane_core/lib/fastlane_core/pkg_upload_package_builder.rb:42:in `copy_pkg'
1: from /Users/dch/.rvm/gems/ruby-2.7.2/gems/fastlane-2.208.0/fastlane_core/lib/fastlane_core/pkg_upload_package_builder.rb:42:in `hexdigest'
/Users/dch/.rvm/gems/ruby-2.7.2/gems/fastlane-2.208.0/fastlane_core/lib/fastlane_core/pkg_upload_package_builder.rb:42:in `digest': \e[31m[!] no implicit conversion of nil into String\e[0m (TypeError)
fastlane environment:
Stack
Key | Value |
---|---|
OS | 12.4 |
Ruby | 2.7.2 |
Bundler? | false |
Git | git version 2.32.1 (Apple Git-133) |
Installation Source | ~/.rvm/gems/ruby-2.7.2/bin/fastlane |
Host | macOS 12.4 (21F79) |
Ruby Lib Dir | ~/.rvm/rubies/ruby-2.7.2/lib |
OpenSSL Version | OpenSSL 1.1.1o 3 May 2022 |
Is contained | false |
Is homebrew | false |
Is installed via Fabric.app | false |
Xcode Path | /Applications/Xcode.app/Contents/Developer/ |
Xcode Version | 13.4.1 |
Swift Version | 5.6.1 |
System Locale
Variable | Value | |
---|---|---|
LANG | en_US.UTF-8 | ✅ |
LC_ALL | en_US.UTF-8 | ✅ |
LANGUAGE |
fastlane files:
`./fastlane/Fastfile`
# This file contains the fastlane.tools configuration
# You can find the documentation at https://docs.fastlane.tools
#
# For a list of all available actions, check out
#
# https://docs.fastlane.tools/actions
#
# Uncomment the line if you want fastlane to automatically update itself
# update_fastlane
default_platform(:ios)
platform :ios do
desc "Submit a new Beta Build to Apple TestFlight"
desc "This will also make sure the profile is up to date"
lane :beta do
match(
type: "appstore",
git_url: "ssh://[email protected]:2022/leap-forward/the-garden-of-we/fastlane.git"
)
# increment_build_number(xcodeproj: "community.xcodeproj")
gym(
scheme: "community-release",
export_options: { compileBitcode: false}
) # Build your app - more options available
pilot
end
lane :mac do
# increment_build_number(xcodeproj: "XXXXX.xcodeproj")
match(
type: "appstore",
git_url: "ssh://[email protected]:2022/leap-forward/the-garden-of-we/fastlane.git"
)
build_mac_app(scheme: "community-release", clean: true)
changelog = File.read("./testflight-changelog.txt")
upload_to_testflight(
app_platform: "osx",
changelog: changelog,
distribute_external: false
)
end
desc "Deploy a new version to the App Store"
lane :release do
match(
type: "appstore",
git_url: "ssh://[email protected]:2022/leap-forward/the-garden-of-we/fastlane.git"
)
gym(scheme: "community-release") # Build your app - more options available
deliver(force: true)
end
end
`./fastlane/Appfile`
app_identifier 'us.leapforward.thegardenofwe' # The bundle identifier of your app
apple_id '[email protected]' # Your Apple email address
team_id 'J76M59GW7L' # Developer Portal Team ID
# For more information about the Appfile, see:
# https://docs.fastlane.tools/advanced/#appfile
fastlane gems
Gem | Version | Update-Status |
---|---|---|
fastlane | 2.208.0 | ✅ Up-To-Date |
Loaded fastlane plugins:
No plugins Loaded
Loaded gems
Gem | Version |
---|---|
did_you_mean | 1.4.0 |
rouge | 2.0.7 |
xcpretty | 0.3.0 |
terminal-notifier | 2.0.0 |
unicode-display_width | 1.8.0 |
terminal-table | 1.8.0 |
plist | 3.6.0 |
CFPropertyList | 3.0.5 |
addressable | 2.8.0 |
multipart-post | 2.0.0 |
word_wrap | 1.0.0 |
optparse | 0.1.1 |
tty-screen | 0.8.1 |
tty-cursor | 0.7.1 |
tty-spinner | 0.9.3 |
artifactory | 3.0.15 |
babosa | 1.0.4 |
colored | 1.2 |
highline | 2.0.3 |
commander | 4.6.0 |
faraday-em_http | 1.0.0 |
faraday-em_synchrony | 1.0.0 |
faraday-excon | 1.1.0 |
faraday-httpclient | 1.0.1 |
faraday-net_http | 1.0.1 |
faraday-net_http_persistent | 1.2.0 |
faraday-patron | 1.0.0 |
faraday-rack | 1.0.0 |
faraday-retry | 1.0.3 |
ruby2_keywords | 0.0.5 |
faraday | 1.10.0 |
faraday-cookie_jar | 0.0.7 |
faraday_middleware | 1.2.0 |
fastimage | 2.2.6 |
gh_inspector | 1.1.3 |
mini_magick | 4.11.0 |
naturally | 2.2.1 |
rubyzip | 2.3.2 |
security | 0.1.3 |
xcpretty-travis-formatter | 1.0.1 |
simctl | 1.6.8 |
emoji_regex | 3.2.3 |
uri | 0.10.0 |
rexml | 3.2.5 |
nanaimo | 0.3.0 |
colored2 | 3.1.2 |
claide | 1.1.0 |
atomos | 0.1.3 |
xcodeproj | 1.22.0 |
public_suffix | 4.0.7 |
excon | 0.92.4 |
faraday-multipart | 1.0.4 |
unf_ext | 0.0.8.2 |
unf | 0.1.4 |
domain_name | 0.5.20190701 |
http-cookie | 1.0.5 |
json | 2.6.2 |
dotenv | 2.8.1 |
bundler | 2.3.14 |
jwt | 2.4.1 |
webrick | 1.7.0 |
httpclient | 2.8.3 |
multi_json | 1.15.0 |
signet | 0.17.0 |
os | 1.1.4 |
memoist | 0.16.2 |
googleauth | 1.2.0 |
mini_mime | 1.1.2 |
retriable | 3.1.2 |
trailblazer-option | 0.1.2 |
declarative | 0.0.20 |
uber | 0.1.0 |
representable | 3.2.0 |
google-apis-core | 0.7.0 |
google-apis-playcustomapp_v1 | 0.10.0 |
google-apis-androidpublisher_v3 | 0.25.0 |
rake | 13.0.6 |
digest-crc | 0.6.4 |
google-apis-storage_v1 | 0.17.0 |
google-apis-iamcredentials_v1 | 0.13.0 |
google-cloud-errors | 1.2.0 |
google-cloud-env | 1.6.0 |
google-cloud-core | 1.6.0 |
google-cloud-storage | 1.38.0 |
aws-eventstream | 1.2.0 |
aws-sigv4 | 1.5.1 |
aws-partitions | 1.615.0 |
jmespath | 1.6.1 |
aws-sdk-core | 3.131.6 |
aws-sdk-kms | 1.58.0 |
aws-sdk-s3 | 1.114.0 |
forwardable | 1.3.1 |
logger | 1.4.2 |
cgi | 0.1.0 |
date | 3.0.0 |
timeout | 0.1.0 |
stringio | 0.1.0 |
ipaddr | 1.2.2 |
openssl | 2.1.2 |
zlib | 1.1.0 |
mutex_m | 0.1.0 |
ostruct | 0.2.0 |
strscan | 1.0.3 |
io-console | 0.5.6 |
delegate | 0.1.0 |
fileutils | 1.4.1 |
singleton | 0.1.0 |
open3 | 0.1.0 |
yaml | 0.1.0 |
psych | 3.1.0 |
from fastlane.
I'm facing a similar issue with:
upload_to_testflight(
apple_id: "<apple-id>",
skip_waiting_for_build_processing: true,
changelog: changelog,
api_key: {
"key_id": "<key-id>",
"issuer_id": "<issuer-id>",
"key": ENV["APPSTORE_CONNECT_API_KEY"]
}
)
Stacktrace
/Library/Ruby/Gems/2.6.0/gems/fastlane-2.205.1/spaceship/lib/spaceship/connect_api/token.rb:62:in `binread': [!] no implicit conversion of nil into String (TypeError)
from /Library/Ruby/Gems/2.6.0/gems/fastlane-2.205.1/spaceship/lib/spaceship/connect_api/token.rb:62:in `create'
from /Library/Ruby/Gems/2.6.0/gems/fastlane-2.205.1/spaceship/lib/spaceship/connect_api/token.rb:32:in `from'
from /Library/Ruby/Gems/2.6.0/gems/fastlane-2.205.1/pilot/lib/pilot/manager.rb:23:in `login'
from /Library/Ruby/Gems/2.6.0/gems/fastlane-2.205.1/pilot/lib/pilot/manager.rb:19:in `start'
from /Library/Ruby/Gems/2.6.0/gems/fastlane-2.205.1/pilot/lib/pilot/build_manager.rb:17:in `upload'
from /Library/Ruby/Gems/2.6.0/gems/fastlane-2.205.1/fastlane/lib/fastlane/actions/upload_to_testflight.rb:34:in `run'
from /Library/Ruby/Gems/2.6.0/gems/fastlane-2.205.1/fastlane/lib/fastlane/runner.rb:263:in `block (2 levels) in execute_action'
from /Library/Ruby/Gems/2.6.0/gems/fastlane-2.205.1/fastlane/lib/fastlane/actions/actions_helper.rb:69:in `execute_action'
from /Library/Ruby/Gems/2.6.0/gems/fastlane-2.205.1/fastlane/lib/fastlane/runner.rb:255:in `block in execute_action'
from /Library/Ruby/Gems/2.6.0/gems/fastlane-2.205.1/fastlane/lib/fastlane/runner.rb:229:in `chdir'
from /Library/Ruby/Gems/2.6.0/gems/fastlane-2.205.1/fastlane/lib/fastlane/runner.rb:229:in `execute_action'
from /Library/Ruby/Gems/2.6.0/gems/fastlane-2.205.1/fastlane/lib/fastlane/runner.rb:157:in `trigger_action_by_name'
from /Library/Ruby/Gems/2.6.0/gems/fastlane-2.205.1/fastlane/lib/fastlane/fast_file.rb:159:in `method_missing'
from Fastfile:36:in `block (2 levels) in parsing_binding'
from /Library/Ruby/Gems/2.6.0/gems/fastlane-2.205.1/fastlane/lib/fastlane/lane.rb:33:in `call'
from /Library/Ruby/Gems/2.6.0/gems/fastlane-2.205.1/fastlane/lib/fastlane/runner.rb:49:in `block in execute'
from /Library/Ruby/Gems/2.6.0/gems/fastlane-2.205.1/fastlane/lib/fastlane/runner.rb:45:in `chdir'
from /Library/Ruby/Gems/2.6.0/gems/fastlane-2.205.1/fastlane/lib/fastlane/runner.rb:45:in `execute'
from /Library/Ruby/Gems/2.6.0/gems/fastlane-2.205.1/fastlane/lib/fastlane/lane_manager.rb:47:in `cruise_lane'
from /Library/Ruby/Gems/2.6.0/gems/fastlane-2.205.1/fastlane/lib/fastlane/command_line_handler.rb:36:in `handle'
from /Library/Ruby/Gems/2.6.0/gems/fastlane-2.205.1/fastlane/lib/fastlane/commands_generator.rb:110:in `block (2 levels) in run'
from /Library/Ruby/Gems/2.6.0/gems/commander-4.6.0/lib/commander/command.rb:187:in `call'
from /Library/Ruby/Gems/2.6.0/gems/commander-4.6.0/lib/commander/command.rb:157:in `run'
from /Library/Ruby/Gems/2.6.0/gems/commander-4.6.0/lib/commander/runner.rb:444:in `run_active_command'
from /Library/Ruby/Gems/2.6.0/gems/fastlane-2.205.1/fastlane_core/lib/fastlane_core/ui/fastlane_runner.rb:124:in `run!'
from /Library/Ruby/Gems/2.6.0/gems/commander-4.6.0/lib/commander/delegates.rb:18:in `run!'
from /Library/Ruby/Gems/2.6.0/gems/fastlane-2.205.1/fastlane/lib/fastlane/commands_generator.rb:354:in `run'
from /Library/Ruby/Gems/2.6.0/gems/fastlane-2.205.1/fastlane/lib/fastlane/commands_generator.rb:43:in `start'
from /Library/Ruby/Gems/2.6.0/gems/fastlane-2.205.1/fastlane/lib/fastlane/cli_tools_distributor.rb:122:in `take_off'
from /Library/Ruby/Gems/2.6.0/gems/fastlane-2.205.1/bin/fastlane:23:in `<top (required)>'
from /usr/local/bin/fastlane:23:in `load'
from /usr/local/bin/fastlane:23:in `<main>'
Fastlane environment
Stack
Key | Value |
---|---|
OS | 12.2 |
Ruby | 2.6.8 |
Bundler? | false |
Git | git version 2.32.0 (Apple Git-132) |
Installation Source | /usr/local/bin/fastlane |
Host | macOS 12.2 (21D49) |
Ruby Lib Dir | /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib |
OpenSSL Version | LibreSSL 2.8.3 |
Is contained | false |
Is homebrew | false |
Is installed via Fabric.app | false |
Xcode Path | /Applications/Xcode.app/Contents/Developer/ |
Xcode Version | 13.2 |
Swift Version | 5.5.2 |
System Locale
Error |
---|
No Locale with UTF8 found 🚫 |
fastlane gems
Gem | Version | Update-Status |
---|---|---|
fastlane | 2.205.1 | 🚫 Update available |
Loaded fastlane plugins:
Plugin | Version | Update-Status |
---|---|---|
fastlane-plugin-flutter_version | 1.1.14 | 🚫 Update available |
Loaded gems
Gem | Version |
---|---|
did_you_mean | 1.3.0 |
atomos | 0.1.3 |
claide | 1.0.3 |
colored2 | 3.1.2 |
nanaimo | 0.3.0 |
rexml | 3.2.5 |
xcodeproj | 1.21.0 |
rouge | 2.0.7 |
xcpretty | 0.3.0 |
terminal-notifier | 2.0.0 |
unicode-display_width | 1.8.0 |
terminal-table | 1.8.0 |
plist | 3.6.0 |
public_suffix | 4.0.6 |
addressable | 2.8.0 |
multipart-post | 2.0.0 |
word_wrap | 1.0.0 |
optparse | 0.1.1 |
tty-screen | 0.8.1 |
tty-cursor | 0.7.1 |
tty-spinner | 0.9.3 |
artifactory | 3.0.15 |
babosa | 1.0.4 |
colored | 1.2 |
highline | 2.0.3 |
commander | 4.6.0 |
unf | 0.1.4 |
domain_name | 0.5.20190701 |
http-cookie | 1.0.4 |
faraday-cookie_jar | 0.0.7 |
gh_inspector | 1.1.3 |
mini_magick | 4.11.0 |
naturally | 2.2.1 |
rubyzip | 2.3.2 |
security | 0.1.3 |
xcpretty-travis-formatter | 1.0.1 |
dotenv | 2.7.6 |
bundler | 2.2.30 |
simctl | 1.6.8 |
CFPropertyList | 3.0.5 |
excon | 0.92.2 |
ruby2_keywords | 0.0.5 |
faraday-retry | 1.0.3 |
faraday-rack | 1.0.0 |
faraday-patron | 1.0.0 |
faraday-net_http_persistent | 1.2.0 |
faraday-net_http | 1.0.1 |
faraday-multipart | 1.0.3 |
faraday-httpclient | 1.0.1 |
faraday-excon | 1.1.0 |
faraday-em_synchrony | 1.0.0 |
faraday-em_http | 1.0.0 |
faraday | 1.10.0 |
unf_ext | 0.0.8.1 |
faraday_middleware | 1.2.0 |
fastimage | 2.2.6 |
json | 2.6.1 |
jwt | 2.3.0 |
webrick | 1.7.0 |
httpclient | 2.8.3 |
multi_json | 1.15.0 |
signet | 0.16.1 |
os | 1.1.4 |
memoist | 0.16.2 |
googleauth | 1.1.2 |
mini_mime | 1.1.2 |
retriable | 3.1.2 |
trailblazer-option | 0.1.2 |
declarative | 0.0.20 |
uber | 0.1.0 |
representable | 3.1.1 |
google-apis-core | 0.4.2 |
google-apis-playcustomapp_v1 | 0.7.0 |
google-apis-androidpublisher_v3 | 0.18.0 |
rake | 13.0.6 |
digest-crc | 0.6.4 |
google-apis-storage_v1 | 0.13.0 |
google-apis-iamcredentials_v1 | 0.10.0 |
google-cloud-errors | 1.2.0 |
google-cloud-env | 1.6.0 |
google-cloud-core | 1.6.0 |
google-cloud-storage | 1.36.1 |
emoji_regex | 3.2.3 |
aws-eventstream | 1.2.0 |
aws-sigv4 | 1.4.0 |
aws-partitions | 1.574.0 |
jmespath | 1.6.1 |
aws-sdk-core | 3.130.0 |
aws-sdk-kms | 1.55.0 |
aws-sdk-s3 | 1.113.0 |
forwardable | 1.2.0 |
logger | 1.3.0 |
date | 2.0.0 |
stringio | 0.0.2 |
ipaddr | 1.2.2 |
openssl | 2.1.2 |
zlib | 1.0.0 |
mutex_m | 0.1.0 |
ostruct | 0.1.0 |
strscan | 1.0.0 |
io-console | 0.4.7 |
fileutils | 1.1.0 |
etc | 1.0.1 |
libxml-ruby | 3.2.1 |
psych | 3.1.0 |
fastlane-plugin-flutter_version | 1.1.14 |
generated on: 2022-08-10
from fastlane.
There hasn't been any activity on this issue recently. Due to the high number of incoming GitHub notifications, we have to clean some of the old issues, as many of them have already been resolved with the latest updates.
Please make sure to update to the latest fastlane
version and check if that solves the issue. Let us know if that works for you by adding a comment 👍
Friendly reminder: contributions are always welcome! Check out CONTRIBUTING.md for more information on how to help with fastlane
and feel free to tackle this issue yourself 💪
This issue will be auto-closed if there is no reply within 1 month.
from fastlane.
Not sure about why this error occurs... but if I had to guess it's that I'm trying to do something that does not make sense.
from fastlane.
There hasn't been any activity on this issue recently. Due to the high number of incoming GitHub notifications, we have to clean some of the old issues, as many of them have already been resolved with the latest updates.
Please make sure to update to the latest fastlane
version and check if that solves the issue. Let us know if that works for you by adding a comment 👍
Friendly reminder: contributions are always welcome! Check out CONTRIBUTING.md for more information on how to help with fastlane
and feel free to tackle this issue yourself 💪
This issue will be auto-closed if there is no reply within 1 month.
from fastlane.
I keep hitting this for my macOS builds:
platform :mac do
desc "Push a new release build to the App Store"
lane :release do
build_app(workspace: "VidCap.xcworkspace", scheme: "VidCap", catalyst_platform: "ios")
deliver(
submit_for_review: false,
automatic_release: false,
skip_metadata: false,
skip_screenshots: true,
skip_binary_upload: false,
platform: "osx",
)
end
end
from fastlane.
I found a workaround by using build_mac_app
instead of the normal build_app
.
I digged a bit into the code and it seems like the code for creating the package never gets executed with the build_app
- you can see that in the terminal that it basically stops right after archiving. So I think the real error does not come from upload_to_app_store
/deliver
, but instead from the build_app
- upload_to_app_store
/deliver
only throw an error since the package never gets generated and therefore the path cannot be found.
I tracked it back to the line 43 in the Runner class of the Gym module - I think the Gym.building_for_mac?
does not work correctly - maybe that's somehow buggy due to catalyst support - not sure, I stopped digging into it when finding the solution.
from fastlane.
Adding to this, when trying to use upload_to_testflight, I received the no implicit conversion of nil into String
error with the following stack trace:
/usr/local/Cellar/fastlane/2.217.0/libexec/gems/fastlane-2.217.0/spaceship/lib/spaceship/connect_api/token.rb:62:in `binread': no implicit conversion of nil into String (TypeError)
key ||= File.binread(filepath)
^^^^^^^^
from /usr/local/Cellar/fastlane/2.217.0/libexec/gems/fastlane-2.217.0/spaceship/lib/spaceship/connect_api/token.rb:62:in `create'
from /usr/local/Cellar/fastlane/2.217.0/libexec/gems/fastlane-2.217.0/spaceship/lib/spaceship/connect_api/token.rb:32:in `from'
from /usr/local/Cellar/fastlane/2.217.0/libexec/gems/fastlane-2.217.0/pilot/lib/pilot/manager.rb:23:in `login'
from /usr/local/Cellar/fastlane/2.217.0/libexec/gems/fastlane-2.217.0/pilot/lib/pilot/manager.rb:19:in `start'
from /usr/local/Cellar/fastlane/2.217.0/libexec/gems/fastlane-2.217.0/pilot/lib/pilot/build_manager.rb:17:in `upload'
from /usr/local/Cellar/fastlane/2.217.0/libexec/gems/fastlane-2.217.0/fastlane/lib/fastlane/actions/upload_to_testflight.rb:34:in `run'
from /usr/local/Cellar/fastlane/2.217.0/libexec/gems/fastlane-2.217.0/fastlane/lib/fastlane/runner.rb:263:in `block (2 levels) in execute_action'
from /usr/local/Cellar/fastlane/2.217.0/libexec/gems/fastlane-2.217.0/fastlane/lib/fastlane/actions/actions_helper.rb:69:in `execute_action'
from /usr/local/Cellar/fastlane/2.217.0/libexec/gems/fastlane-2.217.0/fastlane/lib/fastlane/runner.rb:255:in `block in execute_action'
from /usr/local/Cellar/fastlane/2.217.0/libexec/gems/fastlane-2.217.0/fastlane/lib/fastlane/runner.rb:229:in `chdir'
from /usr/local/Cellar/fastlane/2.217.0/libexec/gems/fastlane-2.217.0/fastlane/lib/fastlane/runner.rb:229:in `execute_action'
from /usr/local/Cellar/fastlane/2.217.0/libexec/gems/fastlane-2.217.0/fastlane/lib/fastlane/runner.rb:157:in `trigger_action_by_name'
from /usr/local/Cellar/fastlane/2.217.0/libexec/gems/fastlane-2.217.0/fastlane/lib/fastlane/fast_file.rb:159:in `method_missing'
from Fastfile:77:in `block (2 levels) in parsing_binding'
from /usr/local/Cellar/fastlane/2.217.0/libexec/gems/fastlane-2.217.0/fastlane/lib/fastlane/lane.rb:41:in `call'
from /usr/local/Cellar/fastlane/2.217.0/libexec/gems/fastlane-2.217.0/fastlane/lib/fastlane/runner.rb:49:in `block in execute'
from /usr/local/Cellar/fastlane/2.217.0/libexec/gems/fastlane-2.217.0/fastlane/lib/fastlane/runner.rb:45:in `chdir'
from /usr/local/Cellar/fastlane/2.217.0/libexec/gems/fastlane-2.217.0/fastlane/lib/fastlane/runner.rb:45:in `execute'
from /usr/local/Cellar/fastlane/2.217.0/libexec/gems/fastlane-2.217.0/fastlane/lib/fastlane/lane_manager.rb:47:in `cruise_lane'
from /usr/local/Cellar/fastlane/2.217.0/libexec/gems/fastlane-2.217.0/fastlane/lib/fastlane/command_line_handler.rb:36:in `handle'
from /usr/local/Cellar/fastlane/2.217.0/libexec/gems/fastlane-2.217.0/fastlane/lib/fastlane/commands_generator.rb:110:in `block (2 levels) in run'
from /usr/local/Cellar/fastlane/2.217.0/libexec/gems/commander-4.6.0/lib/commander/command.rb:187:in `call'
from /usr/local/Cellar/fastlane/2.217.0/libexec/gems/commander-4.6.0/lib/commander/command.rb:157:in `run'
from /usr/local/Cellar/fastlane/2.217.0/libexec/gems/commander-4.6.0/lib/commander/runner.rb:444:in `run_active_command'
from /usr/local/Cellar/fastlane/2.217.0/libexec/gems/fastlane-2.217.0/fastlane_core/lib/fastlane_core/ui/fastlane_runner.rb:124:in `run!'
from /usr/local/Cellar/fastlane/2.217.0/libexec/gems/commander-4.6.0/lib/commander/delegates.rb:18:in `run!'
from /usr/local/Cellar/fastlane/2.217.0/libexec/gems/fastlane-2.217.0/fastlane/lib/fastlane/commands_generator.rb:354:in `run'
from /usr/local/Cellar/fastlane/2.217.0/libexec/gems/fastlane-2.217.0/fastlane/lib/fastlane/commands_generator.rb:43:in `start'
from /usr/local/Cellar/fastlane/2.217.0/libexec/gems/fastlane-2.217.0/fastlane/lib/fastlane/cli_tools_distributor.rb:123:in `take_off'
from /usr/local/Cellar/fastlane/2.217.0/libexec/gems/fastlane-2.217.0/bin/fastlane:23:in `<top (required)>'
from /usr/local/Cellar/fastlane/2.217.0/libexec/bin/fastlane:25:in `load'
from /usr/local/Cellar/fastlane/2.217.0/libexec/bin/fastlane:25:in `<main>'
Upon further investigation involving editing the offending .rb file to log some things, I found that if using a Fastfile with the api_key parameter in upload_to_testflight, the key_filepath never makes it to the related ruby script, although the key_id and issuer_id do appear to be set correctly.
api_key: {
key_id: "XXXXXXXXXX",
issuer_id: "XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXXX",
key_filepath: "AuthKey_XXXXXXXXXX.p8" #this line doesn't seem to be passed through the program properly
},
As a workaround, I switched to using the json file method of providing credentials and this seems to have worked.
Also, although the paths in the stack trace above are 2.217.0 I also updated to the latest 2.219.0 and the problem persisted.
from fastlane.
Related Issues (20)
- Having issues with provisioning profiles HOT 1
- ARCHIVE FAILED The following build commands failed: ...(in target 'React-rncore' from project 'Pods') HOT 10
- Unable to deploy iOS app to apple app store using fastlane HOT 1
- failed to authenticate with fastlane API key with Azure pipeline HOT 2
- Exit status: 65 HOT 1
- Apple changed AppStatus 'Ready for Sales' to 'Ready for Distribution' HOT 2
- `match init` assumes a default branch of `master` when using git storage, which is no longer the Github default HOT 1
- upload_to_app_store does not upload release_notes.txt. No error thrown. All other metadata files are uploaded HOT 1
- Unable to upload to app store " Could not find action, lane or variable 'id'" HOT 1
- No ipa or pkg file given while uploading to app store HOT 7
- [spaceship] incomplete support for tvOS platform HOT 2
- Fastlane could not find action or lane 'get_certificates' HOT 1
- The version number has been previously used.
- `fastlane build_app` is trying to access Development provisioning profiles when run for `appstore` only with Github Actions HOT 5
- Fastlane run_tests fails when attempting to get runtimes
- Generated error ENV HOT 2
- Fastlane `2.219.0` was published without changes. HOT 2
- "ar-SA - Invalid request" when uploading metadata to Play Store with a locale it does not support HOT 1
- gym export_options : {method} resolves into empty string HOT 2
- Documentation for iOS screenshots on Xcode is outdated.
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from fastlane.