Closed UpBra closed 1 year ago
Thanks for feedback, i'm following into it ASAP.
Both fastlane-plugin-app_info 0.8.1 and app-info 2.8.4 were out!
BTW, if you are seeking mobile app ad-hoc service, recommend my production zealot and it can host the aab application also.
@icyleaf We are still getting crashes with the new version. This is on a proprietary project so unfortunately we can't share the aab file or project setup - I can share the new stack trace. Hopefully the stack trace is helpful. We will try and reproduce this in a sample project again.
Does the app's AndroidManifest.xml
file not contain the intent label?
The final merged manifest contains several intent-filter tags which some of which have the label attribute.
I also noticed this, a package tag was added to the queries tag.
<queries>
<intent>
<action android:name="android.intent.action.VIEW" />
<category android:name="android.intent.category.BROWSABLE" />
<data android:scheme="https" />
</intent>
<package android:name="com.google.android.gms.policy_cast_dynamite" />
</queries>
Could you test this branch code, Add the gem in your Gemfile:
...
gem 'fastlane'
+gem 'app_info', git: 'https://github.com/icyleaf/app_info.git', branch: 'fix/aab-not-found-intent-tag'
...
Using that branch resolves the crash for us.
[09:46:46]: fastlane.tools finished successfully 🎉
❯ bundle info app-info
* app-info (2.8.4 b117445)
Summary: Teardown tool for mobile app(ipa/apk) and dSYM file, analysis metedata like version, name, icon
Homepage: http://github.com/icyleaf/app-info
Path: /Users/blayr/.rbenv/versions/2.7.5/lib/ruby/gems/2.7.0/bundler/gems/app_info-b1174456a96d
Reverse Dependencies:
fastlane-plugin-app_info (0.8.1) depends on app-info (>= 2.8.4, < 3)
Both fastlane-plugin-app_info 0.8.2 and app-info 2.8.5 were out!
Thank you again.
thank you, @icyleaf ! We'll let you know if we run into any other issues with this.
A crash may occur when inspecting an aab file.
Under certain circumstances resources defined in the project will have undefined values causing a crash when parsed.
A sample repository can be found here which reproduces the crash.
A patch file is provided which resolves the issue 0001-prevent-calling-to_sym-on-nil-value_from.value.patch
Stack Trace
``` Traceback (most recent call last): 75: from /Users/jmorales/.gem/bin/bundle:23:in `✅ fastlane environment ✅
### Stack | Key | Value | | --------------------------- | ------------------------------------------- | | OS | 13.2 | | Ruby | 2.7.5 | | Bundler? | true | | Git | git version 2.37.1 (Apple Git-137.1) | | Installation Source | ~/.rbenv/versions/2.7.5/bin/fastlane | | Host | macOS 13.2 (22D49) | | Ruby Lib Dir | ~/.rbenv/versions/2.7.5/lib | | OpenSSL Version | OpenSSL 1.1.1l 24 Aug 2021 | | Is contained | false | | Is homebrew | false | | Is installed via Fabric.app | false | | Xcode Path | /Applications/Xcode.app/Contents/Developer/ | | Xcode Version | 14.2 | | Swift Version | 5.7.2 | ### System Locale | Variable | Value | | | -------- | ----------- | - | | LANG | en_US.UTF-8 | ✅ | | LC_ALL | | | | LANGUAGE | | | ### fastlane files:`./fastlane/Fastfile`
```ruby # 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 # # For a list of all available plugins, check out # # https://docs.fastlane.tools/plugins/available-plugins # # Uncomment the line if you want fastlane to automatically update itself # update_fastlane default_platform(:android) platform :android do desc "Runs all the tests" lane :test do gradle(task: "test") end desc "Submit a new Beta Build to Crashlytics Beta" lane :beta do gradle(task: "clean assembleRelease") crashlytics # sh "your_script.sh" # You can also use other beta testing services here end desc "Deploy a new version to the Google Play" lane :deploy do gradle(task: "clean bundleDebug") app_info(file: lane_context[SharedValues::GRADLE_AAB_OUTPUT_PATH]) end end ````./fastlane/Appfile`
```ruby json_key_file("") # Path to the json secret file - Follow https://docs.fastlane.tools/actions/supply/#setup to get one package_name("com.example.myapplication") # e.g. com.krausefx.app ```Loaded gems
| Gem | Version | | ------------------------------- | ------------ | | did_you_mean | 1.4.0 | | bundler | 2.3.22 | | uri | 0.10.0 | | rake | 13.0.6 | | rexml | 3.2.5 | | CFPropertyList | 3.0.6 | | public_suffix | 5.0.1 | | addressable | 2.8.1 | | rubyzip | 2.3.2 | | android_parser | 2.5.0 | | google-protobuf | 3.21.12 | | icns | 0.2.0 | | image_size | 3.0.2 | | ruby-macho | 3.0.0 | | uuidtools | 2.2.0 | | app-info | 2.8.3 | | artifactory | 3.0.15 | | atomos | 0.1.3 | | aws-eventstream | 1.2.0 | | aws-partitions | 1.721.0 | | aws-sigv4 | 1.5.2 | | jmespath | 1.6.2 | | aws-sdk-core | 3.170.0 | | aws-sdk-kms | 1.63.0 | | aws-sdk-s3 | 1.119.1 | | babosa | 1.0.4 | | claide | 1.1.0 | | colored | 1.2 | | colored2 | 3.1.2 | | highline | 2.0.3 | | commander | 4.6.0 | | declarative | 0.0.20 | | digest-crc | 0.6.4 | | unf_ext | 0.0.8.2 | | unf | 0.1.4 | | domain_name | 0.5.20190701 | | dotenv | 2.8.1 | | emoji_regex | 3.2.3 | | excon | 0.99.0 | | faraday-em_http | 1.0.0 | | faraday-em_synchrony | 1.0.0 | | faraday-excon | 1.1.0 | | faraday-httpclient | 1.0.1 | | multipart-post | 2.0.0 | | faraday-multipart | 1.0.4 | | 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.3 | | http-cookie | 1.0.5 | | faraday-cookie_jar | 0.0.7 | | faraday_middleware | 1.2.0 | | fastimage | 2.2.6 | | gh_inspector | 1.1.3 | | jwt | 2.7.0 | | memoist | 0.16.2 | | multi_json | 1.15.0 | | os | 1.1.4 | | signet | 0.17.0 | | googleauth | 1.3.0 | | httpclient | 2.8.3 | | mini_mime | 1.1.2 | | trailblazer-option | 0.1.2 | | uber | 0.1.0 | | representable | 3.2.0 | | retriable | 3.1.2 | | webrick | 1.8.1 | | google-apis-core | 0.11.0 | | google-apis-androidpublisher_v3 | 0.35.0 | | google-apis-playcustomapp_v1 | 0.13.0 | | google-apis-iamcredentials_v1 | 0.17.0 | | google-apis-storage_v1 | 0.19.0 | | google-cloud-env | 1.6.0 | | google-cloud-errors | 1.3.1 | | google-cloud-core | 1.6.0 | | google-cloud-storage | 1.44.0 | | json | 2.6.3 | | mini_magick | 4.12.0 | | naturally | 2.2.1 | | optparse | 0.1.1 | | plist | 3.7.0 | | security | 0.1.3 | | simctl | 1.6.10 | | terminal-notifier | 2.0.0 | | unicode-display_width | 1.8.0 | | terminal-table | 1.8.0 | | tty-screen | 0.8.1 | | tty-cursor | 0.7.1 | | tty-spinner | 0.9.3 | | word_wrap | 1.0.0 | | nanaimo | 0.3.0 | | xcodeproj | 1.22.0 | | rouge | 2.0.7 | | xcpretty | 0.3.0 | | xcpretty-travis-formatter | 1.0.1 | | fastlane-plugin-app_info | 0.7.0 |